Share via


Mouse.Click Method (Point)

Clicks the default mouse button at the specified location.

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

Syntax

'Declaration
Public Shared Sub Click ( _
    screenCoordinate As Point _
)
public static void Click(
    Point screenCoordinate
)
public:
static void Click(
    Point screenCoordinate
)
static member Click : 
        screenCoordinate:Point -> unit
public static function Click(
    screenCoordinate : Point
)

Parameters

  • screenCoordinate
    Type: Point

    The Point on the screen to click.

.NET Framework Security

See Also

Reference

Mouse Class

Click Overload

Microsoft.VisualStudio.TestTools.UITesting Namespace

Point