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
What is error cusing tecnique
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?
Define what is a critical bug.
What is mean by incident logging system ?
What r the functional testing u perform?
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
What is baseline testing?
what type of quetion may be asked for experienced person in manual tester of 1 year?
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.
What is difference between Bug resolution meeting & Bug Review Committee? Who are participants?
What is the difference between white box, black box, and gray box testing?
what is metrics in software testing? give me a brief detail about it?
What is a critical bug?
what is test case management?explain in brief.
what is TAS language which is used as a language for some projects/