Textbox

Keyword: SETTEXTIRIS

Description: This keyword or action instructs ICE to enter the text in IRIS object.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

setTextIris

<Input Text>

(optional)

  • Text

  • Static Values

  • Dynamic Variables

Find the snippet of the keyword below:

In the above example after the test case debug, operation will set the provided text and the execution status “Fail”/ “Pass” will be stored in variable {SetText}.

Keyword: SETSECURETEXTIRIS

Description: This keyword or action instructs ICE to accept an encrypted text and pass the decrypted value in IRIS object.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

setSecureTextIris

<Encrypted Text>

(optional)

  • Text

  • Static Values

  • Dynamic Variables

Note: In order to provide encrypted text as input to setSecureTextIris keyword, user should encrypt thee required text using “AES Encryption” from the tool encryption utilities.

Find the snippet of the keyword below:

In the above example after the test case debug, the decrypted text will be entered in the specified textbox and execution status “Fail”/ “Pass” will be stored in variable {SecuredText}.

Keyword: CLEARTEXTIRIS

Description: This keyword or action instructs the ICEngine to clear the text from the IRIS object.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

clearTextIris

N/A or 0

1

2

3

4; <+/- number of chars>

(optional)

  • Text

  • Static Values

  • Dynamic Variables

Find the snippet of the keyword below:

In the above example after the test case debug, operation will clear the text present in the IRIS object and the execution status “Fail”/ “Pass” will be stored in the output variable.

Note: The implementation of this keyword (on basis of each input) is performed as follows:

<empty> or 0 - Clear text by clicking on the element, then perform the "Ctrl+A" action followed by a backspace action.

  1. Clear text by performing a double click operation on the element and then performing a backspace action.

  2. Clear text by clicking on the element, then move the cursor at the start of the element text (by ‘Home’ key action), followed by "Shift+End" and backspace actions.

  3. Clear text by clicking on the element, then move the cursor at the end of the element text (by ‘End’ key action), followed by "Shift+Home" and backspace actions.

  4. Clear selective text based on the second input (which is used to specify the starting/ending number of chars to be cleared).

  • If the starting x number of chars have to be cleared, then the input should be specified as shown in the following snippet:

In the above example after the test case debug, the starting 4 chars of the text present in the IRIS object will be cleared and the execution status “Fail”/ “Pass” will be stored in the output variable.

  • If the starting x number of chars have to be cleared, then the input should be specified as shown in the following snippet:

In the above example after the test case debug, the last 4 chars of the text present in the IRIS object will be cleared and the execution status “Fail”/ “Pass” will be stored in the output variable.

Last updated