MoveAgent

From Documentation
Revision as of 07:27, 14 May 2012 by Hawk (talk | contribs) (Created page with "{{ZATSEssentialsPageHeader}} You can move ''window'' and ''panel'' by specifying its '''left''' and '''top'''. As there is no screen rendered when running a test case, no actual...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


You can move window and panel by specifying its left and top. As there is no screen rendered when running a test case, no actual window is moved. It just changes target component's left and top attribute.

Zats-mimic-move.png


desktopAgent.query("window").as(MoveAgent.class).moveTo(20,40);

desktopAgent.query("panel").as(MoveAgent.class).moveTo(100,150);



Last Update : 2012/05/14

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.