Skip to content

BlockAce01/e2e-Test_Automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

E2E E-commerce Test Automation Project

This project is a complete End-to-End test automation suite for the e-commerce website https://www.saucedemo.com/.

It is built with Python and Selenium WebDriver and demonstrates a professional automation structure using the Page Object Model (POM).


Key Features

  • Page Object Model (POM): For clean, maintainable, and reusable code.
  • Data-Driven Testing: Login tests are driven by data from a CSV file, allowing for easy expansion of test cases.
  • Cross-Browser Support: Scripts are configured to run on both Chrome and Firefox.
  • End-to-End User Journey: Automates the full e-commerce flow from login to purchase confirmation.

Setup and Installation

  1. Clone the repository:

    git clone https://github.com/BlockAce01/e2e-Test_Automation.git
    cd e2e-Test_Automation
  2. Create and activate a virtual environment:

    # On Windows
    python -m venv venv
    .\venv\Scripts\activate
  3. Install the required dependencies:

    pip install -r requirements.txt

How to Run the Tests

You can run the tests directly from the command line from the root project directory.

  • To run the data-driven login tests:

    python tests/test_login_data_driven.py
  • To run the End-to-End flow tests:

    python tests/test_e2e_full_flow.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages