Button

Keyword: CLICK

Description: This keyword or action instructs ICE to perform click on the specified button.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

click

NA

(Optional)

NA

Note: “Press” keyword can also 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 button and the execution status “True”/ “False” will be stored in variable {Click}.

Keyword: PRESS

Description: This keyword or action instructs ICE to perform click on the specified button.

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 button and the execution status “True”/ “False” will be stored in variable {Press}.

Keyword: DOUBLECLICK

Description: This keyword or action instructs ICE to perform double click on the specified button.

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, Double Click operation will be performed on the button and the execution status “True”/ “False” will be stored in variable {doubleClick}.

Keyword: UPLOADFILE

Description: This keyword or action instructs ICE to upload the specified files.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

uploadFile

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

(Optional)

  • Text

  • Static Values

  • Dynamic Variables

Note:

  • The upload file 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 specified file and the execution status “True”/ “False” will be stored in variable {upload}.

Keyword: GETBUTTONNAME

Description: This keyword or action instructs ICE to fetch the button name.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

getButtonName

NA

{Variable}; {Status}

NA

Find the snippet of the keyword below:

In the above example, after the test case debug, the operation will fetch the button name and store it in variable {btn_name} and the execution status “True”/ “False” will be stored in variable {BtnStatus}.

Keyword: VERIFYBUTTONNAME

Description: This keyword or action instructs ICE to check the name present on the button.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

verifyButtonName

<Input Text>

(Optional)

  • Text

  • Static Values

  • Dynamic Variables

Find the snippet of the keyword below:

In the above example, after the test case debug, the operation will verify the button name and the execution status “True”/ “False” will be stored in variable {VerifyButtonName}.

Last updated