Re: form button.click() problem with javascript
"david jeanneteau" <[email protected]>
| Newsgroups | gmane.comp.web.httpunit.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, Javascript support is not complete. You can try with javascript disabled ? Regards, David On 6/4/07, Karl Blum <[email protected]> wrote: > > I have a form with a submit button (javascript submit action) and when > clicking on the button, it does not submit the form. > > > > WebForm form = resp.getFormWithName("vorm"); > > form.setParameter("a", 1); > > form.setParameter("b", 2); > > > > form.getButtons()[0].click(); //only one button in the form, so > this is correct > > resp = session.getCurrentPage(); // resp stays the same after > click. > > > > Could this be a problem operating with javascript with httpunit. I have > known errors in this site's javascript, although this does not interfere the > submit button action. > > > > > Karl > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Httpunit-develop mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/httpunit-develop > > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Httpunit-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/httpunit-develop