Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What are the Assumption while writing the test cases?
Explain with the example?

Answer Posted / mohit

The best thing is to divide the application into TCO's(Test
case Outlines)

Example,for any site there can be different TCO's for each
functionality(let's take the login part)

Note:TCO'S are just one liners.eg.
Let me take some of them(let's take the login part)
1>Username and Password are mandatory.

2>User should be able to login with correct username and
password.

3>Username and password should be case sensitive.

4>There should be entry box for each username and password.

5>There should be an option for forgot password.

6>Password should be encrypted.

7)Username and Password should not take white spaces.


Now the next step is to break these test case outlines into
test cases.There can be one or more test cases that can be
written using the tco's you have identified.

For example for tco

2>User should be able to login with correct username and
password.

we can break this tco into different test cases.
a)Login with correct username and password(user should be
able to login)+ve testing.
b)Login with incorrect username and password(user should not
be able to login)-ve testing.
c)Login with incorrect username and correct password(user
should not be able to login)-ve testing.
d)Login with correct username and correct password(user
should not be able to login)-ve testing.

For each tco look for all the +ve and -ve
scenarios.Generally if you have 5 +ve test cases then you
should atleast have 15 -ve test cases.

There may be cases where there is 1:1 relationship between
tco's and test cases as in the case with 1>Username and
Password are mandatory.

This is how i write test cases.May be this is helpful.

Is This Answer Correct ?    7 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the roles of glass-box and black-box testing tools?

2144


How should validation activities be handled?

1146


what is the difference between Desktop testing,Client/server testing and webapplication testing

2082


What is the difference between action & script ?

2573


how to write the test cases for mark as read/unread mails for gmail inbox?and what are the testings we will do?

6667


where do we work with Application, web and Database servers Means which type of applications.

1927


Define cause effect graphing?

1121


How to Generate Test Case for Shopping Cart?

2887


i want information about API testing and i want info like how process can be done in company? i want added info like coding ,debugging, desing in c.v ? what should add in c.v for eg banking domin? pls any answer my question?

2153


What are the factors affecting a manual testing project and what are the ways to overcome it?

1275


What is smoke test? Do you use any automation tool for smoke testing?

1234


Have you ever completely tested any part of a product? How?

2462


Easiest way to write test cases? How i can learn writing the test cases?

1484


What is virtual creation tool?

2059


What is big bang approach?

1382