This project runs automated tests on LambdaTest's Selenium Grid using TestNG and Maven.
- Java
- Maven
- TestNG
- Selenium
- LambdaTest
- Gitpod (for development and execution)
For running the test script, the username and access key from LambdaTest are required.
Visit the following link to get your credentials: https://www.lambdatest.com/capabilities-generator
Now, you have your LambdaTest username and access key. It's time to make changes to the file 'LambdaTest.java'.
String username = <YOUR LT_USERNAME> //Replace with your username
String accessKey = <YOUR LT_ACCESS_KEY> //Replace with your access keyRun the project at the suite level by running testng.xml. This will trigger the parallel runs of LambdaTest.java for Chrome (v128.0) on Windows 10 and Edge (v127.0) on MacOS Ventura.
OR run the following command in the console:
mvn test -DsuiteXmlFile=testng.xmlOnce the test run is completed, visit the following URL to see the results: https://automation.lambdatest.com
- Chrome + 128.0 + Windows 10: 1TCFM-C8YU8-GJZTB-3NQVC
- Microsoft Edge + 127.0 + macOS Ventura: BWYOL-TTCUU-XCVKU-SEKHZ
Click the button below to launch the project environment:
Once Gitpod is ready, run the 'parallel' profile mentioned in the pom.xml using the following command in the console:
mvn test -P parallel- Finally, the tests ran successfully on GitPod.
Now, go back to LambdaTest again and see the latest parallel test execution triggered by Gitpod.
If you like this repository, do
and
the repo for more amazing stuff coming soon.




