Image

Keyword: CLICK

Description: This keyword or action instructs ICE to click on the image.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

click

NA

(Optional)

NA

Note: “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, 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 double click operation on the image.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

doubleClick

NA

(Optional)

NA

Find the snippet of the keyword below:

In the above example, after the test case debug, 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 ICE to perform click operation on a particular image.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

press

NA

(Optional)

NA

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, 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 ICE to compare and return the similarity percentage between a particular scraped image and the image whose path is specified in the input field.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

imageSimilarityPercentage

<Image file_path>

(Optional)

  • Text

  • Static Values

  • Dynamic Variables

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 ICE to upload a file present in a specific path in the local system, to an application.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

uploadFile

<file path>; <file name>; <wait (in seconds)

(Optional)

  • Text

  • Static Values

  • Dynamic Variables

Note:

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

  • If ‘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 ICE to compare the image on the web page against the image present at the path specified in the input.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

verifyWebImages

<Image path>

(Optional)

  • Text

  • Static Values

  • Dynamic Variables

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