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="" name="result" method="POST" >"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

Reply via email to