Gesture.Tap Method (Point)

Perform a tap gesture.

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

Syntax

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

Parameters

  • screenCoordinates
    Type: Point

    The coordinates on the screen where the tap gesture is to be performed.

Remarks

Playback of a tap gesture depends on screen resolution. If the resolution changes, the parameters may have to be changed.

.NET Framework Security

See Also

Reference

Gesture Class

Tap Overload

Microsoft.VisualStudio.TestTools.UITesting Namespace