I am setting the user agent as follows:
<config
host="localhost"
port="80"
protocol="http"
basepath="" >
<header name="User-Agent" value="4.0 (compatible; MSIE 6.0;
Windows 98)"/>
</config>
But this does not work.When I check navigator.appName I get "Microsoft
Internet Explorer"
Looking at the log output from the console it shows me this:
[config] INFO (com.canoo.webtest.engine.Configuration) - Using browser
versi
on (Microsoft Internet Explorer, 4.0 (compatible; MSIE 6.0b; Windows
98), 4.0 (c
ompatible; MSIE 6.0; Windows 98), 1.2, 6.0). If the javascript support
is not as
expected, then it's time to go into the sources
[config] INFO (com.canoo.webtest.engine.Configuration) - Configuring
1 HTTP
header field(s)
[config] INFO (com.canoo.webtest.engine.Configuration) - Skipped
User-Agent
header as it has already been configured in the BrowserVersion
So the header is getting set by some other function, not mine. I have
done numerous searching for text in files to find this and I have not
found anything. Where is the header getting set?
--
Corey Fournier
Golfballs.com
Programmer
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest