CheckAgent"
From Documentation
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 | ||
+ | | 5, 6 | ||
+ | | | ||
+ | |- | ||
+ | | Checkbox | ||
+ | | 5, 6 | ||
+ | | | ||
+ | |- | ||
+ | | Radio | ||
+ | | 5, 6 | ||
+ | | | ||
+ | |- | ||
+ | | Menuitem | ||
+ | | 5, 6 | ||
+ | | | ||
+ | |} | ||
{{ZATSEssentialsPageFooter}} | {{ZATSEssentialsPageFooter}} |
Revision as of 10:09, 15 May 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 | 5, 6 | |
Checkbox | 5, 6 | |
Radio | 5, 6 | |
Menuitem | 5, 6 |