Hi All,
I was performing some tests on jWebUnit.
I got a problem when I have a onSubmit entry in the form tag. It looks like
jWebUnit just ignore all the javascript code and it skips the form
submition. It works ok on Internet Explorer.
Does anyone could help me pls?
Form tag:
<FORM action="/MyServlet" name="result" method="POST" onsubmit=
"return SubmitForm()">
jWebUnit method:
public void testSubmitWOWithChange() {
//setWorkingForm("result");
setFormElement("remarks", "test from the test tool");
setFormElement("reshours", "3.5");
//clickButton("btnSave");
submit("btnSave"); //at this point it does not submit the form
//clickLinkWithText("Logout");
}
Thanks,
Rodrigo Pereira
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Jwebunit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users