Verify File Images

This is pre-built Action located under the @Generic Element, instructs the Avo Assure to check whether both the images are same whose image path is provided in Input Value and save the result in the dynamic variable.

Syntax

Input Value: <image1path>;<image2path>

Argument
Description

<image1path>

(Required)

Provide the image path to be compared with the second image. Supported file types: .png, .jpeg, .jpg.,

<image2path> (Required)

Provide the path of the second image to compare with the first image. Supported file types: .png, .jpeg, .jpg.,

Output Value:

Argument
Description

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

This variable stores the status as true or false

Example

Verify if two images are visually identical The Verify File Image action takes the value from the Input Value column (e.g., C:\Images\Base.png;C:\Images\Output.png) and compares the two image files to check for visual similarity. The verification result is stored in the {Status} variable with the following possible values:

  • True if the images match successfully

  • False – if the images do not match

Last updated

Was this helpful?