Share via


Mouse.Click Method (UITestControl)

Clicks the default mouse button on the specified control.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Syntax

'Declaration
Public Shared Sub Click ( _
    control As UITestControl _
)
public static void Click(
    UITestControl control
)
public:
static void Click(
    UITestControl^ control
)
static member Click : 
        control:UITestControl -> unit
public static function Click(
    control : UITestControl
)

Parameters

.NET Framework Security

See Also

Reference

Mouse Class

Click Overload

Microsoft.VisualStudio.TestTools.UITesting Namespace

UITestControl