- UI Testing (Selenium WebDriver)
- Cucumber
- TestNG
- Maven
- IntellijIdea
- Yandex Allure
- Log4j2
- Java 8
- Maven 3.6.1
- Chrome version 102
- Install GIT bash or similar tool
- git clone
https://github.com/CTAJlb/ti8m.git
- Install java & maven in your OS
- Import project to IntellijIdea as maven builder
main packages:
|-ti8m : Automation Test Framework
|---res : Driver's for test execution
|---src
|---test
|---java
|---Injection_module : ScenarioContext with modules and test data
|---pages : Page Objects / Html elements blocks
|---steps : Steps initialization with feature files
|---resources : Test feature files / Properties
|---pom.xml : Builder with required dependencies
All scenarios:
mvn clean test
Separate scenario:
You can trigger any scenario by input tags in cucumber options
mvn clean test -D"cucumber.filter.tags=@004"
Allure json* files will be appeared in target/allure-results during test execution
E.x:
1) Execute scenarios:
mvn clean test
2) After test execution is finished perfrom cmd command for generate report
mvn allure:report
3) Navigate to target/site/index.html and open it