- This repo contains example code of running parallel web automation tests using Selenium WebDriver, TestNG on pCloudy platform.
- This project uses Maven as build tool and TestNG framework to run the tests.
By default, tests would be running parallel on pCloudy Platform on Chrome and Firefox Browsers.
- os, os version, browser name and its respective version needs to be set through
paralle.config.json
file. Tests. id
field inparallel.config.json
should match with theparameter value
in testng.xml.
-
To run the test from command line use the following command:
mvn test -Dusername=<pCloudy username> -Dapikey<pCloudy browser cloud api access key>
-
To run the tests using TestNG in intelliJ:
-
Right click on
testng.xml
and selectRun '...\testng.xml
username and access key in the VM option as follows: -Dusername= -Dapikey= -
Click on Apply and OK to start running the tests.
-
๐งฌ Need Assistance?
- Discuss your queries by writing to me @
[email protected]
OR ping me on any of the social media sites using the below link: