Hi,

I'm surprised: I've just checked it and htmlunit handles multiple submit
buttons correctly (ie only the clicked one appear in the request).

Can you show a minimal page where the problem occurs?

Marc.


davidM wrote:
> hi all, I have a problem with a <clickButton> step with webtest 2.0. 
> 
> I have this fragment of HTML code:
> 
> <form>
>   <input type="submit" name="b1">
>   <input type="submit" name="b2">
>   <input type="submit" name="b3">
> </form>
> 
> and in my test I have :
> 
> ...
> getting to my page (this is OK, I can see in report result page)
> ...
> <clickButton name="b1">
> ...
> 
> When I run test, I can see that webtest send request with following
> parameters:
> 
> Current response now:
> http://localhost:9080/myapp/example?b1=...&b2=...&b3=...
> 
> Why webtest send all my submit buttons as parameters(b1, b2, b3)? 
> 
> Thank you so much for help, I'm confused with it.
> 
> 
> 


_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to