This repository contains a Selenium-based automation framework built with Java, TestNG and Maven using the page object model design pattern. Designed to automate a product purchase flow on Flipkart (https://www.flipkart.com).
- Java: Primary programming language.
- Selenium WebDriver: For browser automation.
- Maven: Build automation and dependency management.
- TestNG: For running tests and organizing test suites.
- Page Object Model (POM): A design pattern for creating reusable, maintainable test code.
- Page Object Model (POM) structure
- Validates end to end purchase flow
- Flow level assertions
- Organised Maven structure
- Scalable and easy to extend
- TestNG for test execution
Java 8+ installed. Maven installed. Selenium WebDriver setup (e.g., ChromeDriver). TestNG dependencies will be downloaded automatically via Maven.
- Clone the Repository
- Install Dependencies
- mvn clean install
- WebDriver Setup, manager
- Run Tests
- mvn test
Testrun-commerce.mov
This project is licenced under the MIT Licence.