Tuesday, December 28, 2010

What are the cases to test a lift (Elevator)?


I have faced lots of interview questions in my life. Among them some are very interesting. Let me tell about one. How will you test a lift (Elevator)?
In the interview board I had answered the question with some cases. Later thought let’s summarize the cases. So following are the cases that a QA person will try to test the lift.
We can categorize the lift into two major parts:
A. GUI
B. Functionality


GUI cases:

1. Test the area of the lift is according to the requirement.
a. Floor length
b. Floor Width
c. Height
2. Material
a. Steel body & door
b. Glass body & door
c. Or a mix of both
3. Is the mirror there in all the four inside walls?
4. Is the set of buttons matches with the actual no. of floors in the building?
5. Is the air circulation window is at the right place?

Functionality:

1. Door opens or closes automatically
2. Up Arrow button moves the lift to upwards
3. Down arrow button moves the lift to downwards
4. Pressing the button of the specific number takes the lift to that specific correct floor.
5. Pressing two consecutive number, may be 4, 5….takes the lift first to 4th floor then to 5th floor.
6. Try random floors, 2nd, 4th and 7th floor, Should reach the correct floors sequentially.
7. Check if the air circulation is okay.
8. Verify the capacity to carry load
a. Try an empty lift
b. Try with load beyond the capacity
c. Generate load using some weights
9. Verify the speed.
10. Check the electric supply and consumption.
11. Verify the case what if the electricity is gone.
12. Verify the telephone is functioning well inside the lift
13. Verify the light is on
14. Verify the instructions for people are hang in there inside the lift.
15. Verify back up power supply is working fine.
16. Check the strength of the ropes.

****Never try with real people while testing ;), so here comes the preparation for dummy data, dummy weight in this case.

So looks like I am getting into it  . Actually testing of anything could be fun. A Tester needs to increase the capacity to think of different cases, multiple scenarios. I think this is one of the best qualities a tester should have.
I also need to work on it, I need to play with random things and think how to test it. Thanks to those two young girls who made me think.

No comments: