Welcome to the README for the Test Automation project focusing on the nopCommerce website. This document provides comprehensive information on setting up, running, and understanding the project's structure and purpose.
- Technologies Used
- Prerequisites
- Overview
- Installation
- Project Structure
- Running Tests
- Conclusion
- Contact
Before diving into the project, ensure you have the following prerequisites:
- Java (Version 8 or higher).
- Maven (for project management).
- An IDE like Eclipse or IntelliJ.
- Selenium WebDriver (Java bindings).
- TestNG (for test execution and reporting).
- Optionally, Extent Reports for enhanced reporting.
The aim of this project is to showcase test automation for the nopCommerce website, an e-commerce platform with diverse features. The tests are scripted in Java using Selenium WebDriver and TestNG. The focus is on creating robust, maintainable, and readable automation scripts.
To set up the project, follow these steps:
-
Clone the repository to your local machine: git clone https://github.com/Mochxd/TestAutomation_NoP_Commerce_Website.git
-
Open the project in your preferred Java IDE (e.g., IntelliJ, Eclipse).
-
Install the required dependencies (Selenium WebDriver, TestNG) using Maven. You can do this by right-clicking on the project and selecting "Maven" -> "Update Project."
The project structure is organized as follows:
src/main/java
: Contains classes and methods for every page.src/test/java
: Contains test automation scripts for every page on the website.
Tests are executed using TestNG. You can monitor the progress in your IDE's console.
This README serves as comprehensive documentation for the test automation project targeting the nopCommerce website. By adhering to the prerequisites, project overview, and setup instructions provided, you can effortlessly set up and execute automated tests for various scenarios on the e-commerce platform.
Feel free to explore, expand, and enhance this project further to meet specific testing needs. Contributions and collaboration are welcome to make this project a valuable resource for the testing community.
For any queries or assistance, feel free to contact me via email at [email protected].