[Mobile] Tap on Image
Note:
This keyword, available in version 7.2.0+, is for Katalon Studio Enterprise users only.
The
tapOnImage
keyword is not supported in headless browser mode.
tapOnImage
- Description: Find the mobile element that is recognized by the given image and taps on the found element's location.
- Keyword syntax:
tapOnImage(imageFilePath,flowControl)
Parameters:
- Name: imageFilePath
- Description: Absolute path of the image
- Parameter Type: String
Mandatory: Required
Name: flowControl
- Description: Control the execution flow if the step fails
- Parameter Type: FailureHandling
- Mandatory: Optional
Return: true if the image presents. Otherwise, false.
Example:
Mobile.tapOnImage("/Users/myaccount/Desktop/image.png")