How do you record a data driven test?

We can create a data-driven testing using data from a flat file, data table or a database.
i. 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.
ii. 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.
iii. Database: we store test data in the database and access these data using ‘db_*’ functions.

Showing Answers 1 - 2 of 2 Answers

sunitha.J

  • Dec 16th, 2005
 

data driven test will be used multiple recodes.

  Was this answer useful?  Yes

lakshmiprasadv

  • May 25th, 2006
 

data driven test will be used multiple recodes by using data table or database or sqldb

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions