Skip to content

rashadkhan97/Selenium-TestNG-Automation-Practice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 Selenium TestNG Automation Practice – DailyFinance

Welcome to my automation testing practice repository!
This project documents my learning journey in Selenium WebDriver automation using the TestNG framework, managed with Gradle.
The testing is done on the web application
🔗 https://dailyfinance.roadtocareer.net

This repository is part of my training at Road to SDET. I regularly update it as I explore various website features, including login, dashboard, user management, and registration.


📚 About the Project

This project helps me develop strong hands-on skills in:

  • ✅ Automating real-world scenarios using Selenium WebDriver
  • ✅ Structuring test cases with TestNG
  • ✅ Managing dependencies and builds using Gradle
  • ✅ Following best practices like Page Object Model (POM)
  • ✅ Optimizing code for better use

🧪 What I’m Testing

Using the DailyFinance website, I automate and validate:

  • 🔐 Login functionality
  • 🔑 Save token from local storage on first login & reuse it
  • 📊 Dashboard visibility and elements
  • 👤 User Details/Profile and Registration
  • 📝 Update User Profile
  • 🧭 Navigation between pages
  • 🚫 Error message validation
  • 📸 Screenshot capture on test failure
  • 📂 Saving Registered user's info in JSON
  • 🗂️ Login with CSV Data

🧰 Tools & Technologies

  • 💻 Selenium WebDriver – Web automation tool
  • Java – Programming language
  • 🧪 TestNG – Testing framework
  • ⚙️ Gradle – Build and dependency management
  • 🌐 ChromeDriver – Browser automation
  • 🧱 Page Object Model (POM) – Design pattern

✅ Current Features

  • Gradle project setup in IntelliJ
  • Selenium WebDriver integration
  • Page Object Model implementation
  • Valid & invalid login test cases
  • TestNG assertions and annotations
  • Basic test reporting via TestNG
  • Screenshot on failure

📌 How to Run the Project

  1. Clone the repository :
git clone https://github.com/your-username/Selenium-TestNG-DailyFinance.git
  1. Open the project in IntelliJ IDEA or Eclipse

  2. Run the tests using TestNG

  • Right-click any test class → Run with TestNG
  • Or use the testng.xml suite file
  1. You can also run via command line (if configured): ./gradlew test

🤝 Contributing

This is a personal practice repository, but you are welcome to:

  • Explore test code and structure
  • Suggest improvements
  • Fork for your own learning

🔗 Connect with Me

Md Rashadul Islam
📧 Email: rsrashad99@gmail.com
📍 Dhaka, Bangladesh
🔗 LinkedIn


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages