Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 28

Use Case

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

IS2102 Requirements Analysis and Design 2


Simple Telco Web Portal
System (STWPS)
Additional Information:
• 3 modes of payments available:
• Cash
• Nets
• Credit card
• Cash
• Payment on delivery by cash
• Nets
• Delivery staff will bring a nets machine for the customer to make
payment
• Credit card
• Customer must provide credit card details online and the credit
card details are verified immediately during transaction
IS2102 Requirements Analysis and Design 3
Simple Telco Web Portal
System (STWPS)
Additional Information:
• …
• After purchase order has been submitted
• Customer will be prompted to select their preferred delivery
date/timeslot
• They be given transaction number if the transaction is successful

IS2102 Requirements Analysis and Design 4


Use Case:
Scenario:
Triggering Event:
Brief Description:
Actors:
Stakeholders:
Preconditions:
Postconditions:
Flow of Events: Actor System

Exception Conditions:

IS2102 Requirements Analysis and Design 5


Use Case: Record online mobile phone
order
Scenario:
Triggering Event:
Brief Description:
Actors:
Stakeholders:
Preconditions:
Postconditions:
Flow of Events: Actor System

Exception Conditions:

IS2102 Requirements Analysis and Design 6


Use Case: Record online mobile phone
order
Scenario: Record online mobile phone order
Triggering Event:
Brief Description:
Actors:
Stakeholders:
Preconditions:
Postconditions:
Flow of Events: Actor System

Exception Conditions:

IS2102 Requirements Analysis and Design 7


Use Case: Record online mobile phone
order
Scenario: Record online mobile phone order
Triggering Event: Online mobile phone order
Brief Description:
Actors:
Stakeholders:
Preconditions:
Postconditions:
Flow of Events: Actor System

Exception Conditions:

IS2102 Requirements Analysis and Design 8


Use Case: Record online mobile phone
order
Scenario: Record online mobile phone order
Triggering Event: Online mobile phone order
Brief Description: Customer order mobile phone
through STWPS. A mobile phone
order is created after the
necessary details for the mobile
phone order is provided such as:
the mobile phone, price plan/value
added services are chosen, …
Actors:
Stakeholders:
Preconditions:
Postconditions:
Flow of Events: Actor System

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:

IS2102 Requirements Analysis and Design 10


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:
Flow of Events: Actor System

Exception Conditions:

IS2102 Requirements Analysis and Design 11


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: mobile phone, mobile phone
number, price plan, value added
services must be available.
The credit card format must be
valid.
The customer particular and
delivery addresses are present.
Postconditions:
Flow of Events: Actor System

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.

4.1a If the user is not logged in, system


displays login form/new registration form.

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.

4.1a If the user is not logged in, system


displays login form/new registration form.

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.

4.1a If the user is not logged in, system


displays login form/new registration form.

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.

4.1a If the user is not logged in, system


displays login form/new registration form.

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.

5b. If the customer is logged in, go to step


6.

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.

4.1a If the user is not logged in, system


displays login form/new registration form.

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.

5b. If the customer is logged in, go to step


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)
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.

4.1a If the user is not logged in, system


displays login form/new registration form.
Not enough stocks
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.

5b. If the customer is logged in, go to step


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)
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.

4.1a If the user is not logged in, system


displays login form/new registration form.
Selected number
noin longer
5. If the customer is not logged but is a available
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.

5b. If the customer is logged in, go to step


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)
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.

4.1a If the user is not logged in, system


The displays
selected pricelogin form/new registration form.
plan
5. If the customer is not logged is isnot
in but a available
5.1 System displays the available payment
for this
member, he/she enters the login mobile
details. phone
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.

5b. If the customer is logged in, go to step


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)
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.

4.1a If the user is not logged in, system


displays login form/new registration form.

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.

4.1a If the user is not logged in, system


displays login form/new registration form.

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.

5b. If the customer is logged in, go to step


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)
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.

4.1a If the user is not logged in, system


displays login form/new registration form.

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.

5b. If the customer is logged in, go to step


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)
27
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: …

Flow of Events: Actor System


… …
Exception Conditions: 1.1 Not enough stocks
2.1 Selected number no longer available
3.1 The selected price plan is not available
for this mobile phone
4.1 The selected value-added service is not
available for this mobile phone/price plan
5a.1 The customer details are invalid
6.1 The credit card information is invalid/
credit card verification failed

28

You might also like