Menu

submit button is an image

Help
Anonymous
2004-07-19
2004-07-22
  • Anonymous

    Anonymous - 2004-07-19

    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.

     
    • snappersdad

      snappersdad - 2004-07-20

      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.

       
    • Anonymous

      Anonymous - 2004-07-21

      Thank you so much. I will try it in jWebUnit then.

       
    • Anonymous

      Anonymous - 2004-07-22

      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.

      :(

       

Log in to post a comment.

MongoDB Logo MongoDB