What is Test Data ? Explain

Answer Posted / rajendra_penumalli

To understand Test Data, first we should understand the
Test case.

Test case comprises following parts:
1.Precondition
2.User action/Steps
3.Input data/Test data
4.Expected Result
5.Actual Result

For every test there will be some precondition will be
there.
For example,
if we are testing a web based login page,

1.Precondition:
The web page should load on web browser.

2.User action/steps:
i. Enter test data into valid User id and valid
Password in login page.
ii.Then click on 'submit' button

3.Input data/Test data:
User ID: rajendra_penumalli (valid User ID)
Password: passw0rd (Valid Password)

4.Expected Result:
Application should display the home page

5.Actual Result:
<out come of the execution>

Here in above test case, in step three the User ID and
Password data (rajendra_penumalli,passw0rd) are the test
data.

Using,
Boundary Value Analysis and
Equivalence Class Partition
Tester can generate test data for different scenario's
Based on each set of test data can be converted in to a
test case using cause effect graphing technique.

For example foe the above login functionality testing
we can write test data as follows:

Test Data Set-1
Valid User ID
Valid Password

Test Data Set-2
Valid User ID
Invalid Password

Test Data Set-3
Invalid User ID
Valid Password

Test Data Set-4
Invalid User ID
Invalid Password

Test Data Set-5
Blank User ID
Valid Password

Test Data Set-6
Valid User ID
Blank Password

Test Data Set-7
Blank User ID
Blank Password

I think all are clear now.

Rajendra_penumalli@yahoo.com
Sr.Test Engineer

Is This Answer Correct ?    20 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to access a build & wat is its configuration

1761


How do you get programmers to build testability support into their code?

2235


Write all combinations of test cases for calculater on + symbel

1801


what is dib format?

1469


Write the test cases for godaddy home page

1233






hai friends i did my bcom (distance with out inter)and iam pursuing mca(distance alagappa university)iam learning testing cource in ameerpet can i elgibel for testing jobs pls guide me … …and send details to rangavijetha@gmail.com..thanks

1348


what is the difference between test case and result matrix

1680


how to test a web application manually?can u explain indetail?

1614


What is black box testing, and what are the various techniques?

721


Hi, My name is Dinesh.I want to prepare for ISTQB certification , So can anyone please email me the syllabus of it and what is criteria for giving exam.Please email me answers at: dinesh0323@live.com

4220


value momentum

1274


How do you perform configuration management with typical revision control systems?

1636


what is sanity test (or) build test?

647


structure of an incident report is covered in stand for software test document IEEE 829 and is called as?

2259


Can you explain the elementary process?

650