Skip to content

harhala7/QA_Automation_Dev_Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Selenium Tests (CI-safe)

Selenium Test Automation – Saucedemo

UI test automation framework built with Selenium, pytest, and Page Object Model. The project demonstrates a clean, scalable approach to browser-based test automation.

What this project demonstrates

  • Designing a Selenium automation framework from scratch
  • Practical use of Page Object Model (POM)
  • Separation of test logic and page logic
  • Pytest fixtures and test organization
  • Handling real-world UI automation challenges
  • Conscious CI vs local execution decisions

Tech stack

  • Python
  • Selenium WebDriver
  • pytest
  • webdriver-manager

Project structure

pages/ # Page Object Model classes tests/ # UI test cases (login, inventory, cart) conftest.py # Browser and test fixtures

How to run tests locally

python -m venv venv
venv\Scripts\activate #windows
# source venv/bin/activate #Linux/MacOS

pip install -r requirements.txt
pytest -s

CI vs Local execution

  • Lightweight pytest tests are executed in CI
  • Selenium UI tests are intended for local execution
  • This avoids browser instability on shared CI runners
  • Reflects common real-world QA practice

API testing

API and contract testing are covered in a separate dedicated repository: https://github.com/harhala7/QA_API_Contracts_Project

About

Selenium UI test automation framework in Python using pytest and Page Object Model, designed for scalable browser testing.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages