Textbox

Keyword: SETTEXTIRIS

Description: This keyword or action instructs Avo Assure Client to enter the text in the 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, the 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 Avo Assure Client to accept an encrypted text and pass the decrypted value in the IRIS object.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

setSecureTextIris

<Encrypted Text>

(optional)

  • Text

  • Static Values

  • Dynamic Variables

Note: To provide encrypted text as input to the setSecureTextIris keyword, the user should encrypt the 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 Avo Assure Client 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, the 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 (based on 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 has to be cleared, then the input should be specified as shown in the following snippet:

In the above example, after the test case debugging, 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 has 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