CheckAgent"
From Documentation
(4 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
− | To check a ''checkbox'' , ''radiogroup'', or ''menuitem''. | + | __TOC__ |
+ | |||
+ | = Check = | ||
+ | |||
+ | To check a <b>''checkbox'' , ''radiogroup'', or ''menuitem''</b>. | ||
<source lang="java"> | <source lang="java"> | ||
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 |