 | TouchTap Method (Element, Int32, Int32) |
Performs a touch action on the adapter with the specified location.
Namespace:
Ranorex
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxpublic static void Tap(
Element element,
int x,
int y
)
Public Shared Sub Tap (
element As Element,
x As Integer,
y As Integer
)
Parameters
- element
- Type: Ranorex.CoreElement
The element to perform the Touch action on. - x
- Type: SystemInt32
X-Coordinate to touch within the element rectangle in pixels. If the value is greater than the width of the
element the click will be performed outside the element.
- y
- Type: SystemInt32
Y-Coordinate to touch within the element rectangle in pixels. If the value is greater than the height of the
element the click will be performed outside the element.
See Also