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
1.Tell me negative test cases for notepad 2.Tell me the factors for for writing severity based test cases
What are the different strategies for rollout to end users?
Hi to all, im vaibhav i joined a MNC as a tester and i got a banking (HSBC) project can any one tell me as a fresher what kind of strategy i sholud use to perform better. thanx
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?
Beyond the customary advantages of having a testing group, what are the benefits does a company receive from a well run, automated testing group?
What is reverse engineering?
What is smoke testing and what is sanity?
What is change request, how you use it?
What is middle ware testing?? what are the companies using this tech?
1. what exactly is heuristic checklist approach for unit testing ?
How can you do the usability testing?
What is actually a rule based testing
Want to learn Manual Testing in just two days? Students around Thanjavur, Trichy, Mayavaram and Kumbakonam Mail to manualtestingtraning@gmail.com. Entire Manual Testing Concept. Any doubt regarding IT Job please mail above ID
hello frens. Im Arun from the uk. im planning to apply for tester jobs with 3yrs experience. the problem is i dont have resumes. i have to mention atleast 3 projects (preferably financial projects) in my CV. im totally blank. can u plz send ur CV's to my email.... arunmoses1982@yahoo.com. this would be a great help from you guyz. n u need any help from me? just mail me n ill get in touch with u. Thanx.
How do your characteristics compare to the profile of the ideal manager that you just described?