[Webtest] calling javascript functions

Marc Guillemot webtest@lists.canoo.com
Fri, 7 Apr 2006 07:34:51 -0700 (PDT)


Hi John,

there is a fundamental misunderstanding with the <scriptStep>: it allows to
script webtest and ant, not to run script in the current page.

You can use <scriptStep> as well as <groovy> to script webtest and through
webtest you can access the current page and start the execution of a
javascript script in it. You have to look a the API of webtest and htmlunit
for it. There is currently no special documentation for it as the right way
would be to write a special step first not the doc for the hack.

Marc.
--
View this message in context: http://www.nabble.com/calling-javascript-functions-t1402316.html#a3804736
Sent from the WebTest forum at Nabble.com.