https://github.com/Aeon-DR/WebStoreTestAutomation
A pytest and Selenium-based project for learning test automation
https://github.com/Aeon-DR/WebStoreTestAutomation
page-object-model pytest python selenium
Last synced: about 1 year ago
JSON representation
A pytest and Selenium-based project for learning test automation
- Host: GitHub
- URL: https://github.com/Aeon-DR/WebStoreTestAutomation
- Owner: Aeon-DR
- Created: 2023-09-12T18:32:32.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-03-26T16:44:28.000Z (about 2 years ago)
- Last Synced: 2025-03-09T22:42:34.133Z (over 1 year ago)
- Topics: page-object-model, pytest, python, selenium
- Language: Python
- Homepage:
- Size: 13.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Web Store Test Automation with pytest and Selenium
## Overview
This project serves as a learning exercise for test automation using pytest and Selenium. Although originally part of a course, I ended up improving it further to follow the best practices.
## Features
- Pytest Framework: Utilizes the pytest testing framework for writing concise and readable test cases.
- Selenium WebDriver: Integrates Selenium WebDriver for interacting with web elements and automating user interactions.
- Page Object Model: Adopts the Page Object Model design pattern for organizing test code and enhancing maintainability.
- Parameterized Tests: Demonstrates the use of parameterized tests for testing different scenarios with minimal code duplication.
## Project Structure
- tests/: Contains the test scripts written in pytest format.
- pages/: Includes page object classes representing different pages of the web application.
- conftest.py: Defines fixtures and common setup/teardown logic for the test suite.
- pytest.ini: Configuration file for pytest, defining markers and additional options for running the tests.
- requirements.txt: Lists all Python dependencies required for the project.