How do I verify the presence of an image?

Hi there,

verifyImagePresent keyword will scan the current web page to see if there is any image matched with the test object. Therefore, the test object needs to have a source image so that Katalon Studio can use it for comparison. You need to select the image from your local machine in test object’s details.

http://pasteboard.co/ycYpJGe4D.jpg

Katalon Studio has another built-in keyword called “Verify Element Present”. It will NOT compare the image ,but will see whether if that test object is presented on current web page or not using its Xpath.

These keywords have different comparison methods

2 Likes