🎭 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/