Hi Lashin Sergey,
I've already tried that, no success.
 
Thanks,
Rodrigo Pereira
 
On 8/31/05, Lashin Sergey <[EMAIL PROTECTED]> wrote:
getDialog().getForm().submit();
or
getDialog().getForm().submitNoButton();

> 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