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 is error cusing tecnique

2025


How does your preferred work style work with the ideal test-manager role that you just described? What is different between the way you work and the role you described?

2174


Define what is a critical bug.

1177


What is mean by incident logging system ?

2597


What r the functional testing u perform?

2188


tell me brief about your project? please help me how to explain the project what is the flow? my current project is ERP domain web based application. please help me

2025


What is baseline testing?

1143


what type of quetion may be asked for experienced person in manual tester of 1 year?

2274


Hi,all i have a desktop App. which have a feature, It's a demo version if u want full version then u have to perches it. Pls give me some idea ASAP how can i break the App.

1949


What is difference between Bug resolution meeting & Bug Review Committee? Who are participants?

2950


What is the difference between white box, black box, and gray box testing?

1169


what is metrics in software testing? give me a brief detail about it?

4893


What is a critical bug?

1088


what is test case management?explain in brief.

2087


what is TAS language which is used as a language for some projects/

2049