Visit the Maven download page and download the version of Maven you want to install.
Add MAVEN_HOME System Variable
Add MAVEN_HOME Directory in PATH Variable
Verify Maven Installation
Download the version of Chromedriver matching your version of Google Chrome. Usually this is the latests version of chromedriver. Replace the current chromedriver in the project with the new version.
Run the project using the command line with:
How to run All UI autoamtion test
mvn clean test
How to run UI automation test for select menu Demo QA
mvn clean test -Dcucumber.filter.tags="@searchBookFeature"
How to run UI automation test for search Qa engineer book on Demo QA
mvn clean test -Dcucumber.filter.tags="@searchQaEngineerBook"
How to run UI automation test for search Git Pocket Guide book on Demo QA
mvn clean test -Dcucumber.filter.tags="@searchGitPocketGuideBook"
- Cucumber-jvm: 5.3.0
- Selenium: 3.13.0
- Junit: 4.12
- Java Commons: 2.6