Get text

This is a pre-built Action located under the Captured Textbox Element from the Desktop Application. The functionality of this Action in Avo Assure is to fetch the text present in the specified textbox. The extracted value is stored in the given 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 extracted text from the textbox element.

<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 action.

  • Action: Get text

  • 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 action identifies the specified object within the application and extracts the visible text displayed on it. The extracted text (e.g., Colby [email protected]) is stored in the {Text} variable.

Last updated