Name some test data creation techniques and explain one briefly?

Questions by yadleen

Showing Answers 1 - 3 of 3 Answers

vijaya chalasani

  • Aug 7th, 2014
 

If you are writing test case then you need input data for any kind of test. Tester may provide this input data at the time of executing the test cases or application may pick the required input data from the predefined data locations. The test data may be any kind of input to application, any kind of file that is loaded by the application or entries read from the database tables. It may be in any format like xml test data, system test data, SQL test data or stress test data.
If you are writing test case then you need input data for any kind of test. Tester may provide this input data at the time of executing the test cases or application may pick the required input data from the predefined data locations. The test data may be any kind of input to application, any kind of file that is loaded by the application or entries read from the database tables. It may be in any format like xml test data, system test data, SQL test data or stress test data.

Test data set examples:

1) No data: Run your test cases on blank or default data. See if proper error messages are generated , invalid data, illegal data format,

2)Valid data set: Create it to check if application is functioning as per requirements and valid input data is properly saved in database or files. (input actions are nothing but enter name, enter password, click on submit button - here according to the requirements (functionality for business process) n number of links, sublinks etc (for web based)
EX: While user wants to register in yahoo, or gmail acct, the form to fill login with name and password should be there so what we need to test obviously name and password of the user ,so test the edit boxes with positive data, (should enter only characters 6-16 (etc) other specifications for that edit box, according to the requirement while execution it properly runs that is expected so that is passed

3) Invalid data set: Prepare invalid data set to check application behavior for negative values, alphanumeric string inputs.
Simple ex: While user wants to register in yahoo, or gmail acct, the form to fill login with name and password should be there so what we need to test obviously name and password of the user ,so test the edit boxes with negative data enter wild cards or some other unspecified chars or nos or specifications for ex according to the requirement no wild cards acceptable, so enter wild card (%) so we are validating values (data) and verification, If you give non specified wild character (% or some other wild characters) error message should come (not only developres, as a tester we can test the data by retrieving with sql queries, statements, functions back end testing with SQL or SQL with PLSQL also)

4) Illegal data format: Make one data set of illegal data format. System should not accept data in invalid or illegal format. Also check proper error messages are generated.

5) Boundary Condition data set: Data set containing out of range data. Identify application boundary case (more than 16 characters - above example, or for a pay roll app employee should get $3000/month, after calculation of payroll for the employee , if we enter more than $3000 , may be enter $3200 if it accepts that is failed test , so data value is taking out of range. (data base table shouldnt accept that range), so warning message should come, not going to let the user do any transaction.

  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