[Mobile] Verify Image Present
Important:
- Katalon Studio Enterprise license.
Description​
Verify the given image that presents on the device screen or not.
Keyword name: Mobile.verifyImagePresent
Parameters​
Parameters | Parameter Type | Required | Description |
---|---|---|---|
imageFilePath | String | Yes | Absolute path of the image |
Returns​
true if the image presents. Otherwise, false.
Example​
You want to check whether the image specified below (image.png
) is currently visible on the mobile screen:
boolean isPresent = Mobile.verifyImagePresent("/Users/myaccount/Desktop/image.png")