Skip to content

A pytest and Selenium-based project for learning test automation

Notifications You must be signed in to change notification settings

dmitry-ryazantsev/WebStoreTestAutomation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A pytest and Selenium-based project for learning test automation

Topics

Resources

Stars

Watchers

Forks

Languages