VerifyTextExist

This is a pre-built Action located under the @Browser Element, instructs the Avo Assure to check if the input text exists on the AUT/site and save the result in the dynamic variable.

Syntax

Input Value: <text>

Argument
Description

<text> (Required)

Provide the input text to verify how many times it appears on the current page of the AUT.

Output Value:

Argument
Description

<Dynamic Variable>

(Required)

Specify the dynamic variable that stores the number of times the given text appears on the page.

<Dynamic Variable>

(Optional)

The dynamic variable holds the status as True or False.

Example

Verify if the specified text is present on the current web page.

The Verify Text Exist action takes the value from the Input Value column (e.g., Avo Bank) and searches for the given text on the page. The result of the verification is stored in the {TextFound} variable (e.g., 2-number of occurrences of the text), with the following possible values:

  • True – if the specified text found

  • False – if the an error occurs.

Last updated

Was this helpful?