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.
β
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
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
πΉ Note: This framework currently focuses on positive feedback testing only. Negative test scenarios are not included.
- Excel-driven Testing: Test data is loaded from
testdata.xlsx. - Web Automation: Selenium drives browser actions based on that data.
- Assertions & Logging: Test validations are written with PyTest and custom logging.
- Maintainability: All locators, data, and helpers are modularized for easy reuse and updates.
Run all tests from the root directory using:
pytest TestScripts/π‘ Tip: Use
-vfor verbose output and--html=report.htmlif you havepytest-htmlinstalled.
- Python 3.8+
- Selenium
- PyTest
- openpyxl
- webdriver-manager
Install them using:
pip install -r requirements.txtFound a bug or have an enhancement in mind? Feel free to open an issue or submit a pull request. Letβs improve together!
This project is open for educational and evaluation purposes. Commercial usage must be discussed with the author.
Crafted with π» and π§ͺ for robust web testing!