Sie sind auf Seite 1von 3

Yessentemir Nursultan IS121K

Exercise 3
Define user roles:
In my case I define the actors who interacts with the system. First actor is patient who can add to
basket any services. Second actor is server, which handles requests from users, like: registration,
authorization, purchasing, ordering and etc.
Create a use case diagram in UML:

Write use case scenario:


ID: UC1
Title: Register
Description: User accesses to the system and registry in it
Primary actor: user
Preconditions: user is accessed into system
Post conditions: User is registered
Main:
1) User pushes Register button
2) Patient fills all forms (First Name, email address, contact number, login_name, password,
confirm password)

3) User clicks Submit button


3a) Password mismatch
3b) Fill the form correctly (First Name, email address, contact number, login_name,
password, confirm password)
4) System registers and sends confirm message
5) User follows the link and activates account
ID: UC2
Title: Authorization
Description: User sign in into system
Primary actor: User
Preconditions: User accesses to the system
Post conditions: User is logged into the system
Main: 1) User types login and password
2) Clicks login button
2a) Incorrect login or password
2b) Retyping login and password fields
3) User logged into the system
4) Redirecting to page for registered users
ID: UC3
Title: Log Out
Description: User log out from the system
Primary actor: User
Preconditions: User singed in to the system
Post conditions: User is logged out from the system
Main: 1) User clicks logout button
2) User logged out from the system
3) Redirecting to main page
ID: UC4
Title: Choose the movie
Description: User chooses the movie
Primary actor: User
Preconditions: User is logged in to the system
Post conditions: a) User can read description of the movie,
b) Get information about doctors,
c) Add ticket to basket;
Main: 1) Chooses movie from the list
2) System displays textual information
3) Read description
4) Add ticket to basket
5) Choose how many tickets the user wants;
ID: UC5
Title: Add to basket
Description: User chooses the movie and adds to the basket
Primary actor: User
Preconditions: User is logged into the system
Post conditions: User can see the total cost of ticket
Main: 1) Chooses movie from the list

2) Chooses the student, adult or child ticket


2) Choose the seats that user wants
3) Add to basket
4) System adds seats number to the basket
5) See total cost of ticket
ID: UC6
Title: Remove from basket
Description: User chooses the movie and removes from the basket
Primary actor: User
Preconditions: User is logged into the system
Post conditions: User deletes movie from the basket
Main: 1) Chooses movie from the basket
2) Clicks delete button
2a) No movie chosen
3) Movie will be deleted from the basket
ID: UC7
Title: Movie Information
Description: User chooses the movie and reads information about movie
Primary actor: User
Preconditions: User is logged into the system
Post conditions: User reads information about movie
Main: 1) Chooses movie from the list
2) System displays textual information to the screen
3) Reads textual information about service

Das könnte Ihnen auch gefallen