Data-Driven Framework
Definition
A Data-Driven Framework separates test input data from the test script logic, storing data externally (e.g., Excel, CSV, JSON) so the same test can run repeatedly with different data sets.
Example Flow
A login test script stays the same, while a data file supplies many username/password combinations — valid, invalid, empty — each run as a separate iteration of the same test.
Advantages
- Massively reduces script duplication.
- Non-technical team members can add new test data without touching code.
- Makes it easy to scale coverage by simply adding more rows of data.
Ready to master real-world software testing?
Learn manual and automation testing hands-on with mentor-led sessions.
.png)