Verify 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 verify whether the text present in the specified textbox matches the expected text provided in the input value. The result is stored in the given dynamic variable for further use during test execution.

Syntax

Input Value: <input text>

Argument
Description

<input text>

(Required)

Provide the text to verify with the textbox content.

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

Argument
Description

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

Both dynamic variable stores the status as True or False.

Example: Verifying the Value of a Textbox

In this example, we explain how to verify whether the text present in a textbox matches a specified input value using the Verify text action.

  • Action: Verify text

  • Input Value: Home Page

    • The input value (Home Page) specifies the text to be compared with the existing content of the textbox during execution.

  • Output Value: {Status}

    • The result of the verifying text operation is stored in the {Status} dynamic variable, which returns one of the following values:

      • True: If the current text matches the specified input value.

      • False: If the current text not matches the specified input value.

  • Logical Explanation: The Verify text action takes the value from the Input Value column (Home Page) and compares it with the text currently present in the targeted textbox. The result of this comparison is stored in the {Status} variable as true.

Last updated