This repository contains an End-to-End QA Automation Framework developed for the Django Student Management System application.
The automation framework is built using Python, Selenium WebDriver, Pytest, and follows the Page Object Model (POM) design pattern for better scalability and maintainability.
The objective of this project is to automate critical user workflows of the Student Management System and generate detailed HTML execution reports.
- Python 3.12
- Selenium WebDriver
- Pytest
- Pytest HTML Reports
- Django
- ChromeDriver
Student_Management_System_QA
│
├── qa
│ └── automation
│ ├── pages
│ ├── tests
│ ├── utils
│ ├── reports
│ ├── screenshots
│ ├── conftest.py
│ └── pytest.ini
│
├── student_management_system
├── manage.py
└── README.md
The following end-to-end scenarios have been automated:
- ✅ Admin Login
- ✅ Add Course
- ✅ Add Student
- ✅ Logout
- Page Object Model (POM)
- Explicit Waits (WebDriverWait)
- Dynamic Test Data using UUID
- HTML Test Reports
- Screenshot Capture on Test Failure
- Reusable Page Classes
- Modular Framework Design
git clone https://github.com/rahmanashar5232-cloud/Student_Management_System_QA.gitpython -m venv venvWindows
venv\Scripts\activatepip install -r requirements.txtpython manage.py runserverOpen:
http://127.0.0.1:8000
admin@gmail.com
Password
admin
Run all tests
python -m pytestRun a single test
python -m pytest tests/test_login.py -vAfter execution, the report is automatically generated at:
qa/automation/reports/report.html
Open the report in any browser to view:
- Test Summary
- Execution Time
- Pass/Fail Status
Whenever a test fails, Selenium automatically captures a screenshot inside:
qa/automation/screenshots
| Test Case | Status |
|---|---|
| Admin Login | ✅ |
| Add Course | ✅ |
| Add Student | ✅ |
| Logout | ✅ |
Ashar Rehman
GitHub Repository:
https://github.com/rahmanashar5232-cloud/Student_Management_System_QA
GitHub Profile:
https://github.com/rahmanashar5232-cloud
The original Student Management System application was developed by Vijay Thapa.
This repository focuses on developing and demonstrating a complete QA Automation Framework for testing the application using Selenium WebDriver and Pytest.
Original Project Repository:
https://github.com/vijaythapa333/django-student-management-system
This repository is intended for educational and learning purposes.