Get Text IRIS

This is a pre-built action available under the Captured Element from the Desktop Application using the IRIS method. The functionality of this action in Avo Assure to get text from the IRIS object and save the result in the output variable. 

Syntax

Input Value: <options>

Argument
Description

<options>

(Optional)

Specially this field is usually left empty, but it supports optional instructions to modify how the text is retrieved.

Options supported - Trim, Formatting .

Output value:

Argument
Description

<Dynamic Variable>

(Required)

This dynamic variable holds the retrieved text from object

<Dynamic Variable>

(Optional)

This dynamic variable holds the status as True or False

Example 1

Fetches the text content of the specified IRIS object with additional options

The Get Text IRIS action takes the value from the Input Value column (e.g., Trim) and retrieves the text of the captured object while applying the selected option (e.g., trimming leading and trailing spaces). The result of the action is stored in the {GetTextIris} variable as (Login Button)

Example 2

Fetches the text content of the specified IRIS object without additional options

Fetches the text content of the specified IRIS object The Get Text IRIS action takes no input value and retrieves the visible text from the selected IRIS object on the screen. The result of the action is stored in the {Get Text} variable as (Login)

Last updated