https://github.com/shivshanker869/firstpost_naaptol
Automation testing framework for Naaptol e-commerce site using Selenium, BDD (Cucumber), and POM design pattern.
https://github.com/shivshanker869/firstpost_naaptol
bdd-framework bddtests kitchen naaptol page-object-model selenium-webdriver testng-framework
Last synced: about 2 months ago
JSON representation
Automation testing framework for Naaptol e-commerce site using Selenium, BDD (Cucumber), and POM design pattern.
- Host: GitHub
- URL: https://github.com/shivshanker869/firstpost_naaptol
- Owner: Shivshanker869
- Created: 2025-08-28T02:22:52.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2025-09-05T02:27:42.000Z (about 2 months ago)
- Last Synced: 2025-09-05T03:20:36.500Z (about 2 months ago)
- Topics: bdd-framework, bddtests, kitchen, naaptol, page-object-model, selenium-webdriver, testng-framework
- Language: HTML
- Homepage: https://www.naaptol.com/
- Size: 53.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🛒 Naaptol E-Commerce Automation Testing (Selenium + BDD + Cucumber)
This repository contains **automation test scripts** for the [Naaptol](https://www.naaptol.com/) e-commerce platform.
The framework is built using **Selenium WebDriver, BDD (Cucumber), and TestNG/JUnit**, following the **Page Object Model (POM)** design pattern.
---
## 📌 Features
- ✅ End-to-End automation of Naaptol user flows (search, add to cart, checkout, etc.)
- ✅ Implemented **BDD (Cucumber)** with **Gherkin syntax** for better readability
- ✅ Integrated **Selenium WebDriver** for browser automation
- ✅ Test execution with **TestNG/JUnit runners**
- ✅ **Page Object Model (POM)** for scalable and maintainable code
- ✅ **Reusable utility functions** for waits, assertions, and reporting
- ✅ Cross-browser testing support
- ✅ Test Reports (Extent / Cucumber HTML Reports)
---
## 🏗️ Project Structure
```
Naaptol-Automation/
├── src
│ ├── main
│ │ └── java
│ │ ├── pages/ # Page Object Model classes
│ │ └── utils/ # Utility classes (Waits, ConfigReader, etc.)
│ │
│ └── test
│ └── java
│ ├── features/ # Cucumber Feature files
│ ├── stepDefinitions/ # Step Definitions for BDD
│ ├── runners/ # Test Runners (TestNG/JUnit)
│ └── tests/ # Test Classes
│
├── reports/ # Cucumber / Extent Reports
├── pom.xml # Maven dependencies
```
---
## 🚀 Tools & Tech Stack
- **Programming Language**: Java
- **Automation Tool**: Selenium WebDriver
- **Framework**: BDD (Cucumber) with TestNG/JUnit
- **Design Pattern**: Page Object Model (POM)
- **Build Tool**: Maven
- **Reporting**: Extent Reports / Cucumber HTML Reports
- **Version Control**: GitHub
---
## 📊 Test Scenarios Covered
- 🔍 Product Search
- 🛒 Add to Cart
- 🏷️ Apply Coupon / Offers
- 💳 Checkout & Payment Flow
- 👤 Login / Registration
- ❌ Negative Scenarios (invalid login, invalid coupon, etc.)
---
## 📄 How to Run Tests
1. Clone the repo:
```bash
git clone https://github.com/Shivshanker869/firstpost_Naaptol.git