Professional Documents
Culture Documents
L05 Use Case Description Example
L05 Use Case Description Example
Description
Exercise
Simple Telco Web Portal
System (STWPS)
• Simple Telco Web Portal System (STWPS) is a web portal
used by customers to buy mobile phone and manage
their accounts.
• The portal provides an online shop for customers to
search and shop for mobile phone at the comfort of their
home anytime, anywhere (Similar to
http://www.singtelshop.com , http://www.m1shop.com.sg/
, http://www.starhub.com/shoponline.html)
• Try visiting any of the above URLs to get a feel of how a
user can shop for mobile phones online.
• Use Case: Record online mobile phone order
Exception Conditions:
Exception Conditions:
Exception Conditions:
Exception Conditions:
Exception Conditions:
9
Use Case: Record online mobile phone
order
Scenario: Record online mobile phone order
Triggering Event: Online mobile phone order
Brief Description: …
Actors: Customer
Stakeholders:
Preconditions:
Postconditions:
Flow of Events: Actor System
Exception Conditions:
Exception Conditions:
Exception Conditions:
12
Use Case: Record online mobile phone
order
Scenario: Record online mobile phone order
Triggering Event: Online mobile phone order
Brief Description: …
Actors: Customer
Stakeholders: Customer, Telco Company
Preconditions: …
Postconditions: The online mobile phone order
must exists and associated with
the customer
The amount of stock for mobile
phone is reduced by the requested
quantity.
Flow of Events: Actor System
Exception Conditions:
13
Flow of Actor System
Events: 1. Customer chooses the mobile phone. 1.1 System displays the available mobile
phone number.
14
Flow of Actor System
Events: 1. Customer chooses the mobile phone. 1.1 System displays the available mobile
phone number.
2. Customer chooses a mobile phone 2.1 System displays the available price
number. plans.
15
Flow of Actor System
Events: 1. Customer chooses the mobile phone. 1.1 System displays the available mobile
phone number.
2. Customer chooses a mobile phone 2.1 System displays the available price
number. plans.
3. Customer selects the price plan. 3.1 System displays the available value-
added services.
16
Flow of Actor System
Events: 1. Customer chooses the mobile phone. 1.1 System displays the available mobile
phone number.
2. Customer chooses a mobile phone 2.1 System displays the available price
number. plans.
3. Customer selects the price plan. 3.1 System displays the available value-
added services.
4. Customer selects the value added 4.1 If the user is logged in, system displays
services. the available payment modes.
17
Flow of Actor System
Events: 1. Customer chooses the mobile phone. 1.1 System displays the available mobile
phone number.
2. Customer chooses a mobile phone 2.1 System displays the available price
number. plans.
3. Customer selects the price plan. 3.1 System displays the available value-
added services.
4. Customer selects the value added 4.1 If the user is logged in, system displays
services. the available payment modes.
5. If the customer is not logged in but is a 5.1 System displays the available payment
member, he/she enters the login details. modes.
18
Flow of Actor System
Events: 1. Customer chooses the mobile phone. 1.1 System displays the available mobile
phone number.
2. Customer chooses a mobile phone 2.1 System displays the available price
number. plans.
3. Customer selects the price plan. 3.1 System displays the available value-
added services.
4. Customer selects the value added 4.1 If the user is logged in, system displays
services. the available payment modes.
5. If the customer is not logged in but is a 5.1 System displays the available payment
member, he/she enters the login details. modes.
5a. If the customer is not logged in but is 5a.1 System creates a new member record
not a member, he/she enters his/her and displays the available payment modes.
details and register as a new member.
19
Flow of Actor System
Events: 1. Customer chooses the mobile phone. 1.1 System displays the available mobile
phone number.
2. Customer chooses a mobile phone 2.1 System displays the available price
number. plans.
3. Customer selects the price plan. 3.1 System displays the available value-
added services.
4. Customer selects the value added 4.1 If the user is logged in, system displays
services. the available payment modes.
5. If the customer is not logged in but is a 5.1 System displays the available payment
member, he/she enters the login details. modes.
5a. If the customer is not logged in but is 5a.1 System creates a new member record
not a member, he/she enters his/her and displays the available payment modes.
details and register as a new member.
20
Flow of Actor System
Events: 1. Customer chooses the mobile phone. 1.1 System displays the available mobile
phone number.
2. Customer chooses a mobile phone 2.1 System displays the available price
number. plans.
3. Customer selects the price plan. 3.1 System displays the available value-
added services.
4. Customer selects the value added 4.1 If the user is logged in, system displays
services. the available payment modes.
5. If the customer is not logged in but is a 5.1 System displays the available payment
member, he/she enters the login details. modes.
5a. If the customer is not logged in but is 5a.1 System creates a new member record
not a member, he/she enters his/her and displays the available payment modes.
details and register as a new member.
6. Customer select the payment mode 6.1 System creates the transaction record
and delivery address (and provides the with the necessary details.
credit card details if credit card payment
mode is selected)
21
Flow of Actor System
Events: 1. Customer chooses the mobile phone. 1.1 System displays the available mobile
phone number.
2. Customer chooses a mobile phone 2.1 System displays the available price
number. plans.
3. Customer selects the price plan. 3.1 System displays the available value-
added services.
4. Customer selects the value added 4.1 If the user is logged in, system displays
services. the available payment modes.
5a. If the customer is not logged in but is 5a.1 System creates a new member record
not a member, he/she enters his/her and displays the available payment modes.
details and register as a new member.
6. Customer select the payment mode 6.1 System creates the transaction record
and delivery address (and provides the with the necessary details.
credit card details if credit card payment
mode is selected)
22
Flow of Actor System
Events: 1. Customer chooses the mobile phone. 1.1 System displays the available mobile
phone number.
2. Customer chooses a mobile phone 2.1 System displays the available price
number. plans.
3. Customer selects the price plan. 3.1 System displays the available value-
added services.
4. Customer selects the value added 4.1 If the user is logged in, system displays
services. the available payment modes.
5a. If the customer is not logged in but is 5a.1 System creates a new member record
not a member, he/she enters his/her and displays the available payment modes.
details and register as a new member.
6. Customer select the payment mode 6.1 System creates the transaction record
and delivery address (and provides the with the necessary details.
credit card details if credit card payment
mode is selected)
23
Flow of Actor System
Events: 1. Customer chooses the mobile phone. 1.1 System displays the available mobile
phone number.
2. Customer chooses a mobile phone 2.1 System displays the available price
number. plans.
3. Customer selects the price plan. 3.1 System displays the available value-
added services.
4. Customer selects the value added 4.1 If the user is logged in, system displays
services. the available payment modes.
5a. If the customer is not logged in but is 5a.1 System creates a new member record
not a member, he/she enters his/her and displays the available payment modes.
details and register as a new member.
6. Customer select the payment mode 6.1 System creates the transaction record
and delivery address (and provides the with the necessary details.
credit card details if credit card payment
mode is selected)
24
Flow of Actor System
Events: 1. Customer chooses the mobile phone. 1.1 System displays the available mobile
phone number.
2. Customer chooses a mobile phone 2.1 System displays the available price
number. plans.
3. Customer selects the price plan. 3.1 System displays the available value-
added services.
4. Customer selects the value added 4.1 If the user is logged in, system displays
services. the available payment modes.
5. If the customer is not logged in but is a 5.1 System displays the available payment
member, he/she enters the login details. modes.
The
5a. If the customer is not logged selected
in but is value-
5a.1 System creates a new member record
not a member, he/she enters his/her
added service is not the available payment modes.
and displays
details and register as a new member.
available for this mobile
phone/price
5b. If the customer is logged in, go to step plan
6.
6. Customer select the payment mode 6.1 System creates the transaction record
and delivery address (and provides the with the necessary details.
credit card details if credit card payment
mode is selected)
25
Flow of Actor System
Events: 1. Customer chooses the mobile phone. 1.1 System displays the available mobile
phone number.
2. Customer chooses a mobile phone 2.1 System displays the available price
number. The customer details
plans.
are invalid
3. Customer selects the price plan. 3.1 System displays the available value-
added services.
4. Customer selects the value added 4.1 If the user is logged in, system displays
services. the available payment modes.
5. If the customer is not logged in but is a 5.1 System displays the available payment
member, he/she enters the login details. modes.
5a. If the customer is not logged in but is 5a.1 System creates a new member record
not a member, he/she enters his/her and displays the available payment modes.
details and register as a new member.
6. Customer select the payment mode 6.1 System creates the transaction record
and delivery address (and provides the with the necessary details.
credit card details if credit card payment
mode is selected)
26
Flow of Actor System
Events: 1. Customer chooses the mobile phone. 1.1 System displays the available mobile
phone number.
The credit2.1
2. Customer chooses a mobile phone card
System displays the available price
number. information is invalid/
plans.
credit card verification
3. Customer selects the price plan. 3.1 System displays the available value-
failedadded services.
4. Customer selects the value added 4.1 If the user is logged in, system displays
services. the available payment modes.
5. If the customer is not logged in but is a 5.1 System displays the available payment
member, he/she enters the login details. modes.
5a. If the customer is not logged in but is 5a.1 System creates a new member record
not a member, he/she enters his/her and displays the available payment modes.
details and register as a new member.
6. Customer select the payment mode 6.1 System creates the transaction record
and delivery address (and provides the with the necessary details.
credit card details if credit card payment
mode is selected)
27
Use Case: Record online mobile phone order
Brief Description: …
Actors: Customer
Preconditions: …
Postconditions: …
28