Action
Invokes a double-click using the DOM API.
Availability
This functionality is supported only if you are using the Open Agent.
Syntax
object.DomDoubleClick([button, pos, modifiers])
Variable
|
Description
|
button
|
Optional: The mouse button to press. Values include:1=left, 2=right,3=center.
INTEGER.
|
pos
|
Optional: The coordinates (relative to the window) at which to click.
POINT.
|
modifiers
|
Optional: The modifier to double-click.
MODIFIERKEYSTATE.
|
Notes
As an alternative to the
DomDoubleClick method, you can invoke the
DoubleClick function which uses low-level replay for DomElements and subclasses.
Example
Desktop.Find("//BrowserApplication").Find("//BrowserWindow").Find("//IMG[@src='http://demo.borland.com/InsuranceWebExtJS/images/tilesV.png']").DomDoubleClick(1,
{102, 71})