Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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 ( _
control As UITestControl, _
relativeCoordinates As Point _
)
public static void Tap(
UITestControl control,
Point relativeCoordinates
)
public:
static void Tap(
UITestControl^ control,
Point relativeCoordinates
)
static member Tap :
control:UITestControl *
relativeCoordinates:Point -> unit
public static function Tap(
control : UITestControl,
relativeCoordinates : Point
)
Parameters
control
Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControlControl on which the tap gesture is to be performed.
relativeCoordinates
Type: Microsoft.VisualStudio.TestTools.UITest.Input.PointA point relative to the control coordinates, on which to perform the tap gesture.
Remarks
Playback of a tap gesture depends on screen resolution. If the resolution changes, the parameters may have to be changed.
.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.