Showing posts with label test. Show all posts
Showing posts with label test. Show all posts

Jan 22, 2009

Given a canoe, what test cases would you write for it

Given a canoe, what test cases would you write for it.
Assumptions:
It is an open top Canoe and it is paddled by two persons
Test Cases:
1. Basic Functionality Test Cases:
a. Two persons in a small lake, pond, big lake, creek, river
b. Paddling along the water flow, across the water flow and against the water flow
c. Paddling in deep waters, very less water level, stagnant water, muddy water etc (Almost Same as a)
2. Replacement of Paddling System:
Replace one person with one machine for paddling, two persons replaced by two machines for paddling, two persons replaced by Single motor to paddle.
3. Load Testing:
a. Use the Canoe continuously for very long time
b. If there is a motor to paddle, then how good is the motor for continuous usage ? Is there any need of back up motor ?
4. Material Testing:
a. How good or bad is the material used to make the Canoe ? Whats it's resistance to water and How inert is the material to the water and salts associated ? If the canoe is used in the polluted water, how good is the material ?
b. How good is the paint used for paintaing the canoe ? Whats it's resistance to the water ?
5. Portability of Canoe :
If a Canoe is designed for a lake, can it be used in a river or Sea or Ocean ?
6. User friendliness:
a. What are the dimensions of the Canoe?
b. whats the weight of the canoe
c. Is it easy or difficult to move the canoe from place to place
d. What is the resistance of Canoe with Temperature and weather changes
7. Security
a. Is it safe to use tha canoe during the rainy season ?
b. How is or difficult to close a whole formed at the bottom of the canoe ?
c. Is it easy for some one to steal the canoe ?
d. Is it easy to tie the canoe to top of a car or use it as a trailer?
e. In case of fire, will the Canoe catch the fire easily or is it heat resistant ?
d. If one person becomes ill, can one person paddle it safe to reach the bank of the lake or river
e. If both persons in the Canoe fall sick, will the canoe remain afloat in the water until a rescue team jumps in ?
f. Can it be used in the combinations of man & motor for paddling
8.User Testing for basic features:
a. How are the cusions to seat , How much is the leg room and how much free space is there to store the belongings of the persons who are usinthe Canoe
b. Can they cook in the Canoe ? Can they store food & water in the canoe?If so for how many days ?
c. Can the paddlers exchange their positions?
d. If the paddlers wanna carry their baby,..what are the provisions for keeping baby seat ? Can baby easy jump in to the water from the canoe ? Can the baby dance / play / jump inside the canoe ?
e. Pet Policy
9. Expanding the size of Canoe :
a. Is it easy or difficult to increase the capacity of a canoe in terms of the number of persons ? If so, what are the safetly measures to be taken care ?
b. How many motors are needed and Hoa many passangers can go at a time and what are the activities they can do in the Canoe.
10. Thinking Out of Box:
Can you make a canoe out of Skateboards or Vice Versa?
What happens if an elaphant put's his leg on Canoe?

Test white board eraser

Test white board eraser
1. Write some thing with all color sketches and see if you can erase
2. Use a permanent marker and try erasing
3. Leave the writing on the board for a week or so and try erasing
4. It's common to carry coffee / soft drinks / water for meetings. If either of them spills, see if you can use the same eraser.
5. Test with different varieties of boards.
6. Try erasing the things written by a piece of chalk

Interviewer showed me a snapshot of their application UI and me how to test it

Interviewer showed me a snapshot of their application UI and me how to test it
1. Start with opening the application depending on if its a web based application or a desktop based application.
2. Start several instances to see the effect.
3. Aesthetic should be according to the design doc
4. Test all the functionality available on the UI one by one and then in various combinations.
4. See if all the controls on the UI are working fine.
5. Close it and restart it to make sure on closing all the resources are released.
6. Try to hang the UI by pressing some control repeateadly.

Test a bottle of soysauce

Test a bottle of soysauce.
Hint: Test these categories:
Accessibility - accessibility, platform
Robust - stress, load
Operation - acceptance, performance, boundary
Security - security/safety

how to test a pen

how to test a pen
Security Test Cases :-
1) Testing the tip of the pen against different surfaces to check whether it can be harmful to the skin/body part if pinned by force by mistake.
2) Test whether the body of the pen is made of shock/static proof material.
3) Shake the pen well and then try to write.
4) Put the pen in a contact with a surface where it can possibly leak and see whether the ink is leaked or not.
5) Put the pen in the reverse direction for a while and then try to write.
Functional test Cases :-
1) test whether the pen can be used to write on different surfaces or not.
2) Check whether pen is properly open/closed or not.
3) Check whether the pen writes with equal intensity on each surface or not.
4) Check whether the writings made by the pen is of good readable form or not.
5) Test whether pen works with all the different kind of inks it supports.
6) Test whether the pen works well with a refilled ink or not.
Stress/Preformance Test Cases :-
1)Try to open/close the pen multiple times in quick succession and then try to write with it.
2) Try to write with a pen constantly for a long time.
3) Write no. of times ( lets say 100 times ) on 5 different surfaces and test the efficiency of the nib after that.

How would you test a vending machine

How would you test a vending machine.
Here are a few aspects to test it. You could come up with tons of tests with time.
1. Test with insufficient money
a. You should not be able to buy anything
2. Test with more money that needed
a. Try buying some random items (or all)
b. Use all dollar bills and coins
c. Use only coins
d. Use only dollar bills
3. Test with exact money
a. Do all steps mentioned in 2
4. Enter money and cancel. Verify you get all money back.
5. Order an item that no longer is available
Physical (Stress)
a. Press button hard, soft
b. Press button incessantly after paying/before paying
c. Try pushing the machine down
d. Place heavy/light items inside the machine (if you have access)

What are the problems with User Interface Design in a project?

What are the problems with User Interface Design in a project?
It should be user friendly obviously
What the user sees is what they get
Use of simple English terms
Customizable
Need to think about the complexity and performance overhead for achieving the user friendliness...
Related to user interface there can be many things like deciding color, intuitive etc...