Click or drag to resize
Ranorex

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
Syntax
public virtual void Touch(
	string elementLocation
)

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
ExceptionCondition
ActionFailedExceptionThrown if invoking the action failed.
See Also