Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sumannaidur/automation-testing
Selenium Automation Testing for Reliance Digital Website
https://github.com/sumannaidur/automation-testing
github html json minproject otp-verification parsing pytest python selenium selenium-python selenium-webdriver software-testing-vtu testautomation testscripts vtu vtu-mini-project webdriver webtesting
Last synced: 1 day ago
JSON representation
Selenium Automation Testing for Reliance Digital Website
- Host: GitHub
- URL: https://github.com/sumannaidur/automation-testing
- Owner: sumannaidur
- Created: 2024-08-28T16:23:44.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-08-29T04:31:18.000Z (3 months ago)
- Last Synced: 2024-11-14T07:47:58.866Z (1 day ago)
- Topics: github, html, json, minproject, otp-verification, parsing, pytest, python, selenium, selenium-python, selenium-webdriver, software-testing-vtu, testautomation, testscripts, vtu, vtu-mini-project, webdriver, webtesting
- Language: Python
- Homepage:
- Size: 37.1 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Selenium Automation Testing for Reliance Digital Website
## Description
This project is an automated testing suite developed using Selenium and PyTest for the Reliance Digital website. The test suite is designed to verify the functionality and user experience of the site, ensuring that key features work as expected. The tests simulate user interactions such as navigating the website, logging in, searching for products, managing the shopping cart, applying filters, and more.
## Prerequisites
- **Reliance Digital Account**: Before running the automation tests, ensure that you have created an account on the Reliance Digital website. This is required for testing login functionality, managing the wishlist, adding addresses, and other account-related features.## Features
- **Automated Navigation**: Tests for loading the home page and verifying the title.
- **Login Automation**: Tests for the login functionality, including OTP verification.
- **Location-Based Testing**: Automated selection of delivery pin codes and verification of serviceability.
- **Search Functionality**: Tests for searching products and verifying search results.
- **Cart Management**: Tests for adding and removing products from the shopping cart.
- **Wishlist Management**: Tests for adding and removing products from the wishlist.
- **Filter Application**: Automated tests for applying and clearing filters like price, brand, and battery capacity.
- **Sorting Functionality**: Tests for sorting products by price (high to low).
- **Address Management**: Automated tests for adding and deleting addresses.
- **Account Management**: Tests for accessing and verifying account details like credits and wishlist.
- **Logout and Error Handling**: Tests for logging out and handling invalid login attempts.## Technologies Used
- **Python**: Programming language used for scripting.
- **Selenium WebDriver**: For automating web browser interactions.
- **PyTest**: For organizing and running test cases.
- **Logging**: To capture and record the execution process and any errors encountered.
- **JSON**: For configuration management, storing URLs, user credentials, and other necessary data.## Project Structure
- **project_root/**
- **│**
- **├── config/**
- **│ └── config.json # Configuration file with URLs, credentials, and other settings**
- **│**
- **├── logs/**
- **│ └── test.log # Log file generated during test execution**
- **│**
- **├── tests/**
- **│ └── test_script.py # The main test script using Selenium and PyTest**
- **│**
- **├── requirements.txt # Dependencies required for the project**
- **│**
- **└── README.md # Documentation for the project**## How to Use:
1. Clone the Repository:
git clone https://github.com/sumannaidur/Automation-Testing.git
2. Navigate to the Project Directory:
cd project_root
3. Install Dependencies:
pip install -r requirements.txt
4. Update the Configuration:
Modify the config/config.json file with your details (mobile number).
5. Run the Tests:
pytest tests/test_script.py
6. View Logs:
Check the logs/test.log file for detailed logs of the test execution.