This project is a basic framework setup to write E2E tests with Cucumber and Selenium using the Page Object Design Pattern in Java language.
Eclipse
Cucumber
Selenium
Extent Report
Page Objects
An IDE (Intellij or Eclips)
JDK 8 or above
Maven
Environment Variables for JAVA_HOME, MAVEN_HOME and PATH Variables
POM.xml update project
Clone this repo to your local system
Buil the project using Maven or update the project in IDE
Navigate to the root directory of project
run npm test
Extent HTML Report (under the test output directory) will be generated at the end of test execution with failed screenshot (if any) attached with the scenario.
Below are the samle reports screenshots