This project is designed for executing Selenium tests in the LambdaTest cloud platform. Follow the instructions below to set up and run the tests.
- Prerequisites
- Clone the Project
- Running the Tests
- Configuration for Local Execution
- Environment Variables
- Ensure that Maven is installed and added to your system's PATH.
To clone this project, use the following command:
git clone https://github.com/harsha509/LT-Selenium-BiDi
To run the tests, execute the following commands in your terminal:< 5D09 /p>
# This command installs the project and its dependencies
mvn install
# This command runs the tests for the project
mvn test
The tests are configured to run on LambdaTest by default. If you wish to run the tests locally, please adjust the configuration settings in your test files accordingly.
Environment Variables to run tests on LambdaTest, you need to set your LambdaTest credentials as environment variables. Sign up for a LambdaTest account for a trial and obtain your username and access key.
Set the following environment variables in your terminal:
Open your terminal and run the following commands:
export LT_USERNAME=<your_username>
export LT_KEY=<your_access_key>
Open Command Prompt and run the following commands:
set LT_USERNAME=<your_username>
set LT_KEY=<your_access_key>
Replace <your_username>
and <your_access_key>
with your actual LambdaTest credentials.