An end-to-end test automation framework for SauceDemo, built using Selenium, Cucumber, and Java. This project demonstrates Behavior-Driven Development (BDD) practices with readable Gherkin scenarios and a scalable Page Object Model (POM) architecture.
- BDD with Cucumber: Write test cases in Gherkin syntax for better readability and collaboration.
- Selenium WebDriver Integration: Automate browser interactions effectively.
- Page Object Model (POM): Maintain clean separation between test scripts and page-specific code.
- Maven Build Tool: Manage project dependencies and build lifecycle efficiently.
- Modular Test Scenarios: Easily extend and maintain test cases.
- Language: Java
- Testing Framework: Cucumber
- Automation Tool: Selenium WebDriver
- Build Tool: Maven
- Design Pattern: Page Object Model (POM)
- Java Development Kit (JDK) 21 or higher
- Maven 3.6 or higher
- An IDE like IntelliJ IDEA or Eclipse
- Google Chrome browser
-
Clone the repository:
git clone https://github.com/pothurajtharun/SauceDemoCucumber.git
-
Navigate to the project directory::
cd SauceDemoCucumber -
Execute tests::
mvn test