Navigate to Page with Authentication

This is a pre-built Action located under the @Browser Element, instructs the Avo Assure to open the given URL and log in using the Username and Password provided in the Input Value and save the result in the dynamic variable.

Syntax

Input Value: <URL>;<UserName>;<EncryptedPassword>

Argument
Description

<URL> (Required)

Specify the web address of the application to be accessed.

<UserName> (Required)

Enter the username for logging into the application.

<EncryptedPassword> (Required)

Provide the encrypted password for secure login.

Output Value:

Argument
Description

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

The dynamic variable holds the status as True or False.

Example: Navigating to a Secured Web Page Using Authentication Credentials

In this example, we explain how to navigate to a secured web page that requires authentication using the Navigate to Page with Authentication action.

  • Action: Navigate to Page with Authentication

  • Input Value: https://example.com;admin;iPh64rgJnD4sSbVyDKqRWw==

    • The URL, https://example.com, specifies the secured web page to be accessed.

    • The username, admin, defines the login credential used for authentication.

    • The Encrypted Password, iPh64rgJnD4sSbVyDKqRWw==, provides the encoded password for secure access.

  • Output Value: {NavigateToPage}

    • The variable {NavigateToPage} stores the result of the navigation operation with the following possible values:

      • True: Indicates that the page is accessed successfully using valid credentials.

      • False: Indicates that authentication fails or an error occurs during navigation.

  • Logical Explanation: The Navigate to Page with Authentication action takes the value from the Input Value column https://example.com;admin;iPh64rgJnD4sSbVyDKqRWw==and attempts to access the specified URL using the provided username and encrypted password. If the authentication is successful, the result of the operation is stored in the {NavigateToPage} variable as true.

Authentication Website Example:

Last updated

Was this helpful?