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); ...") |
|||
Line 4: | Line 4: | ||
To check a ''checkbox'' , ''radiogroup'', or ''menuitem''. | To check a ''checkbox'' , ''radiogroup'', or ''menuitem''. | ||
− | + | <source lang="java"> | |
//check | //check | ||
Line 11: | Line 11: | ||
desktopAgent.query("#chechbox" + i).as(CheckAgent.class).check(false); | desktopAgent.query("#chechbox" + i).as(CheckAgent.class).check(false); | ||
− | + | </source> | |
Revision as of 10:07, 11 May 2012
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);