Java maven project for test automation, UI acceptance, API acceptance testing. Created with lessons learned from a large number of development projects to provide all commonly required components and concepts.
- Page Object pattern
- Common web page interaction methods
- Common api interaction methods
- Externalised test configuration
- Commonly used test utility classes
- Maven
- TestNG
- Selenium Webdriver
- Log4j
- REST Assured
In order to utilise this project you need to have the following installed locally:
- Maven 3
- Chrome and Chromedriver (UI tests use Chrome by default)
- Java 18.0
The project is broken into separate modules for API and UI testing. Each of these modules can be utilised independently of the others using maven profiles.
To run all modules, navigate to WikipediaTestProject directory and run:
mvn clean install
Reports for each module are written into their respective /allure-results directories after a successful run.