Framework Mode - Why exception testing validates error handling
Folder Structure
src/
└── test/
└── java/
└── com/
└── example/
├── pages/
│ └── LoginPage.java
├── tests/
│ └── LoginTests.java
├── utils/
│ └── TestUtils.java
└── config/
└── TestConfig.java
This structure keeps test code organized by purpose: page objects, tests, utilities, and configuration.