Skip to content

Selenium Automation Project: Page Object Model (POM) This project demonstrates end-to-end automation testing using Selenium WebDriver with the Page Object Model (POM) design pattern. It focuses on creating a scalable and maintainable test automation framework. Features: Page Object Model (POM).

Notifications You must be signed in to change notification settings

Muskan19-web/Automation-Selenium_POM-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Selenium Automation Project – Page Object Model (POM)

Project Overview

This project demonstrates automation of the [Website Name] using Selenium WebDriver in Java, following the Page Object Model (POM) design pattern. It focuses on automating key workflows such as login, search, filter, add-to-cart, and checkout to ensure the application's functionality and reliability.

Features

  • Functional testing of login, search, filter, product selection, and checkout workflows.
  • Reusable Page Object Model structure separating locators and actions from test scripts.
  • Test execution using TestNG framework.
  • Assertion-based verification for accurate test results.
  • Handling of dynamic elements, alerts, dropdowns, and waits for robust automation.
  • Generation of detailed logs and screenshots for failed test cases.
  • Easy maintenance and scalability for future test cases.

Project Structure

src/ │ ├─ pages/ # Page classes containing locators and methods ├─ tests/ # Test classes using TestNG ├─ utils/ # Utility classes (e.g., WebDriver setup, waits, logger) └─ resources/ # Test data and configuration files

Prerequisites

  • Java JDK 11 or higher
  • Maven
  • Selenium WebDriver
  • TestNG
  • ChromeDriver / GeckoDriver
  • IDE (Eclipse, IntelliJ IDEA)

How to Run

  1. Clone the repository:
    git clone [repository-url]

Open the project in your IDE.

Install required dependencies using Maven:

mvn clean install Run test classes using TestNG XML files or directly from your IDE.

Test reports and screenshots for failed tests will be generated in the test-output folder.

Technologies Used

Java

Selenium WebDriver

TestNG

Maven

Page Object Model (POM)

Author Muskan Patel

About

Selenium Automation Project: Page Object Model (POM) This project demonstrates end-to-end automation testing using Selenium WebDriver with the Page Object Model (POM) design pattern. It focuses on creating a scalable and maintainable test automation framework. Features: Page Object Model (POM).

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages