Test Case and User Story - BugDay Bangkok 2012
-
Upload
prathan-d -
Category
Technology
-
view
104 -
download
0
description
Transcript of Test Case and User Story - BugDay Bangkok 2012
![Page 1: Test Case and User Story - BugDay Bangkok 2012](https://reader033.fdocuments.net/reader033/viewer/2022051613/54c7202b4a7959e16f8b4571/html5/thumbnails/1.jpg)
hashtag: #BugDayBKK2012
![Page 3: Test Case and User Story - BugDay Bangkok 2012](https://reader033.fdocuments.net/reader033/viewer/2022051613/54c7202b4a7959e16f8b4571/html5/thumbnails/3.jpg)
จงเขี�ยน Test Case
A hotel telephone system can perform 3 functions
Call another hotel room by entering a room number (201 to 500)
Call an external line by entering a 9, followed by the number
Call various hotel services•0 = operator •7 = room service•8 = reception
![Page 4: Test Case and User Story - BugDay Bangkok 2012](https://reader033.fdocuments.net/reader033/viewer/2022051613/54c7202b4a7959e16f8b4571/html5/thumbnails/4.jpg)
จงเขี�ยน Test Case
![Page 5: Test Case and User Story - BugDay Bangkok 2012](https://reader033.fdocuments.net/reader033/viewer/2022051613/54c7202b4a7959e16f8b4571/html5/thumbnails/5.jpg)
จงเขี�ยน Test Case
Record reservation check inMain Scenario
The hotel clerk enters the guest search criteria
The application displays a list of guests matching the search criteria
The hotel clerk selects a guest
The system displays a list of the guest current reservations
The hotel clerk selects a reservation
The system displays the reservation details
The hotel clerk allocates a room to the guest
Alternative Scenario
No matching guests at step 2
• The hotel clerk cancels the check in
Guest has no current reservation at step 4
• The hotel clerk cancels the check in
Guest’s room preference is not available at step 7
• The hotel clerk upgrades the guest’s room
![Page 6: Test Case and User Story - BugDay Bangkok 2012](https://reader033.fdocuments.net/reader033/viewer/2022051613/54c7202b4a7959e16f8b4571/html5/thumbnails/6.jpg)
จงเขี�ยน Test Case
Record check outMain Scenario
The hotel staff enter the guest’s room number
The system displays the guest’s stay detail
The system calculates the room charge
Alternative Scenario
Late check out and no prior arrangement at step 3
• The guest is charged for an extra night
Check out the same day as check in at step 3
• The guest is charged for one night
Business Rules
Number of nights = Today’s date – Check in date
Charge = Number of night x Room rate
![Page 7: Test Case and User Story - BugDay Bangkok 2012](https://reader033.fdocuments.net/reader033/viewer/2022051613/54c7202b4a7959e16f8b4571/html5/thumbnails/7.jpg)
จงเขี�ยน Test Case
BlackBox
LifeControl
Go to floor Floor level indicator
Lift control Current floor sensorOverload sensor
![Page 8: Test Case and User Story - BugDay Bangkok 2012](https://reader033.fdocuments.net/reader033/viewer/2022051613/54c7202b4a7959e16f8b4571/html5/thumbnails/8.jpg)
จงเขี�ยน Test Case
![Page 9: Test Case and User Story - BugDay Bangkok 2012](https://reader033.fdocuments.net/reader033/viewer/2022051613/54c7202b4a7959e16f8b4571/html5/thumbnails/9.jpg)
User Story?
![Page 10: Test Case and User Story - BugDay Bangkok 2012](https://reader033.fdocuments.net/reader033/viewer/2022051613/54c7202b4a7959e16f8b4571/html5/thumbnails/10.jpg)
ตย . User Story
![Page 11: Test Case and User Story - BugDay Bangkok 2012](https://reader033.fdocuments.net/reader033/viewer/2022051613/54c7202b4a7959e16f8b4571/html5/thumbnails/11.jpg)
ตย . User Story
![Page 12: Test Case and User Story - BugDay Bangkok 2012](https://reader033.fdocuments.net/reader033/viewer/2022051613/54c7202b4a7959e16f8b4571/html5/thumbnails/12.jpg)
Personas
![Page 13: Test Case and User Story - BugDay Bangkok 2012](https://reader033.fdocuments.net/reader033/viewer/2022051613/54c7202b4a7959e16f8b4571/html5/thumbnails/13.jpg)
Personas
![Page 14: Test Case and User Story - BugDay Bangkok 2012](https://reader033.fdocuments.net/reader033/viewer/2022051613/54c7202b4a7959e16f8b4571/html5/thumbnails/14.jpg)
จงเขี�ยน User Story
A hotel telephone system can perform 3 functions
Call another hotel room by entering a room number (201 to 500)
Call an external line by entering a 9, followed by the number
Call various hotel services•0 = operator •7 = room service•8 = reception
![Page 15: Test Case and User Story - BugDay Bangkok 2012](https://reader033.fdocuments.net/reader033/viewer/2022051613/54c7202b4a7959e16f8b4571/html5/thumbnails/15.jpg)
จงเขี�ยน User Story
![Page 16: Test Case and User Story - BugDay Bangkok 2012](https://reader033.fdocuments.net/reader033/viewer/2022051613/54c7202b4a7959e16f8b4571/html5/thumbnails/16.jpg)
จงเขี�ยน User Story
Record reservation check inMain Scenario
The hotel clerk enters the guest search criteria
The application displays a list of guests matching the search criteria
The hotel clerk selects a guest
The system displays a list of the guest current reservations
The hotel clerk selects a reservation
The system displays the reservation details
The hotel clerk allocates a room to the guest
Alternative Scenario
No matching guests at step 2
• The hotel clerk cancels the check in
Guest has no current reservation at step 4
• The hotel clerk cancels the check in
Guest’s room preference is not available at step 7
• The hotel clerk upgrades the guest’s room
![Page 17: Test Case and User Story - BugDay Bangkok 2012](https://reader033.fdocuments.net/reader033/viewer/2022051613/54c7202b4a7959e16f8b4571/html5/thumbnails/17.jpg)
จงเขี�ยน User Story
Record check outMain Scenario
The hotel staff enter the guest’s room number
The system displays the guest’s stay detail
The system calculates the room charge
Alternative Scenario
Late check out and no prior arrangement at step 3
• The guest is charged for an extra night
Check out the same day as check in at step 3
• The guest is charged for one night
Business Rules
Number of nights = Today’s date – Check in date
Charge = Number of night x Room rate
![Page 18: Test Case and User Story - BugDay Bangkok 2012](https://reader033.fdocuments.net/reader033/viewer/2022051613/54c7202b4a7959e16f8b4571/html5/thumbnails/18.jpg)
จงเขี�ยน User Story
BlackBox
LifeControl
Go to floor Floor level indicator
Lift control Current floor sensorOverload sensor
![Page 19: Test Case and User Story - BugDay Bangkok 2012](https://reader033.fdocuments.net/reader033/viewer/2022051613/54c7202b4a7959e16f8b4571/html5/thumbnails/19.jpg)
จงเขี�ยน User Story