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

Write the test cases for file transfer from one user to other from Google Drive/drop box?

7225


what technical problem u face in your module please tell what is it mean its any bug or anything else i want ans give any example which ever modul u r working for u can give me any example

1859


could u pls anyone tel me .."which is the best instute that provides eficient practical knowledge and also real-time oriented knowldge to do a project in manual and automation testing..in hyd" pls send me to dis mail-id if u find any..? sinducute17@gmail.com

1656


How to do security implementation for any URL??

1424


what is the difference between section & test feature in test case documention?

1594






what are your achievements in your organization ? Guyz very very urgent , help me

1651


what is the function generator?

1702


what types of testing have u done in ur project?and expalin it detail?

1543


write the test case for Bulb & Mobile phone

7416


approx how long a simple website take time just for manual testing including report generation.

1587


i have done B.E. computer in 2009 i have done software testing course and also 6 months exp in testing on live project as trainee, now a days i am searching job in pune. can any one tell me any opening in pune?

1569


What are the different types of integration testing?

717


how mapp the defect id in quality center?

1686


How can a LOG for testcases be maitained which can give information about a TestCase that is it new one or has been occured in previous versions of the software.

1598


What are the main key components in client and server applications?

694