This project focuses on automating the Tutorial Ninja e-commerce website using Selenium WebDriver with Cucumber BDD and Page Object Model (POM). It covers key functionalities such as Login, Registration, Search, Add to Cart, Checkout, and other account management features. The project also integrates Extent Reports for detailed execution reporting.
The Tutorial Ninja website is an e-commerce platform where users can register, log in, search for products, add items to the cart, and process payments.
Ensure website functionality, usability, performance, and compatibility.
Detect and report bugs efficiently.
Functional Testing
Usability Testing
Compatibility Testing
Performance Testing
Security Testing
Programming Language: Java
Framework: Cucumber BDD with Page Object Model (POM)
Testing Library: Selenium WebDriver
Build Tool: Maven
Reporting Tool: Extent Reports
IDE: Eclipse
Version Control: GitHub
TutorialNinjaAutomation/
├── 📁 PageObjectClassesPOM/ # Page Object Classes for each feature
├── 📁 stepDefinitions/ # Step Definitions (BDD steps)
├── 📁 features/ # Cucumber Feature Files
├── 📁 Reports/ # Extent Report Output
├── 📄 pom.xml # Maven Dependencies
├── 📄 README.md # Project Documentation
Test Plan - Objectives, scope, schedule, and methodology.
Mind Map - Visual structure of the project.
Test Cases - Detailed manual test scenarios.
Bug Report - Documented defects found during testing.
Summary Report - Overview of testing outcomes.
Automation Scripts - Selenium + Cucumber automation code. /stepDefinitions/
Extent Reports - Execution reports with screenshots. /Reports/ExtentReports.html
The following functionalities are automated:
📝 Registration – Create a new user account.
🔑 Login – Secure login with validation.
🛒 Add to Cart – Add products and verify cart operations.
🔍 Search – Search for products and validate results.
💱 Multi-Currency – Switch between USD, EUR, and GBP.
🏷️ Checkout – Verify payment process.
🔄 Account Management – Edit profile, password, and addresses.
📜 Order History – View and validate past orders.
Java Development Kit (JDK) 8+
Maven (Dependency Management)
Eclipse or IntelliJ IDEA (IDE)
ChromeDriver (WebDriver for Browsers)
Create a Maven Project in Eclipse.
Add Dependencies by updating pom.xml
Run the Tests using Eclipse
Right-click on Project > Run As > JUnit Test
OR use Maven Command
After execution, a detailed report is generated with screenshots 📁 Location: /Reports/ExtentReports.html
✅ Pass – Tests that passed successfully.
❌ Fail – Failed tests with error messages.
Bugs discovered during testing are documented in:
Bug ID: Unique identifier.
Severity: Critical, High, Medium, Low.
Status: Open, In Progress, Fixed.
Description: Steps to reproduce and expected vs. actual behavior.
This project demonstrates:
Robust automation using Selenium WebDriver.
Effective use of Cucumber BDD for readability.
Precise reporting with Extent Reports.
For any queries or suggestions, feel free to reach out at [palakmangalagrawal@gmail.com].