What is Data-Driven Testing?
Aruns a set of user with multiple input values. Data driving enables one script to test functionality using multiple sets of data.
Data driven tests eliminate the need for performing multiple tests and increases test coverage. The resulting enhanced speed, repeatability, and accuracy in test coverage frees resources for performing quality control activities.
To use multiple sets of data, you can:
- Change the script for every set of data or create a script for each set of data.
- Use in the test. Parameters are variables that are defined in tests. Their values are specified in the design-time . The test runs for every value defined in DATA TABLE. Parameterization makes test and data maintenance easier.
Using Design-Time Data Table:
The design time DATA TABLE stores values for input and output parameters in the test. QuickTest displays the desgin-time data table by default. You can click the DATA TABLE button in the QuickTest Professionalto display DATA TABLE.
The DATA TABLE provides the features of Microsoft Excel to enable you to store and use data as you do in a Microsoft Excel spreadsheet. You can execute mathematical formulas within the cells.
DATA TABLE stores data either in:
- sheet: Provides a source for values that can be used by any in the test.
- ACTION sheet: Provides a source for values specific to an action.