https://github.com/imranc07/smartpad-feedback-automation-suite
This framework is designed to automate feedback submission testing for various product types using Selenium WebDriver, PyTest, and Excel-based data-driven testing.
https://github.com/imranc07/smartpad-feedback-automation-suite
data-driven-testing excel-file-handling openpyxl page-object-model pytest python selenium-webdriver
Last synced: 4 days ago
JSON representation
This framework is designed to automate feedback submission testing for various product types using Selenium WebDriver, PyTest, and Excel-based data-driven testing.
- Host: GitHub
- URL: https://github.com/imranc07/smartpad-feedback-automation-suite
- Owner: imranc07
- Created: 2025-07-22T19:09:50.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-07-22T19:18:22.000Z (3 months ago)
- Last Synced: 2025-07-22T21:14:18.621Z (3 months ago)
- Topics: data-driven-testing, excel-file-handling, openpyxl, page-object-model, pytest, python, selenium-webdriver
- Language: Python
- Homepage: https://smartpad-customer-feedback.vercel.app/
- Size: 71.3 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# π Smartpad Feedback Automation Suite
Welcome to the **Smartpad Feedback Automation** project!
This framework is designed to **automate feedback submission testing** for various product types using **Selenium WebDriver**, **PyTest**, and **Excel-based data-driven testing**.---
## π Key Highlights
β Automates end-to-end feedback flow for Gin and Wine products
β Reads test data dynamically from Excel (`testdata.xlsx`)
β Generates detailed test results using PyTest
β Uses a modular, maintainable folder structure
β Ideal for QA teams validating web-based feedback portals---
## ποΈ Folder Structure Overview
```
SMARTPAD FEEDBACK/
β
βββ TestData/
β βββ data.py # Excel data reading logic
β βββ testdata.xlsx # Actual test data
β
βββ TestLocators/
β βββ locators.py # Central repository of all UI element locators
β
βββ TestScripts/
β βββ GinPotionFeedback.py # Test script for Gin products
β βββ test_WinePotionFeedback.py# Test script for Wine products
β
βββ Utilities/
β βββ BrowserManager.py # Manages browser setup and teardown
β βββ excel_functions.py # Excel read/write utility functions
β
βββ README.md # Project documentation
```---
## π§ How It Works
πΉ **Note:** This framework currently focuses on **positive feedback testing only**. Negative test scenarios are not included.
1. **Excel-driven Testing**: Test data is loaded from `testdata.xlsx`.
2. **Web Automation**: Selenium drives browser actions based on that data.
3. **Assertions & Logging**: Test validations are written with PyTest and custom logging.
4. **Maintainability**: All locators, data, and helpers are modularized for easy reuse and updates.---
## π§ͺ Run the Tests
Run all tests from the root directory using:
```bash
pytest TestScripts/
```> π‘ Tip: Use `-v` for verbose output and `--html=report.html` if you have `pytest-html` installed.
---
## π Requirements
- Python 3.8+
- Selenium
- PyTest
- openpyxl
- webdriver-managerInstall them using:
```bash
pip install -r requirements.txt
```---
## π Contributing
Found a bug or have an enhancement in mind? Feel free to open an issue or submit a pull request. Letβs improve together!
---
## π License
This project is open for educational and evaluation purposes. Commercial usage must be discussed with the author.
---
Crafted with π» and π§ͺ for robust web testing!