This is a Cucumber-Java Project. Followed BDD approach
First you need to clone the 'master' branch of this project into your local machine. After that you can open configuration.properties file and set your desired browser for testing.
You have to install Firefox borwser and Chrome browser in your machine.
Goto Feature file and right mouse click on the scenario which you want to run.
Make sure that you successfully import all the maven dependencies. After that run the following command to start the execution,
mvn clean install -P<suite_name>
To run scenarios in parallel,
mvn clean install -PSmokeTest
To run scenarios in cross browser
mvn clean install -PSmokeTest_Parallel
You can change the Platform, Browser name and Browser version according to your local machine.
Set Up the selenium grid and change the Selenium grid URL in the configuration.properties file. Also Turn On the grid-mode. Then run your distributed test suite.
mvn clean install -PSmokeTest_Distributed
First you need to download allure from https://github.com/allure-framework/allure2/releases
Then add the bin folder location into your PATH variable.Once you run your test suite, 'allure-results' directory will create inside target directory. Copy the path of it. Then open the command prompt. Run following command,
allure serve <location to your allure-results directory>