CheckAgent"
From Documentation
(Created page with "{{ZATSEssentialsPageHeader}} To check a ''checkbox'' , ''radiogroup'', or ''menuitem''. ```java //check desktopAgent.query("#chechbox" + i).as(CheckAgent.class).check(true); ...") |
|||
(5 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
− | + | __TOC__ | |
− | + | = Check = | |
+ | |||
+ | To check a <b>''checkbox'' , ''radiogroup'', or ''menuitem''</b>. | ||
+ | |||
+ | <source lang="java"> | ||
//check | //check | ||
Line 11: | Line 15: | ||
desktopAgent.query("#chechbox" + i).as(CheckAgent.class).check(false); | desktopAgent.query("#chechbox" + i).as(CheckAgent.class).check(false); | ||
− | + | </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 |