Data Driven Framework

In this Framework, while Test case logic resides in Test Scripts, the Test Data is separated and kept outside the Test Scripts.Test Data is read from the external files (Excel Files, Text Files, CSV Files, ODBC Sources, DAO Objects, ADO Objects) and are loaded into the variables inside the Test Script. Variables are used both for Input values and for Verification values. Test Scripts themselves are prepared either using Linear Scripting or Test Library Framework.

Advantages
1. Changes to the Test Scripts do not affect the Test Data
2. Test Cases can be executed with multiple Sets of Data
3. A Variety of Test Scenarios can be executed by just varying the Test Data in the External Data File

Disadvantages
4. More time is needed to plan and prepare both Test Scripts and Test Data

Platform: Selenium

Versions: 2

Tags: Testing, Data Driven Framework