Types of Data-Driven Testing
- Keyword-Driven Testing: A data-driven method called “keyword-driven testing” keeps the logic of test scripts apart from the data. Keywords are used in test scripts; a data table lists the inputs and anticipated outcomes for each keyword. As a result, test cases can be changed freely without affecting the scripts.
- Excel-Driven Testing: Excel spreadsheets are used in Excel-driven testing to specify and arrange test data. Test scripts may run tests with various sets of data and are easy to maintain because they read data from Excel files.
- Negative Testing: In a data-driven approach, negative testing consists of evaluating the application’s capacity to manage unexpected or erroneous data. Test cases are made to verify how the system reacts to values entered incorrectly.
- XML Testing Driven: XML files are used to describe test data in XML-driven testing. To run tests with various data sets, test scripts read data from XML files. This method works especially well with complex data structures.
Data Driven Testing in Software Testing
Prerequisite: Software Testing
Data-Driven Testing is a type of software testing methodology or more exactly approach to the architecture of automated tests by creating test scripts and reading data from data files.
In this type, the data files involved are Data pools, CSV files, Excel files, ADO objects, ODBC sources, etc. The testing functions create the test scripts in which the test data and the output values are read from the data storage.
Contact Us