SlideShare ist ein Scribd-Unternehmen logo
1 von 7
Downloaden Sie, um offline zu lesen
Introdaction to Python
Dr. Mohammed Qassim Page 22
Use Case Context Diagram
Use Case Context Diagram
Example: Requirements for Case Study (On-Line Bookstore):
 In an on-line Bookstore system, user needs to log-in first before he/she could
order and purchase any desired books. Describe the use case for the log-in
process of the on-line Bookstore system.
 The steps involved: -
 Identify the actor : CUSTOMER
 Identify the use case for the actor (CUSTOMER):
 REGISTER
 LOG-IN
 ORDER BOOKS
 CHECK OUT
 REVIEW BOOKS
 SELL USED BOOKS
 For each use case, determine include and extend relationships, if any
 A Customer must log-in first before he/she can order books,
check out, review books or sell used books: include
relationship.
Introdaction to Python
Dr. Mohammed Qassim Page 23
Use Case Context Diagram
 A Customer can proceed to check out after he/she has ordered
books: extend relationship.
Introdaction to Python
Dr. Mohammed Qassim Page 24
Use Case Context Diagram
Use Case Description
Register 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.
Log-in 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.
Introdaction to Python
Dr. Mohammed Qassim Page 25
Use Case Context Diagram
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.
Post-condition:
The CUSTOMER is not authorised to perform transactions.
Order
Books
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
Introdaction to Python
Dr. Mohammed Qassim Page 26
Use Case Context Diagram
database.
Post-condition:
The ORDER table has been updated.
Check
Out
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.
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.
10. The CUSTOMER checks that all information is correct and then
Introdaction to Python
Dr. Mohammed Qassim Page 27
Use Case Context Diagram
clicks the OK button.
11. The system sends a confirmation via CUSTOMER’s e-mail.
Post-condition:
The ORDER table has been updated.
Sell used
books
A CUSTOMER can sell his/her used books.
Actor/s: CUSTOMER
Pre-condition: The user have logged-in..
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.
Introdaction to Python
Dr. Mohammed Qassim Page 28
Use Case Context Diagram
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.
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

Weitere ähnliche Inhalte

Ähnlich wie Use Case Context Diagram part5

Manage shopping cart
Manage shopping cartManage shopping cart
Manage shopping cart
applee
 
CASE STUDY - THE NEXTGEN POS SYSTEM (2).ppt
CASE STUDY - THE NEXTGEN POS SYSTEM (2).pptCASE STUDY - THE NEXTGEN POS SYSTEM (2).ppt
CASE STUDY - THE NEXTGEN POS SYSTEM (2).ppt
Jayaprasanna4
 
info 476 systems analyst report
info 476 systems analyst reportinfo 476 systems analyst report
info 476 systems analyst report
James Peterson
 
Price comparison site project- arquitecture
Price comparison site project- arquitecturePrice comparison site project- arquitecture
Price comparison site project- arquitecture
Nikos Filippakis
 
Angel Premium Hair Training Manual
Angel Premium Hair Training ManualAngel Premium Hair Training Manual
Angel Premium Hair Training Manual
amitdeyus
 
Purchase Management in Open ERP
Purchase Management in Open ERPPurchase Management in Open ERP
Purchase Management in Open ERP
Millenniumsoft
 
Web basics 101
Web basics 101Web basics 101
Web basics 101
tlcjohnson
 

Ähnlich wie Use Case Context Diagram part5 (20)

Manage shopping cart
Manage shopping cartManage shopping cart
Manage shopping cart
 
171846965 projects
171846965 projects171846965 projects
171846965 projects
 
CASE STUDY - THE NEXTGEN POS SYSTEM (2).ppt
CASE STUDY - THE NEXTGEN POS SYSTEM (2).pptCASE STUDY - THE NEXTGEN POS SYSTEM (2).ppt
CASE STUDY - THE NEXTGEN POS SYSTEM (2).ppt
 
Accounting software
Accounting softwareAccounting software
Accounting software
 
info 476 systems analyst report
info 476 systems analyst reportinfo 476 systems analyst report
info 476 systems analyst report
 
Price comparison site project- arquitecture
Price comparison site project- arquitecturePrice comparison site project- arquitecture
Price comparison site project- arquitecture
 
Angel Premium Hair Training Manual
Angel Premium Hair Training ManualAngel Premium Hair Training Manual
Angel Premium Hair Training Manual
 
Company presentation
Company presentationCompany presentation
Company presentation
 
6 Use Cases.pptx
6 Use Cases.pptx6 Use Cases.pptx
6 Use Cases.pptx
 
Purchase Management in Open ERP
Purchase Management in Open ERPPurchase Management in Open ERP
Purchase Management in Open ERP
 
E commerce use case documentation.
E commerce use case documentation.E commerce use case documentation.
E commerce use case documentation.
 
Create a purchase requisition
Create a purchase requisitionCreate a purchase requisition
Create a purchase requisition
 
How to Create Purchase Order in Odoo 14
How to Create Purchase Order in Odoo 14How to Create Purchase Order in Odoo 14
How to Create Purchase Order in Odoo 14
 
Web basics 101
Web basics 101Web basics 101
Web basics 101
 
Credit Cards Navision Processor
Credit Cards Navision ProcessorCredit Cards Navision Processor
Credit Cards Navision Processor
 
Government e Marketplace GeM Presentation
Government e Marketplace GeM PresentationGovernment e Marketplace GeM Presentation
Government e Marketplace GeM Presentation
 
Love Jane User Manual
Love Jane User ManualLove Jane User Manual
Love Jane User Manual
 
E space abstract
E   space abstractE   space abstract
E space abstract
 
procurement process-documentation-draft-20150515
procurement process-documentation-draft-20150515procurement process-documentation-draft-20150515
procurement process-documentation-draft-20150515
 
Diya Essay In Hindi. Online assignment writing service.
Diya Essay In Hindi. Online assignment writing service.Diya Essay In Hindi. Online assignment writing service.
Diya Essay In Hindi. Online assignment writing service.
 

Mehr von DrMohammed Qassim

Mehr von DrMohammed Qassim (20)

Repatino code - hamming code (7,4) - chapter four
Repatino code - hamming code (7,4) - chapter fourRepatino code - hamming code (7,4) - chapter four
Repatino code - hamming code (7,4) - chapter four
 
Shannon code & shannon fano & huffman method - chapter three
Shannon code  & shannon fano & huffman method  - chapter threeShannon code  & shannon fano & huffman method  - chapter three
Shannon code & shannon fano & huffman method - chapter three
 
ٍSource Entropy - binary symmetric channe - chapter one - two
ٍSource Entropy - binary symmetric channe - chapter one - twoٍSource Entropy - binary symmetric channe - chapter one - two
ٍSource Entropy - binary symmetric channe - chapter one - two
 
(Win7) مقدمة في نظام التشغيل
(Win7) مقدمة في نظام التشغيل  (Win7) مقدمة في نظام التشغيل
(Win7) مقدمة في نظام التشغيل
 
مقدمة في برمجة و تصميم الشبكات
مقدمة في برمجة و تصميم الشبكاتمقدمة في برمجة و تصميم الشبكات
مقدمة في برمجة و تصميم الشبكات
 
مقدمة حول الشبكات
مقدمة حول الشبكاتمقدمة حول الشبكات
مقدمة حول الشبكات
 
منهاج تحليل و تصميم نظم المعلومات
منهاج تحليل و تصميم نظم المعلوماتمنهاج تحليل و تصميم نظم المعلومات
منهاج تحليل و تصميم نظم المعلومات
 
منهاج بناء و تصميم مواقع الانترنيت
منهاج بناء و تصميم مواقع الانترنيتمنهاج بناء و تصميم مواقع الانترنيت
منهاج بناء و تصميم مواقع الانترنيت
 
مقدمة في قواعد البيانات
مقدمة في قواعد البياناتمقدمة في قواعد البيانات
مقدمة في قواعد البيانات
 
System analysis part2
System analysis part2System analysis part2
System analysis part2
 
Example for ER diagram part11
Example for ER diagram part11Example for ER diagram part11
Example for ER diagram part11
 
Primary Key & Foreign Key part10
Primary Key & Foreign Key part10Primary Key & Foreign Key part10
Primary Key & Foreign Key part10
 
Entity Relationship Diagram part9
Entity Relationship Diagram part9Entity Relationship Diagram part9
Entity Relationship Diagram part9
 
Activity Diagram part8
Activity Diagram part8Activity Diagram part8
Activity Diagram part8
 
Data flow diagram part7
Data flow diagram part7Data flow diagram part7
Data flow diagram part7
 
Data Flow Models part6
Data Flow Models part6Data Flow Models part6
Data Flow Models part6
 
Use Case Diagrams part4
Use Case Diagrams part4Use Case Diagrams part4
Use Case Diagrams part4
 
System Development Life Cycle part3
System Development Life Cycle part3System Development Life Cycle part3
System Development Life Cycle part3
 
Introduction to System analysis part1
Introduction to System analysis part1Introduction to System analysis part1
Introduction to System analysis part1
 
Introduction to Python
Introduction to PythonIntroduction to Python
Introduction to Python
 

Kürzlich hochgeladen

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
+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...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Kürzlich hochgeladen (20)

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
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
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
+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...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 

Use Case Context Diagram part5

  • 1. Introdaction to Python Dr. Mohammed Qassim Page 22 Use Case Context Diagram Use Case Context Diagram Example: Requirements for Case Study (On-Line Bookstore):  In an on-line Bookstore system, user needs to log-in first before he/she could order and purchase any desired books. Describe the use case for the log-in process of the on-line Bookstore system.  The steps involved: -  Identify the actor : CUSTOMER  Identify the use case for the actor (CUSTOMER):  REGISTER  LOG-IN  ORDER BOOKS  CHECK OUT  REVIEW BOOKS  SELL USED BOOKS  For each use case, determine include and extend relationships, if any  A Customer must log-in first before he/she can order books, check out, review books or sell used books: include relationship.
  • 2. Introdaction to Python Dr. Mohammed Qassim Page 23 Use Case Context Diagram  A Customer can proceed to check out after he/she has ordered books: extend relationship.
  • 3. Introdaction to Python Dr. Mohammed Qassim Page 24 Use Case Context Diagram Use Case Description Register 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. Log-in 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.
  • 4. Introdaction to Python Dr. Mohammed Qassim Page 25 Use Case Context Diagram 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. Post-condition: The CUSTOMER is not authorised to perform transactions. Order Books 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
  • 5. Introdaction to Python Dr. Mohammed Qassim Page 26 Use Case Context Diagram database. Post-condition: The ORDER table has been updated. Check Out 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. 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. 10. The CUSTOMER checks that all information is correct and then
  • 6. Introdaction to Python Dr. Mohammed Qassim Page 27 Use Case Context Diagram clicks the OK button. 11. The system sends a confirmation via CUSTOMER’s e-mail. Post-condition: The ORDER table has been updated. Sell used books A CUSTOMER can sell his/her used books. Actor/s: CUSTOMER Pre-condition: The user have logged-in.. 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.
  • 7. Introdaction to Python Dr. Mohammed Qassim Page 28 Use Case Context Diagram 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. 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