Framework Mode - Hybrid framework architecture
Folder Structure
project-root/
├── src/
│ ├── main/
│ │ └── java/
│ │ └── com/example/app/
│ │ └── (application source code)
│ └── test/
│ └── java/
│ └── com/example/tests/
│ ├── base/ # Base classes (TestBase, DriverManager)
│ ├── pages/ # Page Object classes
│ ├── tests/ # Test classes (TestNG/JUnit)
│ ├── utils/ # Utility classes (helpers, data readers)
│ └── data/ # Test data files (Excel, JSON)
├── resources/
│ ├── config.properties # Configuration file
│ └── testdata/ # External test data files
├── testng.xml # TestNG suite configuration
├── pom.xml # Maven build file
└── README.md