VerifyCurrentURL

This is a pre-built Action located under the @Browser Element, instructs the Avo Assure to check if the current page URL matches the given Input Value and save the result in dynamic variable.

Syntax

Input Value: <url>

Argument
Description

<url> (Required)

Specify the web address (URL) to verify the current URL of the application.

Output Value:

Argument
Description

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

This dynamic variable holds the status as True or False

Example

Validates that the current URL of the web browser matches the expected value. The VerifyCurrentURL action takes the value from the Input Value column (e.g., https://avotestlab.avoassure.ai/) and compares it with the current browser URL. The result of the verification is stored in the {VerifyURL} variable, with the following possible values:

  • True – If the current URL matches the expected value.

  • False – If the URL does not match or an error occurs.

Last updated

Was this helpful?