https://github.com/AdityaKonda6/Login-Automation-Testing-Windows_Linux
This project automates login testing and some customizable where I also did automation testing for Adding a user for CWD Limited for the Soundbox web application using Java, Selenium WebDriver, TestNG, and Maven.
https://github.com/AdityaKonda6/Login-Automation-Testing-Windows_Linux
chromedriver chromium chromium-browser commonsio java linux maven pom selenium windows xml
Last synced: 3 months ago
JSON representation
This project automates login testing and some customizable where I also did automation testing for Adding a user for CWD Limited for the Soundbox web application using Java, Selenium WebDriver, TestNG, and Maven.
- Host: GitHub
- URL: https://github.com/AdityaKonda6/Login-Automation-Testing-Windows_Linux
- Owner: AdityaKonda6
- Created: 2025-07-03T06:19:05.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-07-03T10:58:11.000Z (12 months ago)
- Last Synced: 2025-07-03T11:51:43.514Z (12 months ago)
- Topics: chromedriver, chromium, chromium-browser, commonsio, java, linux, maven, pom, selenium, windows, xml
- Language: Java
- Homepage: https://adityakonda04.vercel.app/project
- Size: 18.3 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
---
For LoginTest.java -> mvn test -Dtest=LoginTest
---
For AddUserTest.java -> mvn test -Dtest=AddUserTest
---
### 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)
[](https://www.linkedin.com/in/aditya-adi-konda/)
[](https://twitter.com/AdityaKonda7)
[](https://www.instagram.com/konda_aditya/)

### Glad to see you here! Β 
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:













---

### π 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?
### Show some β€οΈ by starring some of the repositories!
### My Portfolio
