Get Text From Object

This is a pre-built Action located under the captured textbox element. The functionality of this Action in Avo Assure is to retrieve the text from the textbox. The fetched text is stored in a dynamic variable for further use during test execution.

Syntax

Input Value: N/A

Argument
Description

N/A

Not Applicable

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

Argument
Description

<Dynamic Variable> (Required)

This dynamic variable stores the retrieved text from the object.

<Dynamic Variable>

(Optional)

This dynamic variable stores the status as True or False.

Example: Get Text from a Specified Object

In this example, we explain how to extract and store the visible text content from a specified object using the Get Text From Object action.

  • Action: Get Text From Object

  • Input Value: N/A

  • This action does not require any input value in the Input Value column. It retrieves the visible text content from the targeted object.

  • Output Value: {Text}

    • The retrieved text (e.g., Colby [email protected]) is stored in this {Text} dynamic variable.

    • If a second output variable is provided, the action returns the status as True/False:

      • True: If the text is retrieved successfully.

      • False: If text is not retrieved successfully.

  • Logical Explanation: The Get Text From Object action identifies the specified object within the application and extracts the visible text displayed on it. The extracted text is stored in the {Text} variable (e.g., Colby [email protected]).

Last updated

Was this helpful?