Hi, I am new to HttpUnit. I have a problem with my form. It has a submit button that is an image:
<input type="image" ....>
It doesn't see it as button or SubmitButton in WebForm. It also doesn't see it as a WebImage. Anyone know how to make form submission work with Images for submit buttons?
Thanks in advance.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, I am new to HttpUnit. I have a problem with my form. It has a submit button that is an image:
<input type="image" ....>
It doesn't see it as button or SubmitButton in WebForm. It also doesn't see it as a WebImage. Anyone know how to make form submission work with Images for submit buttons?
Thanks in advance.
I have forms in my application that were also coded as images instead of the more traditional html buttons.
In my case these submit buttons were only one to a screen, so the submit() method in jWebUnit still worked.
Thank you so much. I will try it in jWebUnit then.
Unfortunately, it still doesn't work in my case. I have several image buttons on the page, but only one with the name "LOGIN".
When I use submit("LOGIN"), I got the java.lang.NullPointerException.
:(