• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem when submit a form with HTTPUnit

 
Trung NguyenTuan
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I'm using HttpUnit (version 1.6 and 1.7) to automatically submit a form.
Here is the html code:

And my Java code:

After running the code, I get exactly the same page before submitting (The correct expected value is the "uiButtonMarkeraIntresse" button change its value to something else). Does anyone have the same problem? I guess it happens because the action string "Lagenhet.aspx?Diarienr=2090536" is the same with the url before submitting - the page submits to itself. Any help is really appreciated.

Thanks,
Trung
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic