HoverAgent"
From Documentation
m (correct highlight (via JWB)) |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
− | = | + | = Mouse Over & Mouse Out = |
− | < | + | |
+ | <code> HoverAgent</code> mimics a mouse pointer move over or move out a component. You have to query the target component agent first, then call <code> moveOver() </code> or <code> moveOut() </code> | ||
Line 19: | Line 20: | ||
</source> | </source> | ||
+ | |||
Line 33: | Line 35: | ||
|} | |} | ||
+ | |||
+ | |||
+ | {{ZATSEssentialsPageHeader}} | ||
{{ZATSEssentialsPageFooter}} | {{ZATSEssentialsPageFooter}} |
Latest revision as of 02:55, 18 January 2022
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()
desktopAgent.query("button").as(HoverAgent.class).moveOver();
desktopAgent.query("button").as(HoverAgent.class).moveOut();
Supported Components
Sub-class of HtmlBasedComponent | 5, 6 |