Before running the tests on LambdaTest Selenium Grid, you need to set the environment variables - LT_USERNAME and LT_ACCESS_KEY. Here is how you can do the same:
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
Run the following command on the terminal to trigger tests on local Grid and LambdaTest Selenium Grid
mvn test
Tests on local Grid and LambdaTest Selenium Grid will be executed in parallel. Here is the execution snapshot on LambdaTest Selenium Grid:
Here is the screenshot of tests run on LambdaTest Grid:
Discuss your queries by writing to me at himanshu[dot]sheth[at]gmail or you can ping me on the following social media sites:
Twitter: @hjsblogger
LinkedIn: @hjsblogger
Facebook: @hjsblogger