This is repository of selenium automationi testing framework. The website is used https://www.saucedemo.com/ . This framework is developed using Selenium library and Cucumber BDD approach for web Automatioin testing.
- Selenium
- Cucumber
- Java
- Junit
- Page Object Model
- IntelliJ
- GitHub
- Maven
- Extent Report
- Scalable and extensible
- Reusable Selenium Methods
- Cucumber BDD framework
- Easy readable feature files
- All scripted spec files
- Single click Run execution from Runner class
- POM pattern for each page
- Extend reporting function with screenshot attached
- Automate positive and negative scenarios
- Support parallel execution
- Maven command line execution
- Integration with Git
- Integration with Jenkins
- First way Open the terminal and code the project location and run mvn command - mvn test
- Second way right-click on the "TestRunner" inside runner package
- Third way right-click on the OrderProduct feature file inside features package
- Positive Flow:
- Verify login with valid login username and password
- Verify filter functionality results with high to low
- Verify user able to select first item in product view
- Verify the field validation for displayed product
- Verify add to cart page
- Verify the cart page with add product
- Verify the checkout page with user details
- Verify the final check out page with valid detils
- Verify the thank-you for order page
- Negative Flow:
- Verify the invalid login with wrong username and password
- Verify the error message for invalid login
- Verify the error message for blank username and blank password fields
- Verify the error message for blank fields in checkout page firstname, lastname, and post code
- Extent reports stored in the Reports folder on every run
- Screenshots are stored in the Screenshots folder