SlideShare a Scribd company logo
1 of 19
hashtag: #BugDayBKK2012
จงจัดกลุ่ม และ Share


     Share Google Doc

 Spread Sheet + Group Name

  zyracuze@welvoebug.com
จงเขียน Test Case
A hotel telephone system can perform 3 functions
s   Call another hotel room by entering a room
    number (201 to 500)
s   Call an external line by entering a 9, followed by
    the number
s   Call various hotel services
    •0 = operator
    •7 = room service
    •8 = reception
จงเขียน Test Case
จงเขียน Test Case
Record reservation check in
Main Scenario
s   The hotel clerk enters the guest search criteria
s   The application displays a list of guests matching the search criteria
s   The hotel clerk selects a guest
s   The system displays a list of the guest current reservations
s   The hotel clerk selects a reservation
s   The system displays the reservation details
s   The hotel clerk allocates a room to the guest
Alternative Scenario
s   No matching guests at step 2
     •    The hotel clerk cancels the check in
s   Guest has no current reservation at step 4
     •    The hotel clerk cancels the check in
s   Guest’s room preference is not available at step 7
     •    The hotel clerk upgrades the guest’s room
จงเขียน Test Case

Record check out
Main Scenario
s   The hotel staff enter the guest’s room number
s   The system displays the guest’s stay detail
s   The system calculates the room charge
Alternative Scenario
s   Late check out and no prior arrangement at step 3
     •    The guest is charged for an extra night
s   Check out the same day as check in at step 3
     •    The guest is charged for one night
Business Rules
s   Number of nights = Today’s date – Check in date
s   Charge = Number of night x Room rate
จงเขียน Test Case


                         Black                   Floor level indicator
Go to floor
                         Box

 Current floor sensor
                                  Lift control
     Overload sensor


                         Life
                        Control
จงเขียน Test Case
User Story?
ตย. User Story
ตย. User Story
Personas
Personas
จงเขียน User Story
A hotel telephone system can perform 3 functions
s   Call another hotel room by entering a room
    number (201 to 500)
s   Call an external line by entering a 9, followed by
    the number
s   Call various hotel services
    •0 = operator
    •7 = room service
    •8 = reception
จงเขียน User Story
จงเขียน User Story
Record reservation check in
Main Scenario
s   The hotel clerk enters the guest search criteria
s   The application displays a list of guests matching the search criteria
s   The hotel clerk selects a guest
s   The system displays a list of the guest current reservations
s   The hotel clerk selects a reservation
s   The system displays the reservation details
s   The hotel clerk allocates a room to the guest
Alternative Scenario
s   No matching guests at step 2
     •    The hotel clerk cancels the check in
s   Guest has no current reservation at step 4
     •    The hotel clerk cancels the check in
s   Guest’s room preference is not available at step 7
     •    The hotel clerk upgrades the guest’s room
จงเขียน User Story

Record check out
Main Scenario
s   The hotel staff enter the guest’s room number
s   The system displays the guest’s stay detail
s   The system calculates the room charge
Alternative Scenario
s   Late check out and no prior arrangement at step 3
     •    The guest is charged for an extra night
s   Check out the same day as check in at step 3
     •    The guest is charged for one night
Business Rules
s   Number of nights = Today’s date – Check in date
s   Charge = Number of night x Room rate
จงเขียน User Story


                         Black                   Floor level indicator
Go to floor
                         Box

 Current floor sensor
                                  Lift control
     Overload sensor


                         Life
                        Control
จงเขียน User Story

More Related Content

Viewers also liked

ATDD Make Love Not War - Bangkok BugDay 2012
ATDD Make Love Not War - Bangkok BugDay 2012ATDD Make Love Not War - Bangkok BugDay 2012
ATDD Make Love Not War - Bangkok BugDay 2012Kulawat Wongsaroj
 
BugDay2012 Test Design with CTE XL(SharingDay)
BugDay2012 Test Design with CTE XL(SharingDay)BugDay2012 Test Design with CTE XL(SharingDay)
BugDay2012 Test Design with CTE XL(SharingDay)JaAe CK
 
Writing Effective Bug Report - BugDay Bangkok 2012
Writing Effective Bug Report - BugDay Bangkok 2012Writing Effective Bug Report - BugDay Bangkok 2012
Writing Effective Bug Report - BugDay Bangkok 2012Prathan Dansakulcharoenkit
 
BugDay2012 Test Design with CTE XL(TrainingDay)
BugDay2012 Test Design with CTE XL(TrainingDay)BugDay2012 Test Design with CTE XL(TrainingDay)
BugDay2012 Test Design with CTE XL(TrainingDay)JaAe CK
 
Sqa, test scenarios and test cases
Sqa, test scenarios and test casesSqa, test scenarios and test cases
Sqa, test scenarios and test casesConfiz
 
Writing Test Cases 20110808
Writing Test Cases 20110808Writing Test Cases 20110808
Writing Test Cases 20110808slovejoy
 

Viewers also liked (7)

ATDD Make Love Not War - Bangkok BugDay 2012
ATDD Make Love Not War - Bangkok BugDay 2012ATDD Make Love Not War - Bangkok BugDay 2012
ATDD Make Love Not War - Bangkok BugDay 2012
 
BugDay2012 Test Design with CTE XL(SharingDay)
BugDay2012 Test Design with CTE XL(SharingDay)BugDay2012 Test Design with CTE XL(SharingDay)
BugDay2012 Test Design with CTE XL(SharingDay)
 
Writing Effective Bug Report - BugDay Bangkok 2012
Writing Effective Bug Report - BugDay Bangkok 2012Writing Effective Bug Report - BugDay Bangkok 2012
Writing Effective Bug Report - BugDay Bangkok 2012
 
BugDay2012 Test Design with CTE XL(TrainingDay)
BugDay2012 Test Design with CTE XL(TrainingDay)BugDay2012 Test Design with CTE XL(TrainingDay)
BugDay2012 Test Design with CTE XL(TrainingDay)
 
Mini Master in software testing
Mini Master in software testingMini Master in software testing
Mini Master in software testing
 
Sqa, test scenarios and test cases
Sqa, test scenarios and test casesSqa, test scenarios and test cases
Sqa, test scenarios and test cases
 
Writing Test Cases 20110808
Writing Test Cases 20110808Writing Test Cases 20110808
Writing Test Cases 20110808
 

Similar to Test Case and User Story - BugDay Bangkok 2012

Similar to Test Case and User Story - BugDay Bangkok 2012 (6)

The hotel-front-office
The hotel-front-officeThe hotel-front-office
The hotel-front-office
 
Rooms Division and Front Office Department
Rooms Division and Front Office DepartmentRooms Division and Front Office Department
Rooms Division and Front Office Department
 
Introduction to front office organization, hierarchy, duties and responsibili...
Introduction to front office organization, hierarchy, duties and responsibili...Introduction to front office organization, hierarchy, duties and responsibili...
Introduction to front office organization, hierarchy, duties and responsibili...
 
Front Office Department Design By Austin
Front Office Department Design By AustinFront Office Department Design By Austin
Front Office Department Design By Austin
 
Checkout & Settlement Process (updated on August 18, 2020)
Checkout & Settlement Process (updated on August 18, 2020)Checkout & Settlement Process (updated on August 18, 2020)
Checkout & Settlement Process (updated on August 18, 2020)
 
Check out and settlement
Check out and settlementCheck out and settlement
Check out and settlement
 

More from Prathan Dansakulcharoenkit

QA Talk in Chiang Mai Community of Practice Meet Up 1/2017
QA Talk in Chiang Mai Community of Practice Meet Up 1/2017QA Talk in Chiang Mai Community of Practice Meet Up 1/2017
QA Talk in Chiang Mai Community of Practice Meet Up 1/2017Prathan Dansakulcharoenkit
 
IMC Monthly Talk: 10 ข้อที่ควรจะต้องทำในการเริ่มต้นนำ Agile for Software Deve...
IMC Monthly Talk: 10 ข้อที่ควรจะต้องทำในการเริ่มต้นนำ Agile for Software Deve...IMC Monthly Talk: 10 ข้อที่ควรจะต้องทำในการเริ่มต้นนำ Agile for Software Deve...
IMC Monthly Talk: 10 ข้อที่ควรจะต้องทำในการเริ่มต้นนำ Agile for Software Deve...Prathan Dansakulcharoenkit
 
อไจล์ ๑๐๑ รุ่น ๓.๐
อไจล์ ๑๐๑ รุ่น ๓.๐อไจล์ ๑๐๑ รุ่น ๓.๐
อไจล์ ๑๐๑ รุ่น ๓.๐Prathan Dansakulcharoenkit
 
Web Application Security Testing - Aware in BugDay Bangkok 2012
Web Application Security Testing - Aware in BugDay Bangkok 2012Web Application Security Testing - Aware in BugDay Bangkok 2012
Web Application Security Testing - Aware in BugDay Bangkok 2012Prathan Dansakulcharoenkit
 
The audacity of quality requirement-non functional testing- Aware in BugDay B...
The audacity of quality requirement-non functional testing- Aware in BugDay B...The audacity of quality requirement-non functional testing- Aware in BugDay B...
The audacity of quality requirement-non functional testing- Aware in BugDay B...Prathan Dansakulcharoenkit
 
How to live with agile - Aware in BugDay Bangkok 2012
How to live with agile - Aware in BugDay Bangkok 2012How to live with agile - Aware in BugDay Bangkok 2012
How to live with agile - Aware in BugDay Bangkok 2012Prathan Dansakulcharoenkit
 
Achieving Zero Defect with Agile Methods BugDay Bangkok 2012 โดย Varokas Pan...
Achieving Zero Defect with Agile Methods BugDay Bangkok 2012  โดย Varokas Pan...Achieving Zero Defect with Agile Methods BugDay Bangkok 2012  โดย Varokas Pan...
Achieving Zero Defect with Agile Methods BugDay Bangkok 2012 โดย Varokas Pan...Prathan Dansakulcharoenkit
 
Hyper Productivity BugDay Bangkok 2012 - โดย Chokchai Phatharamalai
Hyper Productivity BugDay Bangkok 2012 - โดย Chokchai Phatharamalai Hyper Productivity BugDay Bangkok 2012 - โดย Chokchai Phatharamalai
Hyper Productivity BugDay Bangkok 2012 - โดย Chokchai Phatharamalai Prathan Dansakulcharoenkit
 

More from Prathan Dansakulcharoenkit (20)

QA Talk in Chiang Mai Community of Practice Meet Up 1/2017
QA Talk in Chiang Mai Community of Practice Meet Up 1/2017QA Talk in Chiang Mai Community of Practice Meet Up 1/2017
QA Talk in Chiang Mai Community of Practice Meet Up 1/2017
 
IMC Monthly Talk: 10 ข้อที่ควรจะต้องทำในการเริ่มต้นนำ Agile for Software Deve...
IMC Monthly Talk: 10 ข้อที่ควรจะต้องทำในการเริ่มต้นนำ Agile for Software Deve...IMC Monthly Talk: 10 ข้อที่ควรจะต้องทำในการเริ่มต้นนำ Agile for Software Deve...
IMC Monthly Talk: 10 ข้อที่ควรจะต้องทำในการเริ่มต้นนำ Agile for Software Deve...
 
PROJECT MANAGEMENT TRAINING 09-22-2011
PROJECT MANAGEMENT TRAINING 09-22-2011PROJECT MANAGEMENT TRAINING 09-22-2011
PROJECT MANAGEMENT TRAINING 09-22-2011
 
tpse-sprint3r-software-testing-you-know-maybe
tpse-sprint3r-software-testing-you-know-maybetpse-sprint3r-software-testing-you-know-maybe
tpse-sprint3r-software-testing-you-know-maybe
 
SPRINT3R-SWPSDLC2556-CLOSING
SPRINT3R-SWPSDLC2556-CLOSINGSPRINT3R-SWPSDLC2556-CLOSING
SPRINT3R-SWPSDLC2556-CLOSING
 
Introduction to Scrum version 3.1
Introduction to Scrum version 3.1Introduction to Scrum version 3.1
Introduction to Scrum version 3.1
 
SPRINT3R-MY-CITY
SPRINT3R-MY-CITYSPRINT3R-MY-CITY
SPRINT3R-MY-CITY
 
อไจล์ ๑๐๑ รุ่น ๓.๐
อไจล์ ๑๐๑ รุ่น ๓.๐อไจล์ ๑๐๑ รุ่น ๓.๐
อไจล์ ๑๐๑ รุ่น ๓.๐
 
Geek Academy Introduction to Agile
Geek Academy Introduction to AgileGeek Academy Introduction to Agile
Geek Academy Introduction to Agile
 
Sprint3 r agile101-introduction-18052556
Sprint3 r agile101-introduction-18052556Sprint3 r agile101-introduction-18052556
Sprint3 r agile101-introduction-18052556
 
hello-my-name-is-software-testing-v2-pdf
hello-my-name-is-software-testing-v2-pdfhello-my-name-is-software-testing-v2-pdf
hello-my-name-is-software-testing-v2-pdf
 
Opening Session of BugDay Bangkok 2012
Opening Session of BugDay Bangkok 2012Opening Session of BugDay Bangkok 2012
Opening Session of BugDay Bangkok 2012
 
Web Application Security Testing - Aware in BugDay Bangkok 2012
Web Application Security Testing - Aware in BugDay Bangkok 2012Web Application Security Testing - Aware in BugDay Bangkok 2012
Web Application Security Testing - Aware in BugDay Bangkok 2012
 
The audacity of quality requirement-non functional testing- Aware in BugDay B...
The audacity of quality requirement-non functional testing- Aware in BugDay B...The audacity of quality requirement-non functional testing- Aware in BugDay B...
The audacity of quality requirement-non functional testing- Aware in BugDay B...
 
How to live with agile - Aware in BugDay Bangkok 2012
How to live with agile - Aware in BugDay Bangkok 2012How to live with agile - Aware in BugDay Bangkok 2012
How to live with agile - Aware in BugDay Bangkok 2012
 
Achieving Zero Defect with Agile Methods BugDay Bangkok 2012 โดย Varokas Pan...
Achieving Zero Defect with Agile Methods BugDay Bangkok 2012  โดย Varokas Pan...Achieving Zero Defect with Agile Methods BugDay Bangkok 2012  โดย Varokas Pan...
Achieving Zero Defect with Agile Methods BugDay Bangkok 2012 โดย Varokas Pan...
 
Hyper Productivity BugDay Bangkok 2012 - โดย Chokchai Phatharamalai
Hyper Productivity BugDay Bangkok 2012 - โดย Chokchai Phatharamalai Hyper Productivity BugDay Bangkok 2012 - โดย Chokchai Phatharamalai
Hyper Productivity BugDay Bangkok 2012 - โดย Chokchai Phatharamalai
 
Data, Information and Analyst
Data, Information and AnalystData, Information and Analyst
Data, Information and Analyst
 
Living Life as Software Tester - BarcampBkk
Living Life as Software Tester - BarcampBkkLiving Life as Software Tester - BarcampBkk
Living Life as Software Tester - BarcampBkk
 
Knowledge Management in Practice
Knowledge Management in PracticeKnowledge Management in Practice
Knowledge Management in Practice
 

Recently uploaded

Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 

Recently uploaded (20)

Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 

Test Case and User Story - BugDay Bangkok 2012

  • 2. จงจัดกลุ่ม และ Share Share Google Doc Spread Sheet + Group Name zyracuze@welvoebug.com
  • 3. จงเขียน Test Case A hotel telephone system can perform 3 functions s Call another hotel room by entering a room number (201 to 500) s Call an external line by entering a 9, followed by the number s Call various hotel services •0 = operator •7 = room service •8 = reception
  • 5. จงเขียน Test Case Record reservation check in Main Scenario s The hotel clerk enters the guest search criteria s The application displays a list of guests matching the search criteria s The hotel clerk selects a guest s The system displays a list of the guest current reservations s The hotel clerk selects a reservation s The system displays the reservation details s The hotel clerk allocates a room to the guest Alternative Scenario s No matching guests at step 2 • The hotel clerk cancels the check in s Guest has no current reservation at step 4 • The hotel clerk cancels the check in s Guest’s room preference is not available at step 7 • The hotel clerk upgrades the guest’s room
  • 6. จงเขียน Test Case Record check out Main Scenario s The hotel staff enter the guest’s room number s The system displays the guest’s stay detail s The system calculates the room charge Alternative Scenario s Late check out and no prior arrangement at step 3 • The guest is charged for an extra night s Check out the same day as check in at step 3 • The guest is charged for one night Business Rules s Number of nights = Today’s date – Check in date s Charge = Number of night x Room rate
  • 7. จงเขียน Test Case Black Floor level indicator Go to floor Box Current floor sensor Lift control Overload sensor Life Control
  • 14. จงเขียน User Story A hotel telephone system can perform 3 functions s Call another hotel room by entering a room number (201 to 500) s Call an external line by entering a 9, followed by the number s Call various hotel services •0 = operator •7 = room service •8 = reception
  • 16. จงเขียน User Story Record reservation check in Main Scenario s The hotel clerk enters the guest search criteria s The application displays a list of guests matching the search criteria s The hotel clerk selects a guest s The system displays a list of the guest current reservations s The hotel clerk selects a reservation s The system displays the reservation details s The hotel clerk allocates a room to the guest Alternative Scenario s No matching guests at step 2 • The hotel clerk cancels the check in s Guest has no current reservation at step 4 • The hotel clerk cancels the check in s Guest’s room preference is not available at step 7 • The hotel clerk upgrades the guest’s room
  • 17. จงเขียน User Story Record check out Main Scenario s The hotel staff enter the guest’s room number s The system displays the guest’s stay detail s The system calculates the room charge Alternative Scenario s Late check out and no prior arrangement at step 3 • The guest is charged for an extra night s Check out the same day as check in at step 3 • The guest is charged for one night Business Rules s Number of nights = Today’s date – Check in date s Charge = Number of night x Room rate
  • 18. จงเขียน User Story Black Floor level indicator Go to floor Box Current floor sensor Lift control Overload sensor Life Control