What are the Assumption while writing the test cases?
Explain with the example?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / ajk
(interview answer) one has to consider the core
functionality of a application as a propriety. simple and
effective example will be online shopping site where one
test cases on ongoing promotions, placing order,payment
details etc.(you can go to any online shopping web site and
practice your own example)
Is This Answer Correct ? | 3 Yes | 2 No |
What is the role of software tester in process of verification? Explain.
Is it necessary to do regression testing after retesting
is live tech training institute best for learning testing tools in ameerpet
Give the real-time example for back-to-back testing?
Difference between cache and cookie.
What are the three aspects of GUI software to test for with WinRunner?
What is the first query u encounter to test a database..?
After loging the bugs in bugzilla the developer fix the bugs and change the stautus to fixed then the tester verfiy the bug/functionality in application. The verification is going to happen with present version or comming/new version?
What r the different FUNCTIONAL testing techniques?
what is a data guidelines?
what is the difference between application server and web server?
1.. what is mean by data base testing and what are the important things you want to check while in database testing ?