Michael Habbert wrote:
Hi there,
[...]
A quick workaround could be to simulate Firefox instead of IE in the
WebTest as long as this problem is not fixed.
[...]
Who do I specify the Firefox as simulation-engine?
Is the header-tag the best way?
<header name="User-Agent" value="Mozilla/4.0"/>
If yes, what is the best value?
have a look for instance at
http://www.nabble.com/changing-browser-compatibility-tf2307860.html#a6424767
but now I think that simulating FF won't work either as your js
registers the onsubmit listeners on the window in this case and htmlunit
doesn't (yet) bubble events.
As long as this isn't implemented in htmlunit, the shortest way is
surely for you to build htmlunit from sources where you hack the
HtmlPage to avoid the distinction between IE and not IE browsers in the
runEventHandler method. This is not fully valid and can't therefore be
committed, but this should allow you to make it working for your app in
5 minutes.
Marc.
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest