HoverAgent"

From Documentation
Line 5: Line 5:
  
  
= Move Over & Move Out =
+
= Mouse Over & Mouse Out =
 +
 
  
 
<tt> HoverAgent</tt> mimics a mouse pointer move over or move out a component. You have to query the target component agent first, then call <tt> moveOver() </tt> or <tt> moveOut() </tt>
 
<tt> HoverAgent</tt> mimics a mouse pointer move over or move out a component. You have to query the target component agent first, then call <tt> moveOver() </tt> or <tt> moveOut() </tt>
Line 19: Line 20:
  
 
</source>
 
</source>
 
  
 
=Supported Components=
 
=Supported Components=

Revision as of 02:50, 16 May 2012




Mouse Over & Mouse Out

HoverAgent mimics a mouse pointer move over or move out a component. You have to query the target component agent first, then call moveOver() or moveOut()


Zats-mimic-moveOver.png Zats-mimic-moveOut.png

desktopAgent.query("button").as(HoverAgent.class).moveOver();

desktopAgent.query("button").as(HoverAgent.class).moveOut();

Supported Components

Components
Version
Note
Sub-class of HtmlBasedComponent 5, 6



Last Update : 2012/05/16

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