views:

179

answers:

0

I have a single form with two submit buttons. Server side discovers proper intention by checking if submit button name is in the request parameters.

Unfortunately I failed to test it with HttpUnit - looks like HttpUnit does not include the button name in the request parameters. I simulate the click by:

dialog.clickButton(<button-id>)

How can I make HttpUnit to include the submit button name in the request?