Microsoft Interview Question
Software Engineer in Teststest cases may include:
1. load or stress testing: check how much weight the elevator can withstand.
2. what is the speed? too slow or too fast
3. does it stop at every floor, that it is supposed to. what is the time of stoppage?
4. safety testing: what happens if there is a power cut?
5. how much time does the gate remain open, does it close automatically after a certain time? does it open again if someone is in between the gate.
6. elevator gives some kind of signal, if the weight capacity has been exceeded....
I agree with the test cases mentioned before but always ask where the elevator is located at. For instance, if the elevator is in a hospital then you might need to add some test cases such as you would want to make sure that the elevator goes to ER floor or it has backup electricity for medical situation when the elevator is stuck.
Isn't this a job of MSFT employees? They usually run up n down in elevators to fix bugs.
- gekko gordan December 17, 2010