CheckAgent"
From Documentation
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ZATSEssentialsPageHeader}} | {{ZATSEssentialsPageHeader}} | ||
+ | |||
+ | __TOC__ | ||
+ | |||
+ | = Check = | ||
To check a <b>''checkbox'' , ''radiogroup'', or ''menuitem''</b>. | To check a <b>''checkbox'' , ''radiogroup'', or ''menuitem''</b>. | ||
Line 13: | Line 17: | ||
</source> | </source> | ||
+ | |||
+ | =Supported Components= | ||
+ | |||
+ | {| border="1" | width="100%" | ||
+ | ! <center>Components</center> | ||
+ | ! <center>Version</center> | ||
+ | ! <center>Note</center> | ||
+ | |- | ||
+ | | Toolbarbutton, Checkbox, Radio, Menuitem | ||
+ | | 5, 6 | ||
+ | | | ||
+ | |} | ||
+ | {{ZATSEssentialsPageHeader}} | ||
{{ZATSEssentialsPageFooter}} | {{ZATSEssentialsPageFooter}} |
Latest revision as of 08:15, 21 June 2012
Check
To check a checkbox , radiogroup, or menuitem.
//check
desktopAgent.query("#chechbox" + i).as(CheckAgent.class).check(true);
//uncheck
desktopAgent.query("#chechbox" + i).as(CheckAgent.class).check(false);
Supported Components
Toolbarbutton, Checkbox, Radio, Menuitem | 5, 6 |