test case on lift
Here are list of Test Cases to verify the functionality of lift as mentioned below. After reviewing the below cases, you may come across more test cases depending upon how broadly you can think and create new scenarios.
-
Ensure that the lift moves to specific floor as the button of the floor is pressed.
-
Ensure that the lift stops when up/down buttons at particular floor are pressed
-
Ensure that in case of power failure, lift get halted to a particular floor.[This will further depend upon the requirements]
-
Ensure that lift is working in case button to open the door is pressed before reaching the destination floor
-
Ensure that if door is about to close and anybody places his/her foot between the doors, doors senses it and stops.
-
Verify the time duration for which door remain open by default[This will further depend upon lift to lift]
-
Ensure that door does not open while the lifts is moving
-
Ensure that door opens once it reaches the floor pressed by person
-
Ensure the it stops at each of the pressed floor. e.g. If person presses floor 1, 2 , 4 and 6, then it should stop first at floor 1 followed by 2, 4 and 6.
-
Ensure that lift gives warning/alarm in case capacity limit is reached
-
Ensure that lift stops giving alarm if capacity limit is reduced.
-
Ensure that inside lift users are prompted with current floor and direction information the lift is moving towards- audio/visual prompt
-
Ensure that door locks automatically and opens automatically when destination is reached
-
Ensure the First Come First Serve priority(e.g if 2 persons entered in 5th floor, one pressed the button to 10th and another pressed basement button)