Hi Roman,

you can do nearly everything with groovy code within WebTest. In the
case of autorefresh, it is a bit more complicated because you have to
configure a RefreshHandler on the WebClient.
See:
http://htmlunit.sourceforge.net/apidocs/com/gargoylesoftware/htmlunit/RefreshHandler.html

Cheers,
Marc.
-- 
Web: http://www.efficient-webtesting.com
Blog: http://mguillem.wordpress.com

Parkin Roman wrote:
> Hi
> 
> I have in config
> <config basepath="${server.basepath}"
>        autorefresh="true"
> </config>
> 
> I run several tests in suite. But for one specific test i need
> autorefresh="false"
> 
> Can I set this property to false in this test only e.g. via groovy (no
> change in config) or not?
> 
> e.g.
> <groovy>
>    step.context.webClient.useInsecureSSL = true
> </groovy>
> 
> Regards,
> Roman
> _______________________________________________
> WebTest mailing list
> [email protected]
> http://lists.canoo.com/mailman/listinfo/webtest
> 



_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to