 | TouchTap Method (Element, Int32, Location, Duration) |
Performs a touch action on the adapter.
Namespace:
Ranorex
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxpublic static void Tap(
Element element,
int pointer,
Location location,
Duration touchDuration
)
Public Shared Sub Tap (
element As Element,
pointer As Integer,
location As Location,
touchDuration As Duration
)
Parameters
- element
- Type: Ranorex.CoreElement
The element to perform the Touch action on. - pointer
- Type: SystemInt32
The pointer identifier to use, with zero being the default pointer. - location
- Type: RanorexLocation
The location to touch at. - touchDuration
- Type: RanorexDuration
The duration between the down and up phase of the touch.
See Also