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 dib format?

2050


What is Online gaming, payment gateway development, hosting and custom software development services.

1966


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

2762


I am DD. I am working as a Tester in e-learning company? IS there scope for content testing? or i have to change to software testing. pls guide me...

2184


Functional and Integration test scenarios for actitime application

7471


What are different types of verifications?

1359


What are the cases why parameterization is necessary when load testing the Web server and the database server?

2248


how to clarify functional requirements and non functional requirements in a srs?

2159


What is the difference between IE, Opera & Mozilla Firefox in web Testing and which brower will think that is much better?

2144


Hello can anybody list out supported and unsupported browsers for Window OS,Android OS,MAC OS Ubuntu

1680


Please send any one latest 3+ years of experience testing tools resumes my mail id is krishnavenimodaliar26@gmail.com

3388


What exactly is quality control? Is it similar to quality assurance?

1116


Test approach to windows update?

2373


.In languages testing, what is the fixed part and changing part?

2201


What is the difference between a standalone application, client-server application and web application?

1356