you don't need to build, you just need to put target/classes in the classpath you use for WebTest.

Marc.

Michael Habbert wrote:
Hi Marc,

Marc Guillemot wrote:
[...]
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.
[...]
You were right about the time to change the source to de-activate the browser-check.
But:

The build - meaning the junit-tests fail.

So Im still trapped;-/


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

Reply via email to