An open API service indexing awesome lists of open source software.

https://github.com/adityakonda6/login-automation-testing

πŸ” Login Automation Testing - For Any Website This project automates login testing for the Soundbox web application using Java, Selenium WebDriver, TestNG, and Maven. But you can change the url and do the login automation testing for any website
https://github.com/adityakonda6/login-automation-testing

chromedriver git java maven pom screenshots selenium-java

Last synced: about 2 months ago
JSON representation

πŸ” Login Automation Testing - For Any Website This project automates login testing for the Soundbox web application using Java, Selenium WebDriver, TestNG, and Maven. But you can change the url and do the login automation testing for any website

Awesome Lists containing this project

README

          

# πŸ” Login Automation Testing - For Any Website

This project automates login testing for the [Soundbox](https://soundbox.dev.sb.cwdin.com/login) web application using **Java**, **Selenium WebDriver**, **TestNG**, and **Maven**.
But you can change the url and do the login automation testing for any website
---

## βœ… Features

- πŸ”„ Performs **15 valid login attempts** with different credentials
- ❌ Performs **15 invalid login attempts**
- πŸ“Έ Takes **screenshots** for each attempt
- πŸ§ͺ Uses **TestNG** for test organization and assertions
- πŸ“‚ Stores all screenshots in a `screenshots/` folder

---

## πŸ“ Project Structure
```
SoundboxLoginTest/
β”œβ”€β”€ drivers/ # ChromeDriver executable
β”œβ”€β”€ screenshots/ # Screenshot output directory
β”œβ”€β”€ src/
β”‚ β”œβ”€β”€ main/
β”‚ β”‚ └── java/
β”‚ β”‚ └── config/ # Configuration class (e.g., driver path)
β”‚ β”œβ”€β”€ test/
β”‚ β”‚ β”œβ”€β”€ java/
β”‚ β”‚ β”‚ β”œβ”€β”€ pages/ # Page Object Model for Login Page
β”‚ β”‚ β”‚ └── tests/ # Test classes with logic
β”œβ”€β”€ pom.xml # Maven configuration
└── README.md # You're reading it!

```
---

## πŸ”§ Prerequisites

Ensure the following are installed:

- [Java 17+](https://adoptium.net/) (Tested with Java 21)
- [Apache Maven](https://maven.apache.org/)
- [Google Chrome (latest)](https://www.google.com/chrome/)
- [ChromeDriver](https://sites.google.com/a/chromium.org/chromedriver/downloads) (matching your Chrome version)

> ⚠️ Place the `chromedriver.exe` inside the `drivers/` folder.

---

## πŸš€ How to Run

### Step 1: Clone the Repo

```bash
git clone https://github.com/your-username/SoundboxLoginTest.git
cd SoundboxLoginTest

Object[][] validCreds = {
{"user1@example.com", "password1"},
{"user2@example.com", "password2"},
...
};

mvn clean test

| Tool | Version |
| ------------ | ------------------ |
| Java | 17+ (tested on 21) |
| Maven | 3.8+ |
| Selenium | 4.20.0 |
| TestNG | 7.8+ |
| Chrome | 138+ |
| ChromeDriver | Match Chrome |

---

```

βœ… 1. Install Java Development Kit (JDK)
πŸ”— Download: Adoptium Java 17+

βš™οΈ After installation:

Set environment variable:
JAVA_HOME = C:\Program Files\Eclipse Adoptium\jdk-21 (or your install path)

Add to Path:
%JAVA_HOME%\bin

πŸ” Verify:
```
bash
Copy
Edit
java -version
```
βœ… 2. Install Apache Maven
πŸ”— Download: Maven Downloads

πŸ“‚ Extract and set environment variables:
MAVEN_HOME = C:\apache-maven-3.9.x
Add to Path: %MAVEN_HOME%\bin

πŸ” Verify:
```
bash
Copy
Edit
mvn -version
```
βœ… 3. Install Google Chrome
πŸ”— Download Chrome

πŸ“Œ Make sure it is updated to the latest version

βœ… 4. Download Matching ChromeDriver
πŸ”— Check your Chrome version:
```
Go to chrome://settings/help
```
πŸ”— Download matching driver:
ChromeDriver Downloads

πŸ“ Place chromedriver.exe in your project’s drivers/ folder
Or add it to the system PATH.

βœ… 5. Install an IDE (Optional but Recommended)
πŸ’‘ Recommended: Visual Studio Code or IntelliJ IDEA Community Edition

βœ… 6. Clone the Project from GitHub
```
bash
Copy
Edit
git clone https://github.com/your-username/SoundboxLoginTest.git
cd SoundboxLoginTest
```
βœ… 7. Build and Run the Project
```
Open terminal inside project folder:
bash
Copy
Edit
mvn clean test
```
βœ… 8. (Optional) Install Git if you don’t have it
πŸ”— Git Downloads

πŸ§ͺ Technologies You Now Have Installed
```
| Tool | Purpose |
| --------------------- | ------------------------------------- |
| Java JDK | For compiling and running Java |
| Maven | For managing dependencies and build |
| Chrome | To open and test the website |
| ChromeDriver | Interface between Selenium and Chrome |
| IDE (VSCode/IntelliJ) | Easier coding and debugging |
| Git | Version control and GitHub access |
```

πŸ”Ž Troubleshooting Tips
```
| Problem | Fix |
| ------------------------ | ---------------------------------------------------- |
| `NoSuchElementException` | Check if IDs are changing dynamically |
| Chrome doesn't open | Check `chromedriver.exe` version matches Chrome |
| `mvn` not recognized | Check your Maven PATH setup |
| Test not doing anything | Add `Thread.sleep()` or check dynamic loading (AJAX) |
```

If you'd like help adding a GitHub Actions CI workflow or TestNG HTML reporting, just say the word!

---

Hi Coders

## Hey there πŸ‘‹, I'm [Aditya!](https://github.com/AdityaKonda6)

[![Linkedin Badge](https://img.shields.io/badge/-LinkedIn-0e76a8?style=flat-square&logo=Linkedin&logoColor=white)](https://www.linkedin.com/in/aditya-adi-konda/)
[![Twitter Badge](https://img.shields.io/badge/-Twitter-00acee?style=flat-square&logo=Twitter&logoColor=white)](https://twitter.com/AdityaKonda7)
[![Instagram Badge](https://img.shields.io/badge/-Instagram-e4405f?style=flat-square&logo=Instagram&logoColor=white)](https://www.instagram.com/konda_aditya/)

### Glad to see you here! Β  ![](https://visitor-badge.glitch.me/badge?page_id=adityakonda.adityakonda&style=flat-square&color=0088cc)

I’m a **2025 IT Graduate** passionate about **DevOps, Cloud, and Software Development** πŸš€.
My mission? To **bridge the gap between development and operations**β€”building scalable systems, automating workflows, and ensuring quality from code to deployment.

With a strong foundation in **Java, SQL, Linux**, and hands-on experience with **CI/CD pipelines, Selenium automation, cloud services, and Android development**, I thrive in solving problems end-to-endβ€”from writing code to deploying it in production.

Recently, at **CWD Limited**, I worked on:
- **Automation Testing Frameworks** (Selenium, Java, Maven)
- **Linux-based system configurations & debugging**
- **Hardware-software integration testing**
- API testing with Postman
…and in the process, strengthened my DevOps skill set.

πŸ’‘ Curious mind. Fast learner. Always ready to build, break, and rebuildβ€”better.

---

### πŸš€ What I’m Working On:
- Building **DevOps projects** (Jenkins, Docker, Kubernetes, AWS, Ansible)
- Enhancing **automation frameworks** for testing & deployment
- Crafting **Android apps** and backend services
- Expanding my **Linux administration** skills

---

### πŸ’Ό My Tech Stack:
Java
Linux
Docker
Kubernetes
AWS
Python
JavaScript
React
SQL
Git
nodejs
mongodb
terminal

---

### πŸ“Œ Highlights:
- πŸ›  Built **dynamic Selenium automation scripts** integrated with Maven
- πŸš€ Created & deployed **full-stack and Android applications**
- 🐧 Comfortable with **Linux system administration & shell scripting**
- πŸ“¦ Implemented CI/CD workflows for smoother deployments
- ☁️ Learning & applying **cloud infrastructure concepts**

--

### πŸ“« How to Reach Me:
- Email: **adityakonda04@gmail.com**
- Portfolio: [adityakonda04.vercel.app](https://adityakonda04.vercel.app/)
- LinkedIn: [Aditya Adi Konda](https://www.linkedin.com/in/aditya-adi-konda/)

---

### πŸ“Š GitHub Stats:

⚑ GitHub Stats



πŸ”₯ GitHub Streaks


β˜„οΈ LeetCode Stats


---

πŸ’¬ Always open to collaborations, tech discussions, and exploring new opportunities in **DevOps, Cloud, and Software Development**.

Like My Work?

Buy Me A Coffee

AdityaKonda6

AdityaKonda6

### Show some ❀️ by starring some of the repositories!
### My Portfolio