Marc,

Thanks for your reply. I managed to solve this in a similar way

        
step.context.webClient.getCookieManager().setCookiesEnabled(false);

Thanks again
Andrew
 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marc Guillemot
Sent: 19 November 2008 19:57
To: webtest@lists.canoo.com
Subject: Re: [Webtest] Running WebTest with cookies disabled

Hi,

there is no option for that but you can configure it on HtmlUnit:

<groovy>
step.context.webClient.cookieManager.cookiesEnabled = false </groovy>

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

[EMAIL PROTECTED] wrote:
> Is there anyway I can instruct WebTest to conduct tests when cookies 
> are disabled? I noticed that WebTest can disable JavaScript. So is 
> there a similar function for cookies?
> 
> Sorry if this question has been asked before.
> 
> *Andrew Hoard*
> 



_______________________________________________
WebTest mailing list
WebTest@lists.canoo.com
http://lists.canoo.com/mailman/listinfo/webtest
_______________________________________________
WebTest mailing list
WebTest@lists.canoo.com
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to