- Java 18
- Maven 3
- Allure 2
Java version 18 is required. Command:
$ java --versionEnsure your JAVA_HOME environment to the location of the installed JDK.
- Download Maven
- Unzip the distribution archive to the directory you wish to install Maven.
- Add Maven to the PATH
- Verify Maven was correctly installed
$ mvn --version- Download Allure
- Unzip the distribution archive to the directory you wish to install Allure.
- Add Allure to the PATH
- Verify Allure was correctly installed
$ allure --version$ mvn package- Clone the repo
- Install dependencies
mvn compile
- To run Suite with Chrome, run
mvn clean test - To run Suite with Firefox, run
mvn clean test -Dbrowser="firefox" - To run Suite with Edge, run
mvn clean test -Dbrowser="edge"
$ allure serve- Selenium : Browser automation framework
- Maven : Build automation & dependency management
- TestNG : Testing framework, control flow of tests
- Allure : Report tool
- Webdrivers : Webdriver Manager
- Page Object Model
- Business Object Model
- Singleton Webdriver Factory
- Selenium By locators for elements
- Selenium Relative Locators