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
how deployment phase of SDLC differs in product based and in service based company ?
Hi ALl, Can you please list out Q & A for Test Lead,which Interviewer may ask in interview for Test Lead position
What impact ratings have you used in your projects?
Write positive and negative test cases for forgot password?
i have 2.5 years of experience in manual testing and qtp. can anyone say me what kind of questions do they ask on manual testing and qtp.
1...DIFF BETWEEN QTP AND WIN RUNNER? 2... CHECKPOINTS AND EXPLAIN EACH OF THEM? 3...WHY IS STEP GENERATOR? 4... WHAT IS THE DIFF BETWEEN FUNCTIONS AND SUB ROUTINE?
what is test strategy,test plan and test policy?Does anyone have dummy documents or any links that gives more idea about these?I am a beginner...interested in learning more abt testing.plz help and encourage me........!
What is mean by Schedule report who is the responsible for generated that one ?
How to test the search functionality.For example in naukri advance search is there.how ca i test that page.
what is the testing approach for windows Explorer(Not IE Explorer)
Explain the difference between alpha testing and beta testing.
Write 2 scenarios for System testing?
What is a good test? Wy do we need testing write test steps for triangle write test steps for ATM How a tester should approach a devloper about non accepted defect? What is test coverage assurance and give an example Draw and expain V model and how it is helpfull in software development
What is bug, deffect, issue, error?
What are bug leakage and bug release?