Seem there is a thread on how to use user-extension.js to get back the return value.
http://clearspace.openqa.org/thread/13431 On Sun, Nov 22, 2009 at 1:03 PM, Rudy Bonefas <[email protected]> wrote: > Is there a way to a string value back from runScript? > > If not would the following work: > > Create a hidden element on the page. Have runScript write its > "return" value as the elements text. Call the getText on the element > after runScript returns (this assumes runScript is synchronous)? > > -- > > You received this message because you are subscribed to the Google Groups > "tellurium-users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<tellurium-users%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/tellurium-users?hl=. > > > -- You received this message because you are subscribed to the Google Groups "tellurium-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/tellurium-users?hl=.
