What is a Data Driven Framework?

Data-driven framework means using objective figures to verify many different test cases by driving the test with input and expected values from an external data source instead of using the same hard-coded values each time the test runs.

If you look in to our framework, you will find that we have not just been passing values being declared as constants but just think of a scenario when there will be N number of combinations to test for functionality. This is not just limited to case testing only, even in the opportunity analysis method we are able to use the framework in real world scenarios. There will be many more tests to pass the verification module as necessary and that can only be done with the use of Data driven technique.

One consequence of our framework, is that there are multiple different input methods and verification will find N number of output fields which may end up with possibly hundreds of applicable results.

This situation can be overcome with the help of data driven technique. Once we start with passing test data from the external source, we would not need the different input field’s method. Only one method of input would be good enough for us, which we will accept the test data.