The website https://www.99booksstore.com does not exist anymore as of the time this script was created.
However, if the website comes back online in the future with the same structure, this script should work as expected.
This project is an end-to-end automation test script for an e-commerce platform 99booksstore.com using Selenium WebDriver in Python.
It simulates a full customer journey:
- Searching and selecting books
- Adding them to the cart
- Applying a coupon code
- Logging in
- Proceeding to checkout
- Selecting a payment option
- Placing the order
All test results are logged in a HTML report (test_results.html).
automation_script.py- The main Selenium test script.testdata.json- Contains test input like book names, email, password, and coupon code.test_results.html- Auto-generated report of test execution.README.md- This file.
- Python 3.x
- Google Chrome
- ChromeDriver (compatible with your Chrome version)
- Selenium
pip install selenium
## βΆοΈ How to Run
1. Make sure all dependencies are installed:
```bash
pip install selenium