The document outlines a series of test cases for an elevator system, detailing the expected and actual results for various functionalities such as door operations, movement to floors, emergency features, and button responses. Each test case includes a description, pre-conditions, test steps, expected results, actual results, and status, with all tests passing successfully. The tests ensure the elevator operates correctly under normal and emergency conditions, confirming safety and reliability features.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
31 views11 pages
Ste Test Cases
The document outlines a series of test cases for an elevator system, detailing the expected and actual results for various functionalities such as door operations, movement to floors, emergency features, and button responses. Each test case includes a description, pre-conditions, test steps, expected results, actual results, and status, with all tests passing successfully. The tests ensure the elevator operates correctly under normal and emergency conditions, confirming safety and reliability features.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11
Test Case ID Test Case Description Pre-Conditions Test Steps Expected Result Actual Result Status
1. Press the "Up" button
inside the elevator. 2. Wait for the door to respond. 3. Observe the movement of the door. The elevator door Door opened Elevator Door Opens with Elevator is powered on 4. Verify that the door opens should open after within 3 TC01 Button Press and idle fully. pressing the button. seconds. Pass
1. Press the "Close" button
inside the elevator. 2. Wait for the door to respond. 3. Observe the door’s The elevator door Door closed movement. should close after smoothly Elevator Door Closes 4. Ensure that the door pressing the "Close" without TC02 after Inside Button Press Elevator door is open closes fully. button. obstruction. Pass 1. Press the button for floor 2. 2. Wait for the elevator to respond. 3. Verify that the elevator Elevator moved starts moving. The elevator should smoothly and Elevator Moves to Elevator is at the ground 4. Ensure that the elevator move to the selected stopped at floor TC03 Desired Floor floor stops at floor 2. floor and stop. 2. Pass 1. Press the "Floor 3" button. 2. Wait for the elevator to start moving. 3. Observe the elevator’s stopping behavior. 4. Verify that the elevator The elevator should Elevator stopped Elevator Stops at Floor Elevator is on the ground stops exactly at floor 3 stop precisely at exactly at floor TC04 Without Overshooting floor without overshooting. 1. Press the button for the floor 3. 3, no overshoot. Pass highest floor (e.g., 10th floor). 2. Wait for the elevator to start moving. 3. Verify that the elevator Elevator moved continues moving upwards. The elevator should to the 10th floor Elevator Reaches Highest Elevator is at the ground 4. Ensure that the elevator stop at the highest and stopped as TC05 Floor floor stops at the 10th floor. floor. expected. Pass
1. Press the "Floor 1" button.
2. Wait for the elevator to start moving down. 3. Observe the elevator’s Elevator moved downward movement. The elevator should downward and Elevator Moves Elevator is at the top 4. Verify that the elevator move downward and stopped at floor TC06 Downwards floor stops at the 1. Press floorbutton 1. for floor stop at floor 1. 1. Pass 4. 2. Wait for the elevator to move. 3. Observe if the elevator stops at floor 4. The elevator should 4. Verify that the elevator stop at floor 4 Elevator stopped Elevator Stops at Middle Elevator is between floors stops at floor 4 without without correctly at floor TC07 Floor Correctly 4 and 5 overshooting. overshooting. 4, no overshoot. Pass 1. Press the "Emergency Stop" button inside the elevator. 2. Wait for the elevator to stop. 3. Observe the behavior of The elevator should the elevator. stop immediately Elevator stopped Emergency Stop 4. Verify that the elevator upon pressing the within 2 TC08 Functionality Elevator is moving stops immediately. emergency stop. seconds. Pass 1. Place an object in the door’s path. 2. Wait for the door to attempt to close. 3. Verify that the alarm The elevator alarm Alarm sounded, sounds. should sound, and and the door Elevator Alarm Sounds Elevator door is 4. Verify that the door opens the door should open opened TC09 when Door is Obstructed attempting to close again. 1. Place an object in the again. automatically. Pass door's path. 2. Wait for the door to detect the obstruction. 3. Observe the door's Door reversed reaction. The door should and opened Elevator Door 4. Verify that the door reverse its motion if when Automatically Reopens automatically reopens after an obstruction is obstruction was TC10 After Obstruction Elevator door is closing detecting an"Floor 1. Press the obstruction. 2" button detected. detected. Pass while the door is open. 2. Wait for the elevator to respond. 3. Observe the elevator's reaction. 4. Verify that the elevator The elevator should Elevator did not Elevator Does Not Start does not start moving with not move with the move with the TC11 with Door Open Elevator door is open the door open. door open. door open. Pass 1. Simulate a power outage (cut power). 2. Wait for the elevator to respond to the power loss. 3. Observe the elevator’s emergency lighting system. Emergency light Elevator's Emergency 4. Verify that the emergency The emergency light turned on Light Turns On During light turns on during the should turn on during immediately TC12 Power Outage Elevator is in operation outage. a power outage. after power loss. Pass 1. Press each floor button one by one. 2. Wait for the elevator to The elevator should respond. respond to button Buttons lit up 3. Observe if the floor presses by lighting up correctly, and buttons light up. the button and elevator moved Elevator Buttons Respond 4. Ensure that the elevator moving to the to the selected TC13 to Press Elevator is idle moves 1. Presstothe the"Stop" selected floor. button selected floor. floors. Pass while the elevator is moving. 2. Wait for the elevator to stop. 3. Observe the control panel. The control panel 4. Verify that the control should respond Control panel panel responds correctly properly when the responded by Elevator Control Panel (e.g., stops or shows an "Stop" button is stopping the TC14 Works During Operation Elevator is moving error). 1. Wait for the elevator to pressed. elevator. Pass approach the destination. 2. Observe the door’s behavior as the elevator reaches the floor. The elevator door Door opened 3. Verify that the door opens should open immediately automatically once the automatically after after the Elevator Door Opens at Elevator is approaching elevator stops. the elevator stops at elevator TC15 Destination Floor destination floor 4. Ensure no delay in door the destination floor. stopped. Pass 1. Press the button for floor 3. 2. Wait for the elevator to reach floor 3. 3. Observe the elevator’s stopping behavior. Elevator stopped Elevator Stops at the 4. Verify that the elevator The elevator should precisely at floor Requested Floor without Elevator is on floor 2, and stops exactly at floor 3 stop precisely at 3, no TC16 Overshooting floor 3 is selected without 1. Press the "Emergency Call" floor 3. overshooting. overshooting. Pass button. 2. Wait for the communication system to respond. The communication 3. Verify if the system should work Phone system Emergency communication system is and connect to connected, able Communication System operational (e.g., a call is emergency to communicate TC17 (Phone) is Operational Elevator is in operation established). 1. Press the "Close Door" personnel. with security. Pass button inside the elevator. 2. Wait for the door to attempt closing. 3. Observe the behavior if The elevator should the door fails to close (due to emit a warning Elevator door remains obstruction). sound and reopen Warning sound Elevator Warning Sounds open after the door close 4. Verify that a warning the door if it is emitted, door TC18 When Door is Left Open button is pressed sound 1. Pressis the emitted, "Floorand the 3" button. obstructed. reopened. Pass 2. Load the elevator with the maximum allowed weight. 3. Verify that the elevator operates normally. Overload 4. Load the elevator beyond The overload indicator the maximum weight limit. 5. indicator should activated Overload Indicator Check if the overload activate if the weight correctly when TC19 Activates Correctly Elevator is empty indicator activates. exceeds the limit. overloaded. Pass 1. Press the "Floor 4" button. 2. Wait for the elevator to start moving. 3. Open the elevator door while the elevator is in transit. The elevator should Elevator stopped Elevator Stops Moving if 4. Verify that the elevator stop moving if the immediately Door is Opened During Elevator is moving stops immediately when the door is opened while after door was TC20 Operation between floors door is opened. in transit. opened. Pass
1. Press the "Floor 3" button.
2. Simulate a power loss by cutting off the power. The control panel Control panel 3. Restore the power after a should reset and reset and few seconds. allow the user to allowed re- Elevator Control Panel 4. Verify that the control press the floor selection of TC21 Resets After Power Cycle Elevator is powered on panel resetsacorrectly. 1. Simulate power outage. button again. floor. Pass 2. Verify the elevator’s behavior. 3. Ensure that the emergency battery powers the elevator The emergency for a smooth stop. battery should power Emergency Emergency Battery 4. Verify that the elevator the elevator during battery worked, Powers the Elevator reaches the nearest floor and an outage and allow elevator stopped TC22 during Outage Elevator is in operation doors open. a safe stop. safely at floor. Pass 1. Press the "Floor 5" button inside the elevator. 2. Wait for the button light to respond. The button should 3. Observe if the button light illuminate and turn Button up. off once the elevator illuminated and Buttons Illuminate when 4. Verify that the light goes reaches the selected turned off at TC23 Pressed Elevator is idle out after the floor is reached. floor. floor 5. Pass 1. Press the "Emergency Stop" button. 2. Wait for the elevator to stop. 3. Observe the alarm. The alarm should Alarm was 4. Verify that the elevator’s sound and remain on audible, Elevator Alarm is Audible alarm is audible and during emergency remained on TC24 During Emergency Elevator is idle continuous. 1. Press the button for floor stops. until reset. Pass 4. 2. Wait for the elevator to reach floor 4. 3. Observe the leveling mechanism. The elevator should 4. Verify that the elevator stop level with the Elevator aligned Verification of Leveling stops at the correct level floor to allow level with floor, TC25 Mechanism at Each Floor Elevator is moving with theany 1. Press floor. floor button smooth entry. no gap. Pass while the door is open. 2. Observe the elevator’s behavior. 3. Verify that the elevator does not start moving until The elevator should Elevator Prevents the door is closed. not start moving Elevator did not Movement if Door is Not 4. Wait for the door to close until the door is move until the TC26 Closed Elevator door is open before movement begins. closed. door closed. Pass 1. Press the "Floor 4" button multiple times rapidly. 2. Wait for the elevator to respond. 3. Verify that the elevator The elevator should Elevator Stops if Floor stops at floor 4 once only. stop at floor 4 once Button is Pressed 4. Ensure the button light and not repeat the Elevator stopped TC27 Multiple Times Elevator is idle does not blink repeatedly. request. at floor 4 once. Pass 1. Press the "Emergency Button" inside the elevator. 2. Observe the response. The elevator should 3. Verify that the elevator stop and open the stops immediately. door immediately Elevator stopped Door Opens if Emergency 4. Check that the door opens after pressing the and door opened TC28 Button is Pressed Elevator is moving after the stop. emergency button. as expected. Pass 1. Press the "Floor 5" button. 2. Wait for the elevator to start moving. 3. Observe the floor number The elevator display display inside the elevator. should show the Floor number 4. Verify that the floor correct floor number updated Elevator Displays Correct number changes correctly as as the elevator correctly as the TC29 Floor Number Elevator is idle the elevator 1. Press moves. any floor button to moves. elevator moved. Pass initiate movement. 2. Attempt to press the "Door Open" button while the elevator is moving. 3. Observe if the door opens during transit. The door should not Door did not Elevator Door Does Not 4. Verify that the door does open while the open during TC30 Open When Moving Elevator is moving not openthe 1. Press while the elevator elevator is in motion. transit. "Emergency Pass Stop" button inside the elevator. 2. Wait for the elevator to stop. Elevator stopped 3. Observe the elevator’s The elevator should immediately Elevator Stops Moving response to the emergency stop immediately when emergency When Emergency Stop is stop. when the emergency stop was TC31 Pressed Elevator is moving 4. Verify that the elevator stop is pressed. pressed. Pass 1. Press buttons for floors 2, 5, and 8 in sequence. 2. Observe the elevator's movement. 3. Wait for the elevator to The elevator should stop at each requested floor. stop at each Elevator moved 4. Verify that the elevator requested floor, in to floors 2, 5, Elevator Moves Correctly stops at each requested floor order, without and 8 as TC32 to Multiple Floors Elevator is idle in 1. sequence. Press the "Emergency skipping. expected. Pass Stop" button inside the elevator. 2. Wait for the elevator to stop. 3. Observe the elevator’s The elevator should response to the emergency stop immediately Elevator stopped Emergency Stop stop. upon pressing the within 2 TC33 Functionality Elevator is moving 4. 1. Verify that"Floor Press the the elevator 3" button. emergency stop. seconds. Pass 2. Load the elevator with weight just under the No warning maximum limit. The elevator should when 3. Verify that the elevator operate normally underweight, operates normally. under the weight overload 4. Load the elevator beyond limit and activate a warning Elevator Weight Limit the maximum weight limit. warning if triggered TC34 Warning Elevator is idle 5. 1. Check if the Open the weightdoor elevator limit overloaded. correctly. Pass manually. 2. Wait for the specified timeout duration (e.g., 30 seconds). 3. Observe the door The elevator door behavior. should close Door closed Door Automatically 4. Verify that the door closes automatically after automatically TC35 Closes After Set Timeout Elevator door is open automatically after the the set timeout. after 30 seconds. Pass 1. Simulate a brief power surge (increased voltage). 2. Observe the elevator's response to the surge. 3. Verify that the elevator The elevator should Elevator continues to operate continue to operate continued normally. without any normal Elevator Functions During 4. Check for any system malfunction during a operation during TC36 Power Surge Elevator is operating errors orthe 1. Leave malfunctions. elevator idle for power surge. power surge. Pass a long period (e.g., 24 hours). 2. Press any floor button after the idle period. 3. Wait for the elevator to The elevator system respond. should reset and System reset and Elevator System Resets 4. Verify that the system operate normally operated After Long Period of resets and operates after an extended normally after 24 TC37 Inactivity Elevator is idle normally. 1. Press the "Floor 6" button period of inactivity. hours. Pass (an unauthorized floor). 2. Wait for the elevator to respond. Error message 3. Observe the system’s The elevator should displayed, response. not move to elevator did not 4. Verify that the elevator unauthorized floors move to User Cannot Enter does not allow access to and should show an unauthorized TC38 Unauthorized Floors Elevator is idle unauthorized floors.Door" 1. Press the "Close error. floor. Pass button. 2. Observe the door's closing speed. 3. Measure the time it takes The door should for the door to fully close close smoothly (e.g., within 5 seconds). within the specified Door Open/Close Speed is 4. Verify that the closing time range (e.g., 3-5 Door closed in 4 TC39 Within Range Elevator door is open speed is within the allowed seconds). seconds. Pass 1. Simulate a power failure. 2. Press the "Open Door" button. 3. Observe if the emergency The door should power kicks in to open the open using the Door opened Emergency Power door. emergency power with emergency Reserves for Door 4. Verify that the door opens reserves during a power after TC40 Operation Elevator is idle with emergency power. power failure. failure. Pass