Clear Text IRIS
Last updated
Was this helpful?
Last updated
Was this helpful?
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.
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.
Clear text by performing a double-click operation on the element and then performing a backspace action.
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.
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.
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)
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.
The Action needs to clear the username textbox.
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