Test cases for Lift Hi, Lift are always as per requirements. So, It will not better to start with test cases without requirements. Here I am taking the simplest example of metro rail lift used to get from Ticket floor (TF) to Platform floor (PF). Requirement is passenger should able to use lift to go and come back from Ticket floor to platform floor. Precondition is passenger is on TF. 1) When light is on for the lift and no request has been made to go from TF to PF, button light should Off. 2) When passenger made request for PF, button light should ON. 3) When button light is ON and if lift is available at TF, the door should open. 4) When button light is ON and if lift is not available at TF, the indicator light should indicate the movement of lift from PF to TF. 5) When door opens, it should made a sound. 6) When passenger is in the lift, if passenger press the hold button lift door should not close. 7) If passenger press the lift close button, it should close immediately otherwise should close automatically after fixed time. 8) If lift fan is ON, and passenger press FAN button it should get OFF or vice versa. 9) Try to call using CALL button to help persons using lift. 10) Now test for overload, if lift is for 10 persons or 100KG weight, try for 11 or 12 persons to use the lift at one time. 11) Lift door should not open when lift is moving, even after pressing lift opening button. 12) Try to use Pass button of the lift to overcome an request. 13) Let lift is at PF, it should not move to TF if no request made at TF and vice versa. 14) Let passenger get in lift from TF and starts moving to PF, then if other request made to PF, then lift should complete first request first and come back to TF after PF. 15) If electricity get gone, Lift should not make a major jerks and starts working on emergency backup. Friends, there can be above 100 test cases depending on requirement. I just write the major test cases for simplest lift requirement. Please comment if any query.
Test cases for Lift::
1. Capacity of the lift
2. usability (whether its easy to operate or not)
3. Functionality( whether it functions properly or not)
4. comfort (whether a person is comfortable in it or not)
5. height
6. weight
7. volume
8. time it takes to reach every floor
9. test for maximum capacity of the lift
10. test for more than max capacity
11. check the working in case of a power failure