Skip to content

The DemoBlaze e-commerce platform offers features like user authentication, product browsing, cart management, and order processing. Testing covered Manual, UI Automation, and API Testing to ensure functionality, usability, and reliability across devices and browsers.

Notifications You must be signed in to change notification settings

Palak345/DemoBlaze_Hackathon

Repository files navigation

🛒 DemoBlaze E-Commerce Testing Project

📌 Project Overview

The DemoBlaze E-Commerce Testing Project focuses on ensuring the functionality, reliability, and scalability of the DemoBlaze online store through a comprehensive test automation and manual testing framework. The project covers key aspects such as UI automation, API testing, manual verification, and behavior-driven development (BDD). It employs industry-standard testing tools and methodologies to validate core features like user authentication, product browsing, cart operations, and checkout process.


🛠 Tools and Technologies

🔹 Automation Testing (UI & Functional)

  • Selenium WebDriver – Automates web application interactions.
  • Java – Primary programming language for test script development.
  • Cucumber (BDD) – Defines test scenarios using Gherkin syntax.
  • Page Object Model (POM) – Design pattern for maintainable test automation.

🔹 API Testing

  • Postman – For API request validation and response verification.
  • REST Assured – Java-based framework for API automation.

🔹 Manual Testing

  • Functional Testing – Ensures that all features behave as expected.
  • Cross-Browser & Responsive Testing – Validates the application across different browsers and devices.
  • UI/UX Testing – Evaluates user experience and interface consistency.

🔹 Build, Execution & Reporting

  • Maven – Manages dependencies and builds the automation project.
  • JUnit – Executes and organizes test cases.
  • Extent Reports – Generates detailed test execution reports.

🔹 Version Control & Collaboration

  • GitHub – Manages source code, version control, and collaboration.

Features Tested

1. UI Automation Testing

  • Login & Authentication – Validates correct login/logout flows.
  • Product Catalog – Ensures accurate product listing and details.
  • Cart & Checkout – Tests adding items, modifying cart, and order placement.
  • Error Handling & Alerts – Verifies invalid inputs and security alerts.

2. API Testing

  • User Authentication API – Ensures login/logout API responses are correct.
  • Product Retrieval API – Validates product listing and filtering capabilities.
  • Order Processing API – Tests order placement and payment API integrity.

3. Manual Testing

  • UI Responsiveness & Compatibility – Tests the UI on various devices.
  • Functional Testing of Complex Workflows – Validates user scenarios manually.
  • Edge Cases & Exploratory Testing – Identifies bugs beyond automation coverage.

📂 Project Structure & Artifacts

  1. Feature Files (BDD)

    • Written in Gherkin syntax defining user scenarios.
    • Covers authentication, cart operations, checkout, and more.
  2. Page Object Model (POM) Implementation

    • Modular page classes ensure reusability and scalability.
    • Separates UI logic from test cases.
  3. API Test Scripts

    • Validates API responses using Postman and REST Assured.
  4. Test Execution Reports

    • Extent Reports provide a visual representation of test results.

🚀 How to Run Tests

Prerequisites

  1. Install Java JDK (8 or higher).
  2. Set up Eclipse IDE with necessary plugins.
  3. Install Maven and configure system dependencies.
  4. Install Postman for manual API testing.
  5. Clone the GitHub repository and import the project.

Execution Steps

  1. Import the Project

    • Open Eclipse → Navigate to File > Import > Maven > Existing Maven Projects → Select project directory → Click Finish.
  2. Resolve Dependencies

    • Right-click on the project → Select Maven > Update Project.
  3. Run UI Automation Tests

    • Navigate to src/test/java → Right-click on Test Runner → Select Run As > JUnit Test.
  4. Execute API Tests

    • Use Postman for manual API testing.
    • Run automated API scripts using REST Assured in Eclipse.
  5. View Test Results

    • Console Logs – Check test execution details.
    • Extent Reports – Navigate to target/reports/index.html.

🤝 Team Contributions

👩‍💻 Palak Mangal (Lead - Automation Testing)

  • Designed and implemented Selenium automation framework using POM.
  • Developed Cucumber BDD feature files.
  • Performed cross-browser testing.

🛠 Nashrah Khanam (API Testing)

  • Developed API test cases in Postman.
  • You can access the Postman API Collection here:
    🔗 DemoBlaze API Collection
  • Automated API validation using REST Assured.
  • Ensured secure and efficient API workflows.

📋 Puja Kumari (Manual Testing)

  • Conducted UI and functional testing.
  • Validated user experience and mobile responsiveness.
  • Reported and documented bugs effectively.

📊 Project Outcomes & Future Improvements

Results & Impact

✅ Improved testing efficiency with automated regression tests.
✅ Enhanced reliability by covering critical workflows.
✅ Reduced testing time for repetitive tasks by 40%.
✅ Ensured seamless user experience through manual UI validation.

Future Enhancements

🔹 Implement performance testing for system load evaluation.
🔹 Expand test coverage to include database validation.
🔹 Integrate CI/CD pipelines for automated test execution.


🎯 Conclusion

The DemoBlaze Testing Project successfully implements a scalable test automation framework integrating UI automation, API testing, and manual validation. With a focus on efficiency and maintainability, this project enhances product quality while reducing testing efforts. Future improvements will ensure continued excellence in software validation and reliability.


📌 Repository: https://github.com/Palak345/DemoBlaze_Hackathon
📩 Contact: [email protected]

About

The DemoBlaze e-commerce platform offers features like user authentication, product browsing, cart management, and order processing. Testing covered Manual, UI Automation, and API Testing to ensure functionality, usability, and reliability across devices and browsers.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages