verifyWebImages

This is a pre-built action in Avo Assure and comes for the Captured Image Element, instructs the Avo Assure to compare an image captured from the web page (AUT) with another image specified in the input path and save the result in dynamic variable.

Syntax

Input Value: <image path>

Argument
Description

<image path>

(Required)

The path of an image which user wants to compare with captured image

Output Value

Argument
Description

<Dynamic Variable>(Optional);<Dynamic Variable> (Optional)

This variable holds the image comparison result as True or False

Example

Performs comparison between captured and reference image to verify similarity

The VerifyWebImages action takes the input image path (e.g., C:\Users\John.smith\test\sample.png) and compares it with the currently captured image from the web page. It determines whether the two images are similar. The result is stored in the {Result} variable, with the following possible values:

  • True – if the comparison is successful and the images are similar

  • False – if the comparison fails or images are not similar

Last updated

Was this helpful?