Skip to content

Detailed Use Case Descriptions

Ege Karadibak edited this page Feb 22, 2021 · 32 revisions

Table of Contents

USE CASE: SIGN IN

Use Case Diagram

Author: Ege Karadibak

Identifier: Req. 1,2,3

Actor: Customer

Intention: Creating an account

Precondition: The user must have an internet connection and must not have an account.

Steps for the main scenario:

  1. The system asks the user for their first name, last name, username, email, password, and optionally the phone number.
  2. The system validates that the user’s information is correct.
  3. User presses the sign-in button.

Alternative scenarios:

2a. The system determines that the username is already taken, the system takes the user to step 1.

2b. The system determines that the given email is already associated with an account, the system takes the user to step 1.

3a. The system deletes the user’s account.

Post Condition (success): The user has an account on the platform.

Post Condition (failure): The system deletes the user account.

USE CASE: BOOK APPOINTMENT

Use Case Diagram

Author: Rania Ouassif

Identifier: REQ. 3,4,11

Actor: Customer

Intention: Book Appointment

Precondition: The user must have an internet connection and must have an account.

Steps for the main scenario:

  1. The system asks for the user’s login information.

  2. The user gives their login information to the system.

  3. The system validates that the user’s login information is correct.

  4. The user is logged in to the system as a customer.

  5. The user selects the book appointment option in the system which is only available to customers.

  6. The system notifies the customer that no more than three services per appointment can be selected.

  7. The user selects up to three services.

  8. The system asks the user to chose a desired date or a starting and ending dates for the booking.

  9. The system displays the availabilities with regards to the date(s) and services chosen, by specifying the date, the start time, the end time and the name of technician(s) of the appointment.

  10. The user selects one appointment slot.

  11. The system displays the price of each service and then the total.

  12. The user confirms by pressing the book appointment button.

  13. The system directs the customer to the appointments view.

  14. The user receives a confirmation message for the booking.

Alternative scenarios:

  1. The login information of the user is incorrect, the system redirects to step 1 where the user enters the login information.

  2. The user chooses more than 3 services, the system displays the message : "Please, select at most 3 services".

  3. The system determines that no available appointment slot is available, the system displays the message : "No available appointment slot for the chosen date. Please select another appointment date".

  4. The user selects the button Book Later, the system redirects the customer to the main view.

Post Condition (success): The user books the appointment and can view it on the list of appointments.

Use Case: Create Schedule Of Appointments

Identifier: ADD REQS. NUMBERS HERE

Author: Anandamoyi Saha

Actor: Administrative Assistant

Intention: Create a schedule of appointment spots

Precondition: The user must have an internet connection. The user must have an account as an administrative assistant.

Steps for the main scenario:

1.The system asks for the user’s login information.

2.The user gives their login information to the system.

3.The system validates that the user’s login information is correct.

4.The user is logged in to the system as an administrative assistant.

5.The user selects the creation of schedule option in the system which is only available to the administrative assistant.

6.The user requests the system that they would like to create an appointment spot.

7.The system asks the user to select the date, the start time and end time of the appointment.

8.The user chooses, the date, the start time and end time of the appointment.

9.The system shows available technicians to the user.

  1. The user selects the technicians to be assigned to the appointment.

11.The system validates that the right number of technicians is assigned and that the availability of the technicians match the time of the appointment.

12.The appointment spot is created in the system.

13.The user may repeat steps 6 to 12 until there are no more available technicians.

Alternative scenarios:

1a. The login information of the user is incorrect.

1a.1 The system redirects to step 1 where the user enters the login information.

8a. The time of appointment chosen by the user overlaps with another appointment.

8a.1 The system redirects to step 7 and continues the following steps.

9a. There are no available technicians for the selected time of the appointment.

9a.1 The system redirects to step 7 and continues the following steps.

11.a. The right number of technicians has not been assigned.

11.a.1 The system redirects to step 10 and continues the following steps.