π UI Automation β Python with Playwright πΉ Project Overview
This repository contains a UI Automation Testing framework built using Python and Playwright, along with Pytest. The project demonstrates end-to-end web UI automation, covering test design, validations, reusable utilities, and framework-level setup.
This repository is created to showcase my hands-on experience in UI automation, Python testing, and modern automation frameworks, suitable for QA / Automation Engineer roles.
πΉ Tech Stack & Tools
Programming Language: Python
UI Automation Tool: Playwright
Test Framework: Pytest
Test Runner: Pytest + Playwright Test Runner
IDE: PyCharm / VS Code
Version Control: Git & GitHub
Data Handling: JSON
Browsers Supported: Chromium, Firefox, WebKit
πΉ Project Structure
UI_Automation_Playwright_Python β βββ Framework/ β Core framework files (base setup, configs) β βββ API.py β βββ Web_Automation.py β βββ Test_login.py β βββ conftest.py β βββ Playwright/ β Playwright-based UI test cases β βββ test_playwrightbasics.py β βββ test_Uivalidations.py β βββ UIVaidations2.py β βββ Pytest/ β Pytest test cases β βββ test_login.py β βββ test_register.py β βββ UI/ β UI page-level logic β βββ Login.py β βββ data/ β Test data files β βββ Credentials.json β βββ API/ β API utility and helper functions β βββ util.py β βββ .idea/ β IDE configuration files βββ README.md β Project documentation
πΉ Key Features Implemented
UI automation using Playwright with Python
Test execution using Pytest
Page-level separation for UI actions
Reusable framework utilities
JSON-based test data handling
Browser automation with built-in waits
Support for multiple test modules and test layers
Clean and scalable folder structure
πΉ Sample Test Scenarios Covered
User login validation
User registration flow
UI element validations
Basic Playwright actions and assertions
Positive and negative UI test cases
Network and API-related validations (where applicable)
πΉ How to Run the Project
1οΈβ£ Clone the repository git clone
2οΈβ£ Install dependencies pip install playwright pytest playwright install
3οΈβ£ Run all tests pytest
4οΈβ£ Run Playwright-specific tests pytest Playwright/