Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arya-io/qa-automation
Automated web testing script using Python and Selenium to interact with a demo website, performing tasks like extracting categories, managing cart actions, and searching for products.
https://github.com/arya-io/qa-automation
automatedtesting automationtesting python pythonautomation qa qaengineer selenium seleniumdriver softwaretesting testautomation webtesting
Last synced: 6 days ago
JSON representation
Automated web testing script using Python and Selenium to interact with a demo website, performing tasks like extracting categories, managing cart actions, and searching for products.
- Host: GitHub
- URL: https://github.com/arya-io/qa-automation
- Owner: arya-io
- Created: 2024-12-07T20:24:31.000Z (16 days ago)
- Default Branch: main
- Last Pushed: 2024-12-07T20:29:59.000Z (16 days ago)
- Last Synced: 2024-12-07T21:21:02.431Z (16 days ago)
- Topics: automatedtesting, automationtesting, python, pythonautomation, qa, qaengineer, selenium, seleniumdriver, softwaretesting, testautomation, webtesting
- Language: Python
- Homepage:
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# QA Automation Assignment - Python + Selenium
This repository contains an automated test script built using **Python** and **Selenium WebDriver**. The script automates interactions with a demo website, extracting category and product details, simulating cart actions, and searching for items.
## Features
- Extracts category items from the website and counts occurrences
- Simulates scrolling and loading dynamic content
- Adds items to the cart and manipulates cart quantities
- Performs a search operation and captures search suggestions
- Takes screenshots of key interactions (cart page, search suggestions)## Requirements
- Python 3.9.9
- Selenium WebDriver
- Chrome WebDriver (managed by `webdriver_manager`)
- Other dependencies listed in `requirements.txt`## Running the Script
1. Install the necessary dependencies:
```bash
pip install -r requirements.txt
```2. Run the script:
```bash
python main.py
```## Screenshots
The script captures key interactions in the following screenshots:
- `Cart_Page.png`
- `Removed_Cart.png`
- `Search_suggestions.png`## Note
This script is designed to work with the [Zilly WordPress theme demo](https://www.radiustheme.com/demo/wordpress/themes/zilly/).