Tuesday, January 26, 2010

Test cases for Elevator (LIFT)

Some of the use cases would be:
1) Elevator is capable of moving up and down.
2) It is stopping at each floor.
3) It moves exactly to that floor when corresponding floor no is pressed.
4) It moves up when called from upward and down when called from downward.
5) It waits until 'close' button is pressed.
6) If anyon steps inbetween the door at the time of closing, door should open.
7) No break points exists
8) More usecases for the load that the elevator can carry (if required)
Capacity of the lift
usability (whether its easy to operate or not)
Functionality( whether it functions properly or not)
comfort (whether a person is comfortable in it or not)
height
weight
volume
time it takes to reach every floor
test for maximum capacity of the lift
test for more than max capacity
check the working in case of a power failure
Yes, when a senario is given to us i think it would be most appropriate to ask the Interviewr what is he expecting? This would actually show our attitude towards testing.
The lift could be tested for various issues.
1) Usability:
- whether it can be entered, exited easily
- is the door height appropriate.
- is there enough of space in the lift to accomodate the people as described in its requirements. ex: the lift is designed for 5 ppl & the space in the lift is just enough for 3 ppl to squeeze in.
- are the buttons to present & at visible place.
- How easy is it to operate the lift. etc
2) Functionality:
- Does the lift move on to the right floor. ex. if a person presses 2nd floor he should land on the 2nd floor not on the 4th.
- What speed is the lift moving at.
- Is the landing, taking off appropriate.
- Does it land at the right floor when a lift is called.
- Does it take the weight as per it is designed.
- Does it move as sequenced. ie if a call is made to the lift from the 5th floor while the lift is on the 3rd floor & is already moving downwards towards ground. If the lift would go down or up.
1.Capacity of lift
2.Height of lift
3,Width of lift
4.Security provided(red indicator,alarm)
5.Name of the company.
6.Space provided
7.Number exceeds than specified what security is provided
8.Wheather it comes to ground floor,top floor
9. programming provided by using PLC(top-down or can again come down)
10.If it is empty.
Capacity of the lift
usability (whether its easy to operate or not)
Functionality( whether it functions properly or not)
comfort (whether a person is comfortable in it or not)
height
weight
volume
time it takes to reach every floor
test for maximum capacity of the lift
test for more than max capacity
check the working in case of a power failure

No comments:

Post a Comment