I am trying to assert the presence of a button with value "OK". Since
assertButtonPresent only accepts a buttonId as an argument I tried to use
assertButtonPresentWithText but this fails.

The HTML for the button looks like this:

<input type="button" class="button_orange_7px_margin"
onclick="javascript:submitForm(this.form, 'submitSearchInfo', null,
false)" value="OK" tabindex="5"/>


and the assertion code I am using looks like this:

assertButtonPresentWithText("OK");

I would very much appreciate a hint on what I am doing wrong or if there
are any other issues.

Best regards
/Johan

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
JWebUnit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users

Reply via email to