Skip to content

Building a test automation framework using Selenium WebDriver with Java, TestNG, Maven, and the page object model (POM) design pattern, implementing the data-driven testing approach (DDT).

Notifications You must be signed in to change notification settings

AlhusseinZaghloul/Selenium-Test-Automation-Framework-for-NopCommerce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test Automation Framework for NopCommerce Website

This README file provides documentation for a test automation project using Selenium WebDriver for the nopCommerce website. This project is designed for a solo test automation effort.

Website URL ("https://demo.nopcommerce.com/")

Project Overview

This project aims to demonstrate test automation for the nopCommerce website, an e-commerce platform with various features and functionalities. The automation tests will be written in Java using the Selenium WebDriver and TestNG frameworks. The focus is on creating robust, maintainable, and readable test automation scripts.

Prerequisites

Before getting started with this test automation project, make sure you have the following prerequisites in place:

  • Java (Version 8 or higher).
  • Maven (for project management).
  • Intellij or any preferred Java IDE.
  • Selenium WebDriver (Java bindings).
  • TestNG (for test execution and reporting).
  • Extent Reports for enhanced reporting (optional).

Getting Started

Installation

Clone this repository to your local machine:

git clone https://github.com/alhusseinzaghloul/nopcommerce-test-automation.git

Open the project in your preferred Java IDE (e.g., Eclipse).

Install the required dependencies (Selenium WebDriver, TestNG) using Maven.

Project Structure

The project structure is organized as follows:

  • src/main/java: Contains utility classes and pages
  • src/test/java: Contains test automation scripts.

Running Tests

  • TestNG will execute the test suite, and you can monitor the progress in your IDE's console.

Conclusion

this README file serves as documentation for a test automation project targeting the nopCommerce website. By following the prerequisites, project overview, and getting started instructions outlined in this document, you can set up and execute automated tests for various scenarios on the e-commerce platform.

About

Building a test automation framework using Selenium WebDriver with Java, TestNG, Maven, and the page object model (POM) design pattern, implementing the data-driven testing approach (DDT).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages