Skip to the page

Testing fundamentals · Scenario

How would you test a lift

The interviewer asks

Forget software for a minute. How would you test a lift in a 20-floor office building?

Then

Follow-ups the interviewer asks next

  1. What would you ask before writing a single test?
  2. Group your tests: what are the main kinds?
  3. What are the boundary values here?
  4. You have ten minutes. Which test do you run first, and why?
  5. How would you test what happens when the power fails between floors?
  6. Two people press the call button on floors 3 and 15 at the same moment. What should happen, and how do you test it?
  7. If the lift's controller were software, which of these would you automate?
  8. What would you not test, and why?

The answer

What a strong answer covers

  • Clarifies first: passenger or goods lift, capacity (kg and persons), floors and basements, how many lifts in the group and the rule for which one answers a call, who uses it (office, hospital, mall), safety rules it must meet.
  • Groups the tests: functional (call buttons, car buttons, doors open and close, floor display and announcements), safety (overload alarm and refusal to move, door sensor reopens on an obstacle, emergency stop, alarm button, intercom, fire mode), boundary (lowest and top floor, exactly at capacity and just over, door timing), performance (wait time at peak, speed, stopping level with the floor), usability and accessibility (button height, Braille, audio, doors open long enough for a wheelchair), reliability (thousands of cycles).
  • Odd and negative cases: pressing every button, pressing the current floor, pressing Open while doors close, holding the door, a call during maintenance mode.
  • Power failure: the car must not fall; it moves to the nearest floor on backup power or stays safely with light, alarm and intercom working; doors never open between floors.
  • Prioritises by risk: safety first, because a failure hurts people; cosmetic issues last.
  • States assumptions aloud and says the full list could pass a hundred cases, so it shows structure, not a random list.

The red pen

Common traps

Avoid:jumping into random cases; never asking about capacity or the kind of lift; forgetting safety and accessibility; claiming everything can be tested without saying how (overload is tested with weights, not people).

Practise this out loud

Say your answer out loud to an AI interviewer that follows up, and get a score for it.

Practise by voice

Practise questions like this out loud

Sign up and start with a 15-minute interview with the full report, and an English conversation. No card needed.

Start your free interview