 | MobileUiElementTouch Method (String) |
Performs a touch event for the given element.
Namespace:
Ranorex
Assembly:
Ranorex.Plugin.Mobile (in Ranorex.Plugin.Mobile.dll) Version: 12.7.4-git.38314c06
Syntaxpublic virtual void Touch(
string elementLocation
)
Public Overridable Sub Touch (
elementLocation As String
)
Parameters
- elementLocation
- Type: SystemString
Location where the touch event should be triggered. Use a location string with the pattern 'x;y' e.g. '100;300' for pixel coordinates or '0.5;0.5' for relative coordinates like the center in this example. Alternatively, you can specify predefined locations that are 'Center', 'UpperLeft', 'UpperCenter', 'UpperRight', 'CenterLeft', 'Center', 'CenterRight', 'LowerLeft', 'LowerCenter', and 'LowerRight'.
Exceptions
See Also