A framework is a set of rules and tools for organizing tests. Main types: 1. Linear (Simple record and playback), 2. Modular (Tests broken into independent modules), 3. Data-Driven (Test logic separated from test data), 4. Keyword-Driven (Tests defined using keywords/actions), 5. Hybrid (Combination of multiple approaches). Modern frameworks combine Data-Driven and Page Object Model for maximum maintainability.
Linear: Just record and play back. Data-Driven: One test script, 100 different data sets. Hybrid: The best of both worlds—clean organization and flexible data.
What is the main benefit of a Data-Driven framework?