Hi,
I would like that WebDocument will have a methiod like "Eval" that will return the value of the java script exection. I saw that ExecuteScript doesn't return that value.
Is there any possible way to get that return value?
Thank you,
Miki
ExecuteScript doesn't return a value
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: ExecuteScript doesn't return a value
Hello,
Sorry, but the method ExecuteScript() is a void method, so there is no return value. As workaround you can save the return value on your site and check it with Ranorex after the execution of the script.
Regards,
Bernhard
Ranorex Support Team
Sorry, but the method ExecuteScript() is a void method, so there is no return value. As workaround you can save the return value on your site and check it with Ranorex after the execution of the script.
Regards,
Bernhard
Ranorex Support Team