Skip to main content

HyperExecute Environment Variable Setup


To provide you with a secure cross-browser testing environment on-cloud, we recommend integrating LambdaTest Authentication Credentials in your test scripts. This would allow our cloud servers to establish a secure connection between your local system and HyperExecute. This document will help you understand how to set up HyperExecute environment variable for your respective operating system. This set up would also help authenticate your colleague's test cases when executed against an individual account.

Where to find LambdaTest Authentication Credentials?


LambdaTest Authentication Credentials consists of two fields:

  1. LambdaTest Username
  2. LambdaTest Access Key

You can find these authentication credentials by either visiting the HyperExecute Dashboard or your LambdaTest Profile.

Fetching Authentication Credential from the HyperExecute tab


Step 1: Visit the HyperExecute tab from the left navigation menu.

Step 2: Click on the key icon from the top-right corner of your screen and copy the Access Key and Username.

Image

Fetching Authentication Credential from your LambdaTest Profile


Step 1: Visit your LambdaTest Profile by clicking on the user icon on the top-right followed by clicking on Profile.

Image

Step 2: You will find your Username & Access Key.

Image

Configuring Environment Variables On Mac OSX/Linux Systems/Windows


Before the tests are run, please set the environment variables LT_USERNAME & LT_ACCESS_KEY from the terminal. The account details are available on your LambdaTest Profile page.

For macOS:

export LT_USERNAME=LT_USERNAME
export LT_ACCESS_KEY=LT_ACCESS_KEY

For Linux:

export LT_USERNAME=LT_USERNAME
export LT_ACCESS_KEY=LT_ACCESS_KEY

For Windows:

set LT_USERNAME=LT_USERNAME
set LT_ACCESS_KEY=LT_ACCESS_KEY