The software functionalities are tested with different test data sets. The process of testing with multiple data sets is a laborious task. Hence it is often automated using test execution tools. In data driven testing technique, the script is separated from the test data inputs into a spreadsheet.
The popular automation test execution techniques often used are : data driven testing, keyword driven testing and hybrid framework.
Data Driven Testing:
Data driven testing is a process of testing where the values are read form the test script or codes every time the program is executed for output. The data driven testing can be understood better by the following diagram.
Data driven testing is mainly done when you have lot of data from external data source files based on those data directly it is tested. The data driven testing reads a data from the external source for example from File or Database instead of some hard codes. This rather makes data logically simpler to modify and maintain. One of the best example is Customer Order Form. it contains a set of different data values as you record. Each time when you record the order you pass a new set of data and test accordingly.
This approach increases the maintainability of the script. The input test data sets can be refreshed without affecting the script. Automation testing can be applied.
Check your understanding:
- Write the examples of automation testing tools.