MouseClick Method

UFT One 2022 and later: Following the discontinuance of the Silverlight development framework, UFT One no longer supports the Silverlight Add-in by default.

If you need to use and extend the Silverlight Add-in, contact OpenText Support.

Simulates Mouse Click operation.

Remarks

The location in mouse simulation methods is expressed in screen coordinates.

Syntax

Visual Basic (Declaration) 
Overridable Sub MouseClick( _
   ByVal x As Integer, _
   ByVal y As Integer, _
   ByVal Button As MOUSE_BUTTON _
) 
C# 
virtual void MouseClick( 
   int x,
   int y,
   MOUSE_BUTTON Button
)

Parameters

x
X coordinates in pixels.
y
Y coordinates in pixels.
Button
MOUSE_BUTTON

See Also