i am writing a test for a web application witch hase in more html sites more than one form!.
1-i can not click on buttons that are not in form tag.
2- can not click buttons that are not in the first form in website (website has more than one form!)
has anybody workarround? is this a bug or will be in next versions?
thank you for help
Matani.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i am writing a test for a web application witch hase in more html sites more than one form!.
1-i can not click on buttons that are not in form tag.
2- can not click buttons that are not in the first form in website (website has more than one form!)
has anybody workarround? is this a bug or will be in next versions?
thank you for help
Matani.
Hi Matani,
Can you post a small code snippet of what you are trying to do? What do you mean by "can not click on buttons that are not in form tag"?
Vasile
i fix the bug , it was not in httpUnit , it was in jwebunit , i am using jwebunit witch using httpunit.
thank you
Matani
<html>
<body>
<button id="mybtn" onclick="window.open('http://www.google.de','_self')" >click me</button>
</body>
</html>