Version

MouseClick(Point,MOUSE_BUTTON) Method

Performs a mouse click operation on the screen relative point supplied with the supplied button.
Syntax
'Declaration
 
Protected Overloads Sub MouseClick( _
   ByVal pt As System.Windows.Point, _
   ByVal button As Mercury.QTP.WPF.CustomServer.MOUSE_BUTTON _
) 
protected void MouseClick( 
   System.Windows.Point pt,
   Mercury.QTP.WPF.CustomServer.MOUSE_BUTTON button
)
protected: void MouseClick( 
   System.Windows.Point pt,
   Mercury.QTP.WPF.CustomServer.MOUSE_BUTTON button
) 

Parameters

pt
a point relative to the screen
button
Mouse button to use for the click operation
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also