Clear Text IRIS

This is a pre-built action which comes for the element captured from the Desktop AUT using IRIS method. It instructs the Avo Assure Client to wipe the value from the IRIS textbox and save the status in the output variable as Fail/Pass.

Syntax 

Input: The following values can be given as input in the input value field for this action

<N/A> or 0

1

2

3

4; <+/- number of chars>

Note: The implementation of this Action (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).

Output: <Dynamic Variable>;<Dynamic Variable>(Optional) 

Usecase/Example

Scenario: The Clear Text IRIS action clears invalid text from the Username field in the registration form

The scenario involves testing a registration form on a website, which has Username Input Field. After entering invalid or incorrect text in the input fields, the goal is to clear the text from the field for re-entry or to reset the form. The Clear Text IRIS Action is executed on the Username field and clears the entered text from these fields.

Expected Result

The Action needs to clear the username textbox.

Output

The Clear Text IRIS Action clear the Text which is available on the username textbox and store the status in the {Result} Output Variable as True

Last updated

Was this helpful?