Skip to content

AbarnaSelv/selenium-java-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 Selenium Java Automation Framework

A structured automation testing framework built using Java, incorporating TestNG, Page Object Model (POM), PageFactory, and Cucumber (BDD).
Designed for readability, modularity, and real-world scalability in UI test automation.


🙏 Credits

Inspired and guided by tutorials from LetCode by Koushik.
A big thanks to Koushik for making automation learning simple and impactful 🙌


📁 Project Structure

  • src/main/java/com.basics – Core Java basics and learning scripts
  • src/main/java/com.collections – Java collections practice and examples
  • src/main/java/com.exceptions – Exception handling demos
  • src/main/java/com.interfaceandabstract – OOPs practice (Interfaces and Abstract Classes)
  • src/main/java/com.selenium – Selenium practice scripts and basic scenarios
  • src/main/java/com.base – Base test setup and configuration
  • src/main/java/com.pages – Page Object Model classes using PageFactory
  • src/main/java/com.utilities – Utility classes (like Excel data handling)
  • src/test/java/com.tests – TestNG test classes
  • src/test/java/com.stepdefinitions – Cucumber step definitions
  • src/test/java/com.runners – Cucumber runner classes
  • src/test/java/com.hooks – Hooks for setup and teardown in Cucumber
  • data/ – Excel test data files
  • drivers/ – WebDriver executables like ChromeDriver and GeckoDriver
  • captures/ – Screenshots or recorded test evidence
  • test-output/ – TestNG generated reports
  • target/ – Maven-generated compiled files and reports
  • pom.xml – Maven build and dependency configuration
  • testng.xml – TestNG test suite definition
  • groups.xml – TestNG group configurations
  • paramtr.xml – TestNG parameterized test definitions
  • testngPar.xml – TestNG parallel test execution

🧪 Tech Stack

  • Java
  • Selenium WebDriver
  • TestNG
  • Maven
  • Page Object Model (POM)
  • PageFactory
  • Cucumber (BDD)

✅ Features Implemented

  • Base class setup for browser initialization and teardown
  • Page Object Model design with PageFactory
  • Excel-based data-driven framework
  • TestNG integration for test execution and grouping
  • Full Cucumber BDD implementation
  • Organized, modular, and scalable folder structure

📬 Connect with Me

Passionate about automation and building real-world testing frameworks 🚀
Feel free to connect, share feedback, or collaborate on automation ideas!

About

Automation Framework built using Selenium & Java | Learning from LetCode by Koushik

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published