A Selenium and Pytest-based healthcare web automation framework built using Python and designed with the Page Object Model (POM) architecture for scalable and maintainable UI testing.
This project automates healthcare web application workflows including:
- Login validation
- UI workflow testing
- Browser automation
- Screenshot capture on failure
- HTML report generation
The framework demonstrates real-world automation testing practices with a focus on modularity, maintainability, and reusable automation components.
- Automated browser launch and teardown
- Healthcare web workflow validation
- Reusable Page Object classes
- Cross-browser compatible automation
- HTML execution reports
- Automatic screenshot capture on failure
- Independent test execution
- Page Object Model (POM)
- Reusable Pytest fixtures
- Modular project structure
- Centralized browser management
- Python
- Selenium WebDriver
- Pytest
- WebDriver Manager
- Page Object Model (POM)
- pytest-html
healthcare-automation-framework/
│
├── pages/ # Page Object classes
├── tests/ # Test cases
├── conftest.py # Fixtures and screenshot hooks
├── reports/ # HTML reports
├── screenshots/ # Failure screenshots
└── README.mdgit clone https://github.com/pavan123chinta/Healthcare-Web-Automation-Testing.git
cd Healthcare-Web-Automation-Testingpython -m venv venv
venv\Scripts\activatepip install -r requirements.txtpytest -vGenerate HTML report:
pytest -v --html=reports/report.html --self-contained-html- Launch Chrome browser
- Navigate to Google homepage
- Validate page title
- Capture screenshot automatically on failure
- Selenium WebDriver automation
- Pytest framework integration
- Page Object Model implementation
- Reusable automation framework design
- Screenshot handling on failure
- Automated HTML reporting
- Modular test architecture
Pavan Chinta
QA Automation Engineer | Selenium | Pytest | Python