1.

How Do You Record A Data Driven Test?

Answer»

We can CREATE a data-driven testing using data from a FLAT file, data table or a database.

  1. Using Flat File: we actually store the data to be used in a required format in the file. We ACCESS the file using the File manipulation commands, READS data from the file and assign the variables with data.
  2. Data Table: It is an excel file. We can store test data in these files and manipulate them. We use the ‘ddt_*’ FUNCTIONS to manipulate data in the data table.
  3. Database: we store test data in the database and access these data using ‘db_*’ functions.

We can create a data-driven testing using data from a flat file, data table or a database.



Discussion

No Comment Found