Test Cases For Elevator / Lift

Elevator Test Cases Scenario Template: In the domain of software testing, creating robust test cases for lift systems, also known as elevators is essential to ensure their reliability and functionality. Lift test cases will be documented in Excel spreadsheets, leveraging best practices from testing experts like Softwaretestingo.

Test cases for mobile phone testing will also be included given the prevalence of apps for controlling lifts. By testing under a variety of conditions, the test cases aim to flush out issues, ensuring reliable and safe lift performance.

For this reason test cases for elevators encompass a wide range of considerations, from evaluating the lift’s basic functionality and performance to scrutinizing specific scenarios such as the lift not working or encountering negative situations. These cases can be documented meticulously, even in an Excel sheet, for thorough analysis.

Post On:Test Cases For Lift / Test Cases For Elevator
Post Type:Test Case Template
Published On:www.softwaretestingo.com
Applicable For:Freshers & Experience
Join Here:Software Testingo Group

Both lift test cases and elevator test cases will be provided to evaluate specifications like lift capacity, dimensions, speed, doors, controls, safety mechanisms, lift specifications, floor design, interior components, button functionality and compliance with relevant standards. Performance metrics under load and failure scenarios will also be tested. Additionally, environmental factors like power loss will be considered across positive and negative test cases.

Additionally, the testing process extends to various lift types, including manual lifts, box lifter machines, and those found in office installations, ensuring a comprehensive approach. By thoroughly testing critical lift components and specifications under a wide variety of conditions, these test cases identify gaps that impact lift safety and reliability.

The test cases ultimately ensure lifts operate effectively in an office setting across nominal and edge use cases. Concise test case documentation enables efficient evaluation during test execution.

What scenarios should be considered while writing test cases for an elevator(Lift)? Some of the use cases would be:

  • The elevator is capable of moving up and down.
  • It stops at each floor.
  • It moves precisely to that floor when the corresponding floor number is pressed.
  • It moves up when called from upward and down when called from downward.
  • It waits until the ‘close’ button is pressed.
  • If anyone steps in between the door at the time of closing, the door should open.
  • No breakpoints exist
  • More use cases for the load that the elevator can carry (if required)

Also, it is essential to test. When two people are accessing the lift from two different floors, the lift should go to the nearest floor in its way (e.g., if the lift is on the 5th floor, moving towards the 8th floor, and if two persons are one from the 7th floor and one from the 2nd-floor presses button, then lift should go 7th floor first and then only to 2nd floor)

In the above-said scenario, a decent algorithm would be present on where the elevator should go, taking the following parameters.

  • Where the lift stands (nearest floor)
  • In which direction the elevator goes (upwards or downwards)
  • Which direction the user wants to go (upwards and downwards)

So, the permutations of the 2nd and 3rd will give you more test cases.

Test Case For Lift

You can develop plenty of test scenarios, but I suggest the following test scenarios for the easy-to-remember way.

Capacity

Assume that the lift takes a maximum weight of 300 kg. So, by applying the boundary value analysis, we can decide on more test cases.

  • How much weight can it take to go up?
  • How much weight can it take down w.r.t to a specified weight?

In The interview, if the interviewer wants to confuse you, then they may ask you the positive and negative test cases for lift, test cases for the lift in an excel sheet, negative test cases for lift, the test case for lift, test scenarios for lift, lift negative test cases, test cases of lift and test scenarios on the lift.

Usability Test Cases For Lift

A lift has a number pad and a few controls to operate itself.

  • Are the controls self-explanatory?
  • Are the controls usable by a blind person?
  • Are the controls guided by voice messages?

Functionality Test Cases Of Lift

  • Is the functionality as per specification?
  • Is the control functioning as it is supposed?
  • What happens when it is overweight? Does it still work?
  • What happens if the auto-close functionality is not working?

Comfort Test Cases Of Lift

  • Is the control pad comfortable to use?
  • Is the experience inside a lift make the person uncomfortable due to gravity pull?
  • Is the lift making noise while going up or down?

Test Scenarios For Lift

  • How much time does it take to reach every floor?
  • How much time does it take from the top of the building to the ground floor?
  • How many people can it take regardless of their weight?
  • What happens when it takes more people than capacity?
  • What happens to the people inside the lift when a power failure happens?
  • How can many runs lift make on power backup?
  • Does it show the right number on the floor?
  • Does the lift get blocked when more than one floor makes a request?
  • Check which material the first lift is made with. (Is it made of steel or iron.)
  • Check what type of door is grill type or door type.
  • Check which side of the door button switchboard is there or not.
  • Check-In that switchboard, how many buttons are there?
  • Check for the appropriate no of buttons.
  • Check when I touch the open button if that lift is opening or not
  • Check What happens if I touch the open button twice.
  • Check What happens when I press the open button while the lift moves in the middle of the two floors.
  • Check What happens when I press the open button for some time.
  • Check for the sound when the lift is opening.
  • After entering the lift, press the up button. In which direction am I moving?
  • After entering the lift, press the button. In which direction am I moving?
  • When a person is in the lift, is there any light?
  • How many persons simultaneously carry the lift in the sense of moving time?
  • Check Without load. Is it moving if we press the up button?
  • What happens without specifying the floor number if we press the up or down button?
  • What happens if the lift is in overload mode (overload sound will come before moving, or it moves).
  • Without load, what happens if we press the up button and specify the floor number?
  • After entering the lift, do doors automatically close, or do we have to close them?
  • When the lift is on the ground floor, we go inside the lift and specify floor number zero(ground floor). Then what is happening?
  • After getting into the lift, one person is there. He wants to go up, but we want to go down already. He specified the floor number before we entered the lift. Afterward, we determined our floor number. Then, what happened?
  • When we are outside, we want to open the door. But inside, a person wants to close the door while both operate the lift. What will happen?
  • Enter the lift, specify the floor, say four, and check for the corresponding floor.
  • Check Lift is moving and the power breaks off. Does the alarm blow in the control room during a power break-off?
  • Check for the case of how the inside person informs the lift man that he got stuck in the lift (if there is a phone button, does it work). Also, check for the response time to start the lift again.
  • When a person is in the lift, is there any light?
  • How many persons simultaneously carry the lift in the sense of moving time?
  • Without load, is it moving if we press the up button?
  • What happens without specifying the floor number if we press the up or down?
  • Without load, what happens if we press the up button and specify the floor number?
    Does the door close itself, or does it have to close manually?
  • If the door closes automatically, check for the closing time.
  • If the door closes automatically, also check for the sensor. Suppose the closing time is 2 min, and it passes, and people are still getting in. What happens? Does the door get closed, or do you wait for the people to get in?
  • What happens when you press the same floor number on which the lift already exists?
  • After getting into the lift, one person was there. He wanted to go up, but we wanted to go down already; he specified the floor number before we entered the lift. After that, we determined our floor number, so what will be the priority of the lift?
  • The lift is empty and is moving downwards. I entered and wanted to go up. Is there a button to change the lift’s direction, and is the button working?
  • Is the floor number displayed inside the lift correctly?
  • When the outside person wants to open the door, the inside person wants to close the door simultaneously.

Lift Test Scenarios

  • Verify the dimensions
  • Verify the type of door is as per the specification
  • Verify the type of metal used in the lift interior and exterior
  • Verify the capacity  in terms of the total weight
  • Verify the buttons in the lift to close and open the door and numbers as per the number of floors.
  • Verify that lifts move to the particular floor as the floor button is clicked.
  • Verify that lifts stop when up/down buttons on a particular floor are pressed.
  • Verify if there is an emergency button to contact officials in case of any mishap.
  • Verify the performance of the floor – the time taken to go to a floor
  • Verify that it doesn’t free-fall in case of a power failure and gets halted on the particular floor.
  • Verify lifts are working if the door button is pressed before reaching the destination floor.
  • Verify that in case the door is about to close and an object is placed between the doors, the object again opens or not.
  • Verify the time duration for which the door remains open by default.
  • Verify if the lift interior has proper air ventilation
  • Verify lighting in the lift
  • Verify that at no point should the lift door should open while in motion.
  • Verify that there should be a backup mechanism to safely get into a floor or backup power supply in case of power loss.
  • Verify that in case the multiple floor number button is clicked, it should stop at each floor.
  • Verify that if the capacity limit is reached, users are prompted with a warning alert- audio/visual.
  • Verify those inside users are prompted with the current floor and direction information the lift is moving towards- audio/visual prompt.

Positive Test Case for Lift

  • I want to press the door open button.
  • When the door opens, entry into the lift
  • Press the number button on which floor you want to go
  • Press the close button.
  • Check how much weight lift can be bear up.
  • If the fan is available on the switch of the fan.
  • If the light is available, then switch on the light.
  • Observe how long it would take to reach our floor(which number button we press when we enter the lift).
  • When we reach our floor, observe whether the door is open.
  • Observe when we come out from the lift, door closing operation.

Negative Test Case For Lift

  • Press the enter button when we are outside.
  • Observe door-opening operations.
  • Wait outside for some time when the door is opened.
  • When inside, observe door closing operations without pressing the closing button.
  • Observe door operations when we middle in the door.
  • Check lift is working when the power is off.
  • Observe the lift working when the power is low voltage.
  • Observe the lift working operations when a heavy load is in the lift.
  • Verify door-closing operations when the heavy load is in the lift.
  • Check if the power is suddenly off when the lift is working.
  • Add one more person than the specified weight and check the response.
  • Add many people regardless of weight and check the volume limitations.
  • Create smoke or fire inside the lift and check the response.
  • Try pressing the open button while the lift is moving.
  • Press the stop button before reaching the specific floor.
  • Put small obstacles near the sensors that detect auto-close functionality.

Another Way:

I am going to divide my test cases into these four disciplines

Philosophy
Marketing
Economy
Operation Management
Test Cases For Elevator

Test Cases For Elevator

Philosophy

  • Verify the height, width, and life volume per the requirement.
  • Verify that buttons for the closing lift, opening lift, fan, emergency, and all floor numbers should be on the button panel.
  • Verify the presence of a display where the floor number appears
  • Verify that the floor number is being announced on each floor
  • Verify the light and aroma, along with some instrumental music
  • Verify that the maximum number of people and weight is written on the wall and verify all emergency instructions.
  • Verify the up and down buttons outside the life
  • Verify the presence of the sensor

Economy

  • Verify power used in operation since this is not the main concern here, so I am just leaving this part.

Operation

  • Verify that the lift can move up and down
  • Verify that the lift can stop on floors pressed on the button panel.
  • Verify that the lift closes when the close button is placed or should close once after a few times as per the manual time.
  • Verify that the fan is working by pressing the respective button
  • Verify the sensor
  • When the lift is going to close, someone has just put any object or body parts between the lift doors.
  • Verify the maximum weighing capacity of life by putting the weight
  • Verify that when the weight exceeds the standard, then it should give some alert message, or some alert sound should ring.
  • Verify that the light and fan are running at power failure
  • Verify the jerk on power failure
  • Verify the speed of the lift. It shouldn’t be fast.
  • Verify that the elevator stops on the right floor, i.e., if users click on the 2nd floor, then lifts should stop on the 2nd floor, not the 4th floor.
  • Verify the landing speed of the lift
  • Verify the time between two successive floors.
  • Verify that lift doors can’t be opened when the lift is moving down or upward.
  • Verify that lift doors are closed when no one is using it
  • Verify that once the lift has crossed the specific floor and some person has to click to open the elevator, the lift should begin when the lift comes down.

Some test cases that are based on Reliability:

  • Verify the working of the lift on power failure
  • Verify the working of the lift once the power comes
  • Verify the working of the lift once the weight exceeds the standard weight. 

Marketing

  • This is mainly done if we are testing lift for sale purposes.

Conclusion

The documented test cases aim to thoroughly evaluate lift and elevator functionality, safety, and reliability under a wide variety of conditions. By leveraging testing best practices and covering both positive and negative scenarios, critical deficiencies can be identified prior to lift installation and operation.

We welcome any additional test cases or testing approaches that can further validate lift performance and improve overall safety. Please provide any feedback, recommendations, or additional test cases that you feel should be included. With collaborative input, we can produce testing documentation that becomes an industry benchmark for lift testing and certification. Ensuring rider safety and reliable lift operation remains paramount. We appreciate any partnership and participation from testing experts as we refine and expand these test case descriptions and test procedures.

Avatar for Softwaretestingo Editorial Board

I love open-source technologies and am very passionate about software development. I like to share my knowledge with others, especially on technology that's why I have given all the examples as simple as possible to understand for beginners. All the code posted on my blog is developed, compiled, and tested in my development environment. If you find any mistakes or bugs, Please drop an email to softwaretestingo.com@gmail.com, or You can join me on Linkedin.

1 thought on “Test Cases For Elevator / Lift”

Leave a Comment