 | TouchTap Method (Element, Double, Double, Duration) |
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,
double x,
double y,
Duration touchDuration
)
Public Shared Sub Tap (
element As Element,
x As Double,
y As Double,
touchDuration As Duration
)
Parameters
- element
- Type: Ranorex.CoreElement
The element to perform the Touch action on. - x
- Type: SystemDouble
X-Coordinate to click within the element rectangle as percentage (1.0 = 100%). If the value is greater than 1.0 the
touch will be performed outside the element.
- y
- Type: SystemDouble
Y-Coordinate to click within the element rectangle as percentage (1.0 = 100%). If the value is greater than 1.0 the
touch will be performed the element.
- touchDuration
- Type: RanorexDuration
The duration between the down and up phase of the touch.
See Also