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
control
Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControlThe UITestControl to be clicked.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.