https://github.com/sridharbandi/bcmar22-aws-java-selenium
https://github.com/sridharbandi/bcmar22-aws-java-selenium
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sridharbandi/bcmar22-aws-java-selenium
- Owner: sridharbandi
- Created: 2025-03-22T07:38:26.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-03-22T19:04:46.000Z (7 months ago)
- Last Synced: 2025-05-19T01:12:59.866Z (5 months ago)
- Language: Java
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: ReadMe.md
Awesome Lists containing this project
README
# Java Selenium E-Commerce Automation
This project is a Java-based automation framework for testing an e-commerce website using Selenium WebDriver and TestNG.
## Prerequisites
- (Java 17)(https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html)
- (Maven)[https://maven.apache.org/download.cgi]
- (Git)[https://git-scm.com/downloads]
- (IntelliJ IDEA)[https://www.jetbrains.com/idea/download/] (or any other Java IDE) (Optional)## Project Structure
- `src/test/java/com/example/pages/`: Contains page object classes for different pages of the e-commerce website.
- `src/test/java/com/example/tests/`: Contains test classes for executing test cases.
- `pom.xml`: Maven configuration file with project dependencies and plugins.## Setup
Before cloning the repository, ensure maven is added to environment variables.
https://www.qamadness.com/knowledge-base/how-to-install-maven-and-configure-environment-variables/1. Clone the repository:
```sh
git clone https://github.com/Axone-Tech/java-selenium.git
cd java-selenium
```2. Install the dependencies:
```sh
mvn clean install
```3. Ensure ChromeDriver is installed and available in your system PATH.
## Running Tests
To run the tests, use the following Maven command:
```sh
mvn clean test