TestCasesExamples
TestCasesExamples
3. IT department has 3 offices with windows. These offices are very popular
and offered to employees based on their hire date.
a) Find out who are occupying the offices.
b) Find out who is eligible to move to the office with windows if one of the
employees from the list (see a) leaves the company.
4. Find out salary percentile for each employees. Get list of employees and
their salary percentiles sorted by salary percentile in descending order.
9. Find out department where employees are least likely to get salary
increase.
10. Print list of departments and their managers with phone numbers
12. Generate company Phone book where employees first name, last name,
department name and department address are listed
1) When light is on for the lift and no request has been made to go from TF to PF, button light should
Off.
2) When passenger made request for PF, button light should ON.
3) When button light is ON and if lift is available at TF, the door should open.
4) When button light is ON and if lift is not available at TF, the indicator light should indicate the
movement of lift from PF to TF.
5) When door opens, it should make a sound.
6) When passenger is in the lift, if passenger press the hold button lift door should not close.
7) If passenger press the lift close button, it should close immediately otherwise should close
automatically after fixed time.
8) If lift fan is ON, and passenger press FAN button it should get OFF or vice versa.
9) Try to call using CALL button to help persons using lift.
10) Now test for overload, if lift is for 10 persons or 100KG weight, try for 11 or 12 persons to use the lift
at one time.
11) Lift door should not open when lift is moving, even after pressing lift opening button.
12) Try to use Pass button of the lift to overcome an request.
13) Let lift is at PF, it should not move to TF if no request made at TF and vice versa.
14) Let passenger get in lift from TF anf starts moving to PF, then if other request made to PF, then lift
should complete first request first and come back to TF after PF.
15) If electricity get gone, Lift should not make a major jerks and starts working on emergency backup.