MoveAgent"
From Documentation
Line 37: | Line 37: | ||
+ | {{ZATSEssentialsPageHeader}} | ||
{{ZATSEssentialsPageFooter}} | {{ZATSEssentialsPageFooter}} |
Latest revision as of 08:17, 21 June 2012
Move Position
You can move window and panel by specifying its left and top. As there is no screen rendered when running a test case, no visual window is moved. It just changes target component's left and top attribute.
desktopAgent.query("window").as(MoveAgent.class).moveTo(20,40);
desktopAgent.query("panel").as(MoveAgent.class).moveTo(100,150);
Supported Components
Panel, Window | 5, 6 |