SlideShare uma empresa Scribd logo
1 de 20
Use Case Diagrams A Detailed Description
Use Case Diagrams ,[object Object],[object Object],[object Object],[object Object]
Use Case Diagrams ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Use Cases ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Actors ,[object Object],[object Object],[object Object],[object Object],[object Object]
Use Cases ,[object Object],[object Object],[object Object]
Auction Website Use Cases Auction Website Search for item Place bid Put item up for auction Register account Customer
Use Case Diagrams ,[object Object],[object Object],[object Object],[object Object],[object Object]
A simple example ,[object Object],[object Object],[object Object],[object Object],[object Object]
Customer Use Case Description: A CUSTOMER needs to log-in before performing any transaction Pre-condition: A registered user. Post-condition: The CUSTOMER has been authorised to perform transactions. Use Case: Log-in Log-in
Case Study: On-Line Bookstore
[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Register Order books Sell used books Review books Customer On-line Bookstore System Log-in <<include>> <<include>> <<include>> Check out <<extend>> (CustID) Use Case Context Diagram
A CUSTOMER needs to log-in before performing any transaction Actor/s: CUSTOMER Pre-condition: A registered user. Main flow of events: 1. The CUSTOMER clicks the Log-in button on the Home Page. Log-in A new CUSTOMER needs to first register into the system before performing any transaction. Actor/s: CUSTOMER Pre-condition: An unregistered CUSTOMER. Main flow of events: 1. The CUSTOMER clicks the REGISTER button on the Home Page. 2. The system displays the Register Page. 3. The CUSTOMER enters all of the required information. 4. The CUSTOMER clicks the SEND button. 5. The system checks that all of the required information were entered. If  yes, the system update the CUSTOMER’s record in the CUSTOMER  and ACCOUNT tables in the database. System displays OK message. Post-condition: The new CUSTOMER has registered. The ACCOUNT and CUSTOMER tables are updated. Register Description Use Case
2. The system displays the Log-in Page. 3. The CUSTOMER enters his/her user ID and password. 4. The CUSTOMER clicks the OK button. 5. The system validates the log-in information against the ACCOUNT  table in the database. 6. CUSTOMER is an authorised user; the system displays the Personal  Home Page to the CUSTOMER Post-condition: The CUSTOMER has been authorised to perform transactions. Alternate flow: 1. The CUSTOMER clicks the Log-in button on the Home Page. 2. The system displays the Log-in Page. 3. The CUSTOMER enters his/her user ID and password. 4. The CUSTOMER clicks the OK button. 5. The system validates the log-in information against the ACCOUNT  table in the database. 6. CUSTOMER is not an authorised user; the system displays a pop-up message to inform the CUSTOMER. Post-condition: The CUSTOMER is not authorised to perform transactions. Log-in (continue…) Description Use Case
A CUSTOMER can purchase the books in his/her Shopping Cart. Actor/s: CUSTOMER Pre-condition: The user have logged in and has at least one book in the Shopping Cart. Main flow of events: 1. The CUSTOMER clicks the Check out button on the Web Page. Check Out A CUSTOMER can order books to purchase. Actor/s: CUSTOMER Pre-condition: User have logged-in. Main flow of events: 1. The CUSTOMER enters the keyword for a book and clicks the  SEARCH button on the Personal Home Page. 2. The system displays the matching books on the web Page. 3. The CUSTOMER chooses the desired book and clicks the ADD TO  SHOPPING CART button on the web page.  4. The system adds the book into the CUSTOMER’s Order table  in the database.  Post-condition: The  ORDER table has been updated. Order Books Description Use Case
A CUSTOMER can sell his/her used books. Actor/s: CUSTOMER Pre-condition: The user have logged-in.. Sell used books 2. The system displays the books in the ORDER table of the  CUSTOMER on the web Page. 3. The CUSTOMER checks the order list for any inconsistency. If  nothing found, CUSTOMER clicks the PROCEED button.  4. The system displays the Invoice page. 5. The Customer enters the relevant credit card information and clicks  the OK button. 6. The system checks that the credit card is valid. Then, the system  displays the Delivery Details page. 7. The CUSTOMER chooses destination for delivery, along with  delivery options. Then, he/she clicks the PROCEED button.  8. The system will display the check-out information for confirmation. 7. The CUSTOMER checks that all information is correct and then  clicks the OK button.  8. The system sends a confirmation via CUSTOMER’s e-mail. Post-condition: The ORDER table has been updated. Check Out (continue…) Description Use Case
A CUSTOMER can review books. Actor/s: CUSTOMER Pre-condition: User have logged-in.. Main flow of events: 1. The CUSTOMER enters the keyword to search for a book and then  clicks the SEARCH button on the Personal Web Page. Review Books Main flow of events: 1. The CUSTOMER clicks the Sell Used Books button on the Home  Page. 2. The system displays the Sell used books web page. 3. The CUSTOMER enters the required information on the used books  that he/she wants to sell.  4. The CUSTOMER clicks the SEND button on the webpage. 5. The system displays a confirmation page listing the information that  the CUSTOMER has entered.  6. The CUSTOMER checks that the information displayed are accurate.  If yes, the CUSTOMER clicks the OK button on the web page. 7. The system updates the USED BOOKS table in the database.  Post-condition: The Used Books table has been updated. Sell Used Books (continue…) Description Use Case
2. The system displays the matching books on the web Page. 3. The CUSTOMER checks for the desired book and clicks on the chosen book icon.  4. The system displays the book’s detail in the Book Detail web page. 5. The CUSTOMER clicks the REVIEW button on the web page. 6. The system displays the Review Book web page. 7. The CUSTOMER clicks on the desired star button and the click the  OK button on the web page. 8. The system calculates the overall rating of the book and updates the  Book table in the database. 9. The system displays the Book  Detail web pages that have been  updated.  Post-condition: The BOOK and REVIEW tables are updated. Review Books (continue…) Description Use Case

Mais conteúdo relacionado

Mais procurados

Event Management System Document
Event Management System Document Event Management System Document
Event Management System Document
LJ PROJECTS
 
Software requirements specification
Software  requirements specificationSoftware  requirements specification
Software requirements specification
Krishnasai Gudavalli
 
Student result mamagement
Student result mamagementStudent result mamagement
Student result mamagement
Mickey
 
L7 decision tree & table
L7 decision tree & tableL7 decision tree & table
L7 decision tree & table
Neha Gupta
 

Mais procurados (20)

Library Management System Waterfall Model
Library Management System Waterfall ModelLibrary Management System Waterfall Model
Library Management System Waterfall Model
 
E-commerce documentation
E-commerce documentationE-commerce documentation
E-commerce documentation
 
grocery management system
grocery  management systemgrocery  management system
grocery management system
 
Onlineshopping
OnlineshoppingOnlineshopping
Onlineshopping
 
Online Shopping System [SE]
Online Shopping System  [SE]Online Shopping System  [SE]
Online Shopping System [SE]
 
Event Management System Document
Event Management System Document Event Management System Document
Event Management System Document
 
Online Quiz System Project Report
Online Quiz System Project Report Online Quiz System Project Report
Online Quiz System Project Report
 
Software requirements specification
Software  requirements specificationSoftware  requirements specification
Software requirements specification
 
E-commerce (System Analysis and Design)
E-commerce (System Analysis and Design)E-commerce (System Analysis and Design)
E-commerce (System Analysis and Design)
 
Online Shopping project report
Online Shopping project report Online Shopping project report
Online Shopping project report
 
Web based online shopping system Presentation slide
Web based online shopping system Presentation  slideWeb based online shopping system Presentation  slide
Web based online shopping system Presentation slide
 
Online quiz
Online quizOnline quiz
Online quiz
 
online-shopping-documentation-srs for TYBSCIT sem 6
 online-shopping-documentation-srs for TYBSCIT sem 6 online-shopping-documentation-srs for TYBSCIT sem 6
online-shopping-documentation-srs for TYBSCIT sem 6
 
Student result mamagement
Student result mamagementStudent result mamagement
Student result mamagement
 
Online property management system design document
Online property management system design documentOnline property management system design document
Online property management system design document
 
Passport automation system
Passport automation systemPassport automation system
Passport automation system
 
Online shopping
Online shoppingOnline shopping
Online shopping
 
L7 decision tree & table
L7 decision tree & tableL7 decision tree & table
L7 decision tree & table
 
Online Quiz System Project PPT
Online Quiz System Project PPTOnline Quiz System Project PPT
Online Quiz System Project PPT
 
Online quiz system
Online quiz systemOnline quiz system
Online quiz system
 

Semelhante a Use case-diagrams

E-RETAIL SYSTEM_FINAL
E-RETAIL SYSTEM_FINALE-RETAIL SYSTEM_FINAL
E-RETAIL SYSTEM_FINAL
surya singh
 
2f56cb4a-53c7-463a-9cb7-162567e37a04-150712104128-lva1-app6892
2f56cb4a-53c7-463a-9cb7-162567e37a04-150712104128-lva1-app68922f56cb4a-53c7-463a-9cb7-162567e37a04-150712104128-lva1-app6892
2f56cb4a-53c7-463a-9cb7-162567e37a04-150712104128-lva1-app6892
Darshan Parmar
 
Online Store Modules
Online Store ModulesOnline Store Modules
Online Store Modules
Kavita Sharma
 
info 476 systems analyst report
info 476 systems analyst reportinfo 476 systems analyst report
info 476 systems analyst report
James Peterson
 
Library mangement-system
Library mangement-systemLibrary mangement-system
Library mangement-system
Rafiul Rafi
 
Price comparison site project- arquitecture
Price comparison site project- arquitecturePrice comparison site project- arquitecture
Price comparison site project- arquitecture
Nikos Filippakis
 
Web basics 101
Web basics 101Web basics 101
Web basics 101
tlcjohnson
 
Manage shopping cart
Manage shopping cartManage shopping cart
Manage shopping cart
applee
 

Semelhante a Use case-diagrams (20)

Use Case Context Diagram part5
Use Case Context Diagram part5Use Case Context Diagram part5
Use Case Context Diagram part5
 
E-RETAIL SYSTEM_FINAL
E-RETAIL SYSTEM_FINALE-RETAIL SYSTEM_FINAL
E-RETAIL SYSTEM_FINAL
 
2f56cb4a-53c7-463a-9cb7-162567e37a04-150712104128-lva1-app6892
2f56cb4a-53c7-463a-9cb7-162567e37a04-150712104128-lva1-app68922f56cb4a-53c7-463a-9cb7-162567e37a04-150712104128-lva1-app6892
2f56cb4a-53c7-463a-9cb7-162567e37a04-150712104128-lva1-app6892
 
Online shopping e commerce website for cloth retail.pptx
Online shopping e commerce website for cloth retail.pptxOnline shopping e commerce website for cloth retail.pptx
Online shopping e commerce website for cloth retail.pptx
 
Systems diagrams &amp; visualization (uml &amp; data flow)exampl
Systems diagrams &amp; visualization (uml &amp; data flow)examplSystems diagrams &amp; visualization (uml &amp; data flow)exampl
Systems diagrams &amp; visualization (uml &amp; data flow)exampl
 
Online Store Modules
Online Store ModulesOnline Store Modules
Online Store Modules
 
Offline to online (O2O) - Training manual in English
Offline to online (O2O) - Training manual in EnglishOffline to online (O2O) - Training manual in English
Offline to online (O2O) - Training manual in English
 
info 476 systems analyst report
info 476 systems analyst reportinfo 476 systems analyst report
info 476 systems analyst report
 
Lis Presentation
Lis PresentationLis Presentation
Lis Presentation
 
Pudiya Puthagam
Pudiya PuthagamPudiya Puthagam
Pudiya Puthagam
 
171846965 projects
171846965 projects171846965 projects
171846965 projects
 
Library mangement-system
Library mangement-systemLibrary mangement-system
Library mangement-system
 
Project proposal book_shop
Project proposal book_shopProject proposal book_shop
Project proposal book_shop
 
Price comparison site project- arquitecture
Price comparison site project- arquitecturePrice comparison site project- arquitecture
Price comparison site project- arquitecture
 
Web basics 101
Web basics 101Web basics 101
Web basics 101
 
1501 meetup
1501 meetup1501 meetup
1501 meetup
 
Sellers Guide
Sellers GuideSellers Guide
Sellers Guide
 
Manage shopping cart
Manage shopping cartManage shopping cart
Manage shopping cart
 
Lecture7 use case modeling
Lecture7 use case modelingLecture7 use case modeling
Lecture7 use case modeling
 
Company presentation
Company presentationCompany presentation
Company presentation
 

Último

Último (20)

How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 

Use case-diagrams

  • 1. Use Case Diagrams A Detailed Description
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7. Auction Website Use Cases Auction Website Search for item Place bid Put item up for auction Register account Customer
  • 8.
  • 9.
  • 10. Customer Use Case Description: A CUSTOMER needs to log-in before performing any transaction Pre-condition: A registered user. Post-condition: The CUSTOMER has been authorised to perform transactions. Use Case: Log-in Log-in
  • 11. Case Study: On-Line Bookstore
  • 12.
  • 13.
  • 14. Register Order books Sell used books Review books Customer On-line Bookstore System Log-in <<include>> <<include>> <<include>> Check out <<extend>> (CustID) Use Case Context Diagram
  • 15. A CUSTOMER needs to log-in before performing any transaction Actor/s: CUSTOMER Pre-condition: A registered user. Main flow of events: 1. The CUSTOMER clicks the Log-in button on the Home Page. Log-in A new CUSTOMER needs to first register into the system before performing any transaction. Actor/s: CUSTOMER Pre-condition: An unregistered CUSTOMER. Main flow of events: 1. The CUSTOMER clicks the REGISTER button on the Home Page. 2. The system displays the Register Page. 3. The CUSTOMER enters all of the required information. 4. The CUSTOMER clicks the SEND button. 5. The system checks that all of the required information were entered. If yes, the system update the CUSTOMER’s record in the CUSTOMER and ACCOUNT tables in the database. System displays OK message. Post-condition: The new CUSTOMER has registered. The ACCOUNT and CUSTOMER tables are updated. Register Description Use Case
  • 16. 2. The system displays the Log-in Page. 3. The CUSTOMER enters his/her user ID and password. 4. The CUSTOMER clicks the OK button. 5. The system validates the log-in information against the ACCOUNT table in the database. 6. CUSTOMER is an authorised user; the system displays the Personal Home Page to the CUSTOMER Post-condition: The CUSTOMER has been authorised to perform transactions. Alternate flow: 1. The CUSTOMER clicks the Log-in button on the Home Page. 2. The system displays the Log-in Page. 3. The CUSTOMER enters his/her user ID and password. 4. The CUSTOMER clicks the OK button. 5. The system validates the log-in information against the ACCOUNT table in the database. 6. CUSTOMER is not an authorised user; the system displays a pop-up message to inform the CUSTOMER. Post-condition: The CUSTOMER is not authorised to perform transactions. Log-in (continue…) Description Use Case
  • 17. A CUSTOMER can purchase the books in his/her Shopping Cart. Actor/s: CUSTOMER Pre-condition: The user have logged in and has at least one book in the Shopping Cart. Main flow of events: 1. The CUSTOMER clicks the Check out button on the Web Page. Check Out A CUSTOMER can order books to purchase. Actor/s: CUSTOMER Pre-condition: User have logged-in. Main flow of events: 1. The CUSTOMER enters the keyword for a book and clicks the SEARCH button on the Personal Home Page. 2. The system displays the matching books on the web Page. 3. The CUSTOMER chooses the desired book and clicks the ADD TO SHOPPING CART button on the web page. 4. The system adds the book into the CUSTOMER’s Order table in the database. Post-condition: The ORDER table has been updated. Order Books Description Use Case
  • 18. A CUSTOMER can sell his/her used books. Actor/s: CUSTOMER Pre-condition: The user have logged-in.. Sell used books 2. The system displays the books in the ORDER table of the CUSTOMER on the web Page. 3. The CUSTOMER checks the order list for any inconsistency. If nothing found, CUSTOMER clicks the PROCEED button. 4. The system displays the Invoice page. 5. The Customer enters the relevant credit card information and clicks the OK button. 6. The system checks that the credit card is valid. Then, the system displays the Delivery Details page. 7. The CUSTOMER chooses destination for delivery, along with delivery options. Then, he/she clicks the PROCEED button. 8. The system will display the check-out information for confirmation. 7. The CUSTOMER checks that all information is correct and then clicks the OK button. 8. The system sends a confirmation via CUSTOMER’s e-mail. Post-condition: The ORDER table has been updated. Check Out (continue…) Description Use Case
  • 19. A CUSTOMER can review books. Actor/s: CUSTOMER Pre-condition: User have logged-in.. Main flow of events: 1. The CUSTOMER enters the keyword to search for a book and then clicks the SEARCH button on the Personal Web Page. Review Books Main flow of events: 1. The CUSTOMER clicks the Sell Used Books button on the Home Page. 2. The system displays the Sell used books web page. 3. The CUSTOMER enters the required information on the used books that he/she wants to sell. 4. The CUSTOMER clicks the SEND button on the webpage. 5. The system displays a confirmation page listing the information that the CUSTOMER has entered. 6. The CUSTOMER checks that the information displayed are accurate. If yes, the CUSTOMER clicks the OK button on the web page. 7. The system updates the USED BOOKS table in the database. Post-condition: The Used Books table has been updated. Sell Used Books (continue…) Description Use Case
  • 20. 2. The system displays the matching books on the web Page. 3. The CUSTOMER checks for the desired book and clicks on the chosen book icon. 4. The system displays the book’s detail in the Book Detail web page. 5. The CUSTOMER clicks the REVIEW button on the web page. 6. The system displays the Review Book web page. 7. The CUSTOMER clicks on the desired star button and the click the OK button on the web page. 8. The system calculates the overall rating of the book and updates the Book table in the database. 9. The system displays the Book Detail web pages that have been updated. Post-condition: The BOOK and REVIEW tables are updated. Review Books (continue…) Description Use Case