Hi Craig,

Verifying radio buttons is currently done with verifyXPath.
You can have a look at the selftests for more examples:

http://webtest.canoo.com/webtest/reports/selftest/File69.html

As an example:

   <verifyXPath description="precondition: not checked"
           xpath="not(//form/[EMAIL PROTECTED]'myRadioButton']/@checked)"
           text="true" />
   <setRadioButton xpath="//form/[EMAIL PROTECTED]'myRadioButton']"/>
   <verifyXPath description="postcondition: one checked value"
           xpath="count(//form/[EMAIL PROTECTED]'myRadioButton']/@checked)"
           text="1" />

There is a feature request to make a dedicated verify step
at some point:

http://webtest-community.canoo.com/jira/browse/WT-188

Cheers, Paul.

Craig Copeland wrote:
I guess I'm just missing it, but I don't see <VerifyRadioButton ...>.

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

Reply via email to