Hi Willi,

this is correct, with this setting WebTest runs simulating Firefox.
"Netscape" here is a bit surprising but it is what Firefox returns for
navigator.appName in js.

I'm thinking about adding an attribute to <webtest> to simplify browser
choice like <webtest name="..." browser="FF">.

Cheers,
Marc.
-- 
Blog: http://mguillem.wordpress.com


Willi Kuhnis wrote:
> Hi,
> 
> because I have a lot of problems with javascripts, when testing our
> web applications,
> I tried now to use Firefox for testing.
> 
> I entered now in my <config> the following:
> <header name="User-Agent" value="Mozilla/5.0 (Windows; U; Windows NT
> 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12"/>
> 
> When running my webtest, I see this:
> 
>    [config]  INFO (com.canoo.webtest.engine.Configuration) - Using
> browser version (Netscape, 5.0 (Windows; en-US), Mozilla/5.0 (Windows;
> U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12,
> 1.2, 6.0). If the javascript support is not as expected, then it's
> time t o go into the sources
> 
> Question:
> Which of the browsers webtest uses now ?
> How can I force it to use Firefox ?
> 
> Thanks for help.
> 


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

Reply via email to