CheckAgent"
From Documentation
Line 2: | Line 2: | ||
− | To check a ''checkbox'' , ''radiogroup'', or ''menuitem''. | + | To check a <b>''checkbox'' , ''radiogroup'', or ''menuitem''</b>. |
<source lang="java"> | <source lang="java"> |
Revision as of 09:18, 15 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);