Test automation frameWork using selenium WebDriver 4, java, testNG. Demonstration of a common framework to automate multiple sites:
- orangeHRM
- SwagLabs
- Chrome
- Firefox
Pre-requisites:
- Java 17.
- Chrome and firefox on the system.
- Intellij.
Steps:
- Clone this repo.
- Import as a project by selecting pom.xml.
- Run
mvn clean install -DskipTests
to install dependencies. - Run mvn
mvn -q clean test
to run tests.