Skip to main content

[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

ParametersParameter TypeRequiredDescription
imageFilePathStringYesAbsolute 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")
Was this page helpful?