I was reading an Article How to got Selected as a Software QA Enginner in Big Companies Like Microsoft , Google, GE, Dell , Amazon Cognizant , Yahoo. Acoording to survey they focus on Real world seniroes
how you can explore these Real world when you have given write Test case on these entites.I am going to present some Example which will help to to solve the type of Questions.
TEST CASE :
Ans : A lot of people write following test cases
1) Remove /Insert the battry in Phone
2)Chec k all the numbers/Characters on the phone working fine by clicking on them..
3)Remove the user from phone book n check removed properly with name and phone number
4)Check whether Network working fine.
5)If its GPRS enabled check for the connectivity
6) Insert the sim into the phone & check
7)Send the message at time to multiple contacts
8) Make incoming and out going calls.
9) Try to Insert Duplicate Contacts .
10) Make incoming/outgoing call by Switch on the Speaker
BUT still it is not enough
1Q From what hegit the Mobile Phone get Dropped Ask to Interviewer ?
2Q what suface it got dropped liquid /solid ?
3Q What is the weight of cell phone matter on what height is got droop?
4Q Company of mobile phone also matter?
Q2 Write the Test case for Yahoo/Gmail/hotmail after login?
2.) check the emergency breaks must be provided to avoid acidents.
3) When lift is to much overloaded Alarm signal must be produced.
4) check that the doors of lift must be closed properly.
5) Floor number must be displayed on the Sreen of lift.
6)When the destination is reached ,illumanited butttons lights turn off
7)Lift is able to bear tolurance some load up to 10% of its load capacity .
8) Check the First come first serve policy . eg when Two persons enter in the lift going to upward Person A press 5th floor button and Person B press 16th floor .first the Lift Door open at 5th floor then 16th .
9) Check what happens when the lift is between in two floors.
10)Check the max load that it can bear .
11) Note the amount of time between first and last floor.
12. Lift doors reopen when there is some Obustruction between the doors.
13. Check the performence of the lift when working under the Power backup supply
how you can explore these Real world when you have given write Test case on these entites.I am going to present some Example which will help to to solve the type of Questions.
TEST CASE :
Q1 Write Test cases for Mobile Phone when its dropped ?
Ans : A lot of people write following test cases
1) Remove /Insert the battry in Phone
2)Chec k all the numbers/Characters on the phone working fine by clicking on them..
3)Remove the user from phone book n check removed properly with name and phone number
4)Check whether Network working fine.
5)If its GPRS enabled check for the connectivity
6) Insert the sim into the phone & check
7)Send the message at time to multiple contacts
8) Make incoming and out going calls.
9) Try to Insert Duplicate Contacts .
10) Make incoming/outgoing call by Switch on the Speaker
BUT still it is not enough
1Q From what hegit the Mobile Phone get Dropped Ask to Interviewer ?
2Q what suface it got dropped liquid /solid ?
3Q What is the weight of cell phone matter on what height is got droop?
4Q Company of mobile phone also matter?
Q2 Write the Test case for Yahoo/Gmail/hotmail after login?
Ans
Testcase 1:To verify that when we click mail button whether
it list all the compose and check mail etc options or not
Description: click on the mail button
Expected result: Clicking of the mail button lists all the options check mail and compose etc
Testcase2: To verify that when we click check mail option in the mail list whether it takes you to inbox page or not
Description: click on check mail option
Expected result: check mail option opens the inbox page
Testcase3: To verify that when you click the inbox whether it displays u r received mails or not
Description: click the inbox button
Expected result: It lists all the mails u received in the inbox
Testcase4: To verify when u click the compose option in the mail button whether it takes u to compose page where u can compose and send mails
Description: click on the compose option in the mail button
Expected result: it takes u to compose page
Testcase5: To verify that after writing message when you click on 'Send' whether mail is sent to the address where you specified
Description: give mail id for which you want to send the message in the 'To' field and write the message in compose box and click on send button
Expected result: it sending the mail to the mail id which u are given in the TO field
Testcase6: To verify if you give wrong id whether it gives failure notice or not
Description: Give wrong mail id in compose page in the 'To' field and see what happens
HOW to Test AN Elevator / lift?
1.) In oder to test the lift press the buttons of the various floors to check its stop on not.
Description: click on the mail button
Expected result: Clicking of the mail button lists all the options check mail and compose etc
Testcase2: To verify that when we click check mail option in the mail list whether it takes you to inbox page or not
Description: click on check mail option
Expected result: check mail option opens the inbox page
Testcase3: To verify that when you click the inbox whether it displays u r received mails or not
Description: click the inbox button
Expected result: It lists all the mails u received in the inbox
Testcase4: To verify when u click the compose option in the mail button whether it takes u to compose page where u can compose and send mails
Description: click on the compose option in the mail button
Expected result: it takes u to compose page
Testcase5: To verify that after writing message when you click on 'Send' whether mail is sent to the address where you specified
Description: give mail id for which you want to send the message in the 'To' field and write the message in compose box and click on send button
Expected result: it sending the mail to the mail id which u are given in the TO field
Testcase6: To verify if you give wrong id whether it gives failure notice or not
Description: Give wrong mail id in compose page in the 'To' field and see what happens
HOW to Test AN Elevator / lift?
1.) In oder to test the lift press the buttons of the various floors to check its stop on not.
2.) check the emergency breaks must be provided to avoid acidents.
3) When lift is to much overloaded Alarm signal must be produced.
4) check that the doors of lift must be closed properly.
5) Floor number must be displayed on the Sreen of lift.
6)When the destination is reached ,illumanited butttons lights turn off
7)Lift is able to bear tolurance some load up to 10% of its load capacity .
8) Check the First come first serve policy . eg when Two persons enter in the lift going to upward Person A press 5th floor button and Person B press 16th floor .first the Lift Door open at 5th floor then 16th .
9) Check what happens when the lift is between in two floors.
10)Check the max load that it can bear .
11) Note the amount of time between first and last floor.
12. Lift doors reopen when there is some Obustruction between the doors.
13. Check the performence of the lift when working under the Power backup supply
Q if account balance less
than 5000 for a month ,account should become in active. if balance greater than
5000 account should b active. Write test cases for the above scenario?
Ans :
1.chk for a/c balance >5000 (6000) ,then a/c shld be active
2 chk for
a/c balance <5000 (4000),then a/c shlb in active.
3.chk for a/c bal is 5000
(5000),then a/c shld be inactive.
4.chk for zero balance,then a/c shld be
inactive.
5.if a/c bal is less than 5000,then the a/c holder have topay some fee
r fine.
6.if the person lost ATM card,then his/her a/c shld be inactive upon his
request.
Or
If account balance = 4999 then it should be inactive.
If account balance = 5000 then it should be inactive.
if account balance = 5001 then it should be active.
This is the boundary condition which points the error prone
ares by the developers. If these conditions are passed then
most of the conditions are
passed like 4000, 6000
Q Write Test
cases on uplaoding files ?
Ans
For
a single file.
1.Check
that how many current records/files are there.
2.Click
on add/Upload button by selecting a file.
3.Once
again check for the number of records prasent.
Check
for
that has newly uploded file for updatation.
U can do checking for
multiple files updatation
Negatively
1.Select
a file which is already uploaded and click on Upload
Check
the application behavior(Like It should display a
message
that the selected file already uploaded..It will
overwrite
Yes..No
switching ON power supply.
2.verify the coffee machine when power supply is improper.
3.verify the machine that all buttons are visible.
4.verify the indicator light that the machine is turned ON
after switching on power supply.
5.Verify the machine when there is no water.
6.verify the machine when there is no coffee powder.
7.Verify the machine when there is no milk.
10.Verify the machine when there is no sugar.
8.Verify the machine operation when it is empty.
9.Verify the machine operation when all the ingredients are
upto the capacity level.
10.Verify the machine operation when water quantity is less
than its limit.
11.Verify the machine operation when milk quantity is less
than its capacity limit.
12.Verify the machine operation when coffee powder is less
than its capacity limit.
13.verify the machine operation when sugar available is
less than its capacity limit.
14.Verify the machine operation when there is metal piece
is stuck inside the machine.
15.verify the machine by pressing the coffee button and
check it is pouring coffee with appropriate mixture and
taste.
16.verify the machine by pressing the Tea button and check
it is pouring Tea with appropriate mixture and taste.
17.It should fill the coffee cup appropriately i,e quantiy.
18.verify coffee machine operation with in seconds after
pouring milk,sugar,water etc.It
should display message.
19.Verify all the buttons operation.
20.Verify all the machine operation by pressing the buttons
simaltaneously one after the other.
21.Verify the machine operation by pressing two buttons at
a time.
22.verify the machine operation at the time power
fluctuations.
23.Verify the machine operation when all the ingredients
are overloaded.
24.Verify the machine operation when one of the ingredient
is overloaded and others are upto limit.
25.Verify the machine operation when one or some of the parts inside the machine are damaged
Q :Write Test case
for chair ?
Ans:
1.)
Check the functional Design of chair , must has four legs .
2.)
Check the Matrials of Chair Plastic , Metal and
wood.
3.)
Check
it has got wheels on bottom to move from one to other place.
4.)
If
the Chair has wheels move it on to the rough surface
5.)
Check
whether the chair has got enough space to be seat with fat or thin
people.
people.
6.)
Tilt
the chair on its backlegs put some pressure notic the effect .
7.)
Check
the material color/ strength.
8.)
check
its reaction on various liquid , heat , cold whether it molds in lowheat. Etc.
9.)
Check
arms of chairs are at proper height or not.
10) Notice the effect two
or more persons sit/stand on chair . to check how much load it bear
Q: Test case for coffee machine
1.verify the coffee machine is working properly or not byswitching ON power supply.
2.verify the coffee machine when power supply is improper.
3.verify the machine that all buttons are visible.
4.verify the indicator light that the machine is turned ON
after switching on power supply.
5.Verify the machine when there is no water.
6.verify the machine when there is no coffee powder.
7.Verify the machine when there is no milk.
10.Verify the machine when there is no sugar.
8.Verify the machine operation when it is empty.
9.Verify the machine operation when all the ingredients are
upto the capacity level.
10.Verify the machine operation when water quantity is less
than its limit.
11.Verify the machine operation when milk quantity is less
than its capacity limit.
12.Verify the machine operation when coffee powder is less
than its capacity limit.
13.verify the machine operation when sugar available is
less than its capacity limit.
14.Verify the machine operation when there is metal piece
is stuck inside the machine.
15.verify the machine by pressing the coffee button and
check it is pouring coffee with appropriate mixture and
taste.
16.verify the machine by pressing the Tea button and check
it is pouring Tea with appropriate mixture and taste.
17.It should fill the coffee cup appropriately i,e quantiy.
18.verify coffee machine operation with in seconds after
pouring milk,sugar,water etc.It
should display message.
19.Verify all the buttons operation.
20.Verify all the machine operation by pressing the buttons
simaltaneously one after the other.
21.Verify the machine operation by pressing two buttons at
a time.
22.verify the machine operation at the time power
fluctuations.
23.Verify the machine operation when all the ingredients
are overloaded.
24.Verify the machine operation when one of the ingredient
is overloaded and others are upto limit.
25.Verify the machine operation when one or some of the parts inside the machine are damaged
No comments:
Post a Comment