Skip to content

Commit f3f4310

Browse files
authored
Update README.md
1 parent 5acee50 commit f3f4310

File tree

1 file changed

+41
-2
lines changed

1 file changed

+41
-2
lines changed

README.md

+41-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,41 @@
1-
# qa-automation
2-
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.
1+
# QA Automation Assignment - Python + Selenium
2+
3+
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.
4+
5+
## Features
6+
7+
- Extracts category items from the website and counts occurrences
8+
- Simulates scrolling and loading dynamic content
9+
- Adds items to the cart and manipulates cart quantities
10+
- Performs a search operation and captures search suggestions
11+
- Takes screenshots of key interactions (cart page, search suggestions)
12+
13+
## Requirements
14+
15+
- Python 3.9.9
16+
- Selenium WebDriver
17+
- Chrome WebDriver (managed by `webdriver_manager`)
18+
- Other dependencies listed in `requirements.txt`
19+
20+
## Running the Script
21+
22+
1. Install the necessary dependencies:
23+
```bash
24+
pip install -r requirements.txt
25+
```
26+
27+
2. Run the script:
28+
```bash
29+
python main.py
30+
```
31+
32+
## Screenshots
33+
34+
The script captures key interactions in the following screenshots:
35+
- `Cart_Page.png`
36+
- `Removed_Cart.png`
37+
- `Search_suggestions.png`
38+
39+
## Note
40+
41+
This script is designed to work with the [Zilly WordPress theme demo](https://www.radiustheme.com/demo/wordpress/themes/zilly/).

0 commit comments

Comments
 (0)