An open API service indexing awesome lists of open source software.

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.

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-manager

Install 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!