verifyText

This is a pre-built Action located under the captured textbox element. The functionality of this Action in Avo Assure is to verify whether the text present in the textbox matches the input value specified in the Input Value column. The verification result is stored in a dynamic variable for further use during test execution.

Syntax

Input Value: <input value>

Argument
Description

<input value> (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 verifyText action.

  • Action: verifyText

  • 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 verifyText 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

Was this helpful?