1.

What do you understand by data-driven testing?

Answer»

Data-driven testing is an automation testing framework that involves testing data stored in a spreadsheet or a table and using that stored data as input values to the test scripts. This is done to avoid WRITING INDIVIDUAL test cases of the same functionalities with different inputs. The inputs to the test scripts can be stored in XML, CSV, XLS and other data formats.

There are 4 main types of data-driven testing BASED on the source of test data inputs:

  • Key-driven: Here, dynamic data is provided as inputs to the test cases by employing a keyboard to retest the application and validate the business logic.
  • Flat FILES: Application retesting is done by taking input data stored in flat files like .doc or .txt.
  • Front-end object: The test scripts use data from front-end objects like list, table, menu, data window etc.
  • Spreadsheet/Excel: Here, the test data is taken from data stored in excel sheets or SPREADSHEETS.


Discussion

No Comment Found