Image

Keyword: CLICK

Description: This keyword or action instructs Avo Assure Client to click on the image.

Note: The “Press” keyword can be used as an alternative to click.

Find the snippet of the keyword below:

In the above example, after the test case debug, the Click operation will be performed on the image, and the execution status “True”/ “False” will be stored in variable {img_Click}.

Keyword: DOUBLECLICK

Description: This keyword or action instructs ICE to perform a double-click operation on the image.

Find the snippet of the keyword below:

In the above example, after the test case debug, the DoubleClick operation will be performed on the image, and the execution status “True”/ “False” will be stored in variable {img_doubleclick}.

Keyword: PRESS

Description: This keyword or action instructs Avo Assure Client to perform a click operation on a particular image.

Note: This keyword is useful where mouse down press operation is involved.

Find the snippet of the keyword below:

In the above example, after the test case debug, the Press operation will be performed on the image, and the execution status “True”/ “False” will be stored in variable {img_press}.

Keyword: IMAGESIMILARITYPERCENTAGE

Description: This keyword or action instructs Avo Assure Client to compare and return the similarity percentage between a particular scraped image and the image whose path is specified in the input field.

Note: Supported image formats are “.png”, “.jpeg”, “.jpg”, “.gif”.

Find the snippet of the keyword below:

In the above example, after the test case debug, the image “andyLogo.png” will be compared with the scraped image. In the {result} variable, the similarity percentage of the images compared will be returned.

Keyword: UPLOADFILE

Description: This keyword or action instructs Avo Assure Client to upload a file present in a specific path in the local system to an application.

Note:

  • The keyword “uploadFile” works correctly only if the AUT is in the foreground.

  • If the ‘wait (in seconds)’ input is specified, then the action will be performed after the duration of the specified wait time.

Find the snippet of the keyword below:

In the above example, after the test case debug, it uploads the file present in the specified path, and the execution status “True”/ “False” will be stored in variable {Img_upload}.

Keyword: VERIFYWEBIMAGES

Description: This keyword or action instructs Avo Assure Client to compare the image on the web page against the image present at the path specified in the input.

Note: Supported image formats are “.png”, “.jpeg”, “.jpg”, “.gif”.

Find the snippet of the keyword below:

In the above example, after the test case debug, it compares the image on the web page against the image present at the path, and the execution status “True”/ “False” will be stored in variable {Img_verifywebImg}.

Last updated