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);
Last Update : 2012/05/15
Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License. |