MoveAgent"

From Documentation
(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...")
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{ZATSEssentialsPageHeader}}
 
{{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 window is moved. It just changes target component's left and top attribute.
+
 
 +
__TOC__
 +
 
 +
 
 +
= 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.
  
 
[[File:Zats-mimic-move.png]]
 
[[File:Zats-mimic-move.png]]
Line 16: Line 23:
  
  
 +
=Supported Components=
 +
 +
{| border="1" | width="100%"
 +
! <center>Components</center>
 +
! <center>Version</center>
 +
! <center>Note</center>
 +
|-
 +
| Panel, Window
 +
| 5, 6
 +
|
 +
|}
 +
 +
 +
 +
{{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.

Zats-mimic-move.png


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

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


Supported Components

Components
Version
Note
Panel, Window 5, 6





Last Update : 2012/06/21

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