Is there a way to fake out HTMLUnit into clicking on a submit button
that is erroneously outside of the form due to poor HTML structuring? It
seems every call to doClickAction() first looks for the form in the DOM,
then calls form.submit(this).
What is happening is the form is there, the button is in _namelist
object, all attributes set, and everything seemingly works as it should
(no Form exceptions), but the submit is never actually performed.
While the developers have admitted the submit button is not enclosed
within the form properly, I am wondering if I can get around this until
they fix it?
The call we use in JWebTest is:
HTTPTester.clickElementByXPath("//[EMAIL PROTECTED]"" + parameterName
+"\"]");
Thanks!
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
JWebUnit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users