Answered

Get value out of Execute_Javascript

Hello,

I have a need to use the Execute_JavaScript function to do some data manipulation on a string.  I have already written the JavaScript that I need but I don't see a way to get that manipulated value back out to use in a subsequent step in the test script.

How do I get a value out of the Execute_JavaScript to use?

0
2 comments
Avatar
Payam Fard

Hi Dominic,

You can use Get_Web_Value command and select the Source Type of JavaScript if you would like to create a variable out of the return of JavaScript. Please let us know if it works for you.

0
Comment actions Permalink
Avatar
Dominic Luminello

Thanks Payam, that worked great.

0
Comment actions Permalink

Please sign in to leave a comment.