Hi Testers! Have you faced this type of test scenario in your interview? If you are looking for positive and negative “test scenarios for Lift“, then you are in the right place. In this article, we will discuss the requirement questions that should be asked in order to write test scenarios for Lift, Positive Test scenarios and Negative Test scenarios.
The Below Requirement Questions Should Be Asked In Order To Write Test Scenarios For Lift.
Table of Contents
In order to better grasp the needs, we can ask the following questions:
- What are the basic functions of the lift (e.g., moving between floors, opening and closing doors)?
- What safety features are in place (e.g., weight limit, obstruction sensors, emergency alarm)?
- How does the lift handle power failures or other emergencies?
- Are there any special access control features (e.g., keycard entry for certain floors)?
- How quickly should the lift doors open and close?
- How is the lift system tested for safety and functionality?
- What is the expected reliability and uptime of the lift system?
- How does the system ensure that unauthorized personnel cannot access restricted floors?
- What happens if an obstruction is detected by the sensors (e.g., in the path of closing doors)?
- Are there any audio or visual indicators to assist passengers (e.g., floor announcements, floor displays)?
Positive Test Scenarios For A Lift
In this section we will see positive test scenarios.
- Basic Operation:
- Verify that the lift can move between floors when a valid destination floor is selected.
- Door Operation:
- Verify that the lift doors open when arriving at a floor and close before moving.
- Overload Handling:
- Verify that the lift allows entry if the weight is within the specified limit.
- Directional Input:
- Verify that the lift moves in the direction of the selected floor.
- Button Illumination:
- Verify that the buttons inside the lift illuminate when pressed.
- Floor Announcement:
- Verify that an audio or visual announcement is made when the lift arrives at a floor.
- Floor Recall:
- Verify that if a button is pressed from inside the lift, the lift returns to that floor, even if other floors were selected before.
- Response Time:
- Verify that the lift responds promptly when a button is pressed.
- Sensor Operation:
- Verify that the lift’s safety sensors prevent the doors from closing if an obstruction is detected.
- Automatic Door Closing:
- Verify that the lift doors automatically close after a set period of time.
Negative Test Scenarios for a Lift
In this section we will see negative test scenarios.
- Overweight Capacity:
- Verify that the lift does not allow entry if the weight limit is exceeded.
- Verify that an error message is displayed when attempting to enter an overloaded lift.
- Stuck Door:
- Verify that the lift does not move if the doors are stuck in an open position.
- Verify that an error message is displayed when attempting to operate the lift with stuck doors.
- Unresponsive Buttons:
- Verify that the lift does not respond if floor buttons inside the lift are unresponsive.
- Verify that an error message is displayed indicating the unresponsive buttons.
- Incorrect Directional Input:
- Verify that the lift does not move in the opposite direction of the selected floor.
- Verify that an error message is displayed when attempting to select an incorrect floor direction.
- Sensor Obstruction Test:
- Verify that the lift doors do not close even if an obstruction is simulated in the door’s path.
- Verify that the lift displays an error indicating an obstruction.
- Emergency Stop Failure:
- Verify that pressing the emergency stop button does not halt the lift’s movement.
- Verify that the lift continues to move despite the emergency stop button being pressed.
- Door Reversal Test:
- Verify that the lift’s doors automatically reopen if an obstruction is detected during closing.
- Verify that the lift displays an error indicating a door obstruction.
- Power Failure Handling:
- Verify that the lift does not safely stop and open its doors in case of a power failure.
- Verify that the lift displays an error message indicating the power failure.
- Incorrect Floor Announcement:
- Verify that an incorrect audio or visual announcement is not made when the lift arrives at a floor.
- Verify that the lift displays an error if the floor announcement system malfunctions.
- Floor Recall Priority:
- Verify that the lift does not prioritize a floor button pressed inside the lift over previously selected floors.
- Verify that the lift does not immediately change direction based on an inside button press.
Final Words
So here we have covered requirement questions that should be asked in order to write test scenarios for Lift, Positive Test scenarios and Negative Test scenarios