0% found this document useful (0 votes)
13 views

Use Case Analysis

Uploaded by

rizki
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views

Use Case Analysis

Uploaded by

rizki
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 12

Use Case

Analysis

Pertemuan ke 5
Objectives

01 02 03 04 05
Explain the Describe the Explain the Describe how Describe how
purpose of use various parts of process used to use cases use cases
cases in the a use case and create a use contribute to inform the
analysis phase the purpose of case. the functional development of
of the SDLC. each part. requirements. test plans.
Outline
• Use Case
• Element of Use Case
• Alternative Use Case Format
• Use Case & Functional Requirements
• Use Cases & Testing
• Building Use Case
• Use Case Modeling (UML Notation)
• Apply The Use Case Concept
Use Case
• A use case represents how a system interacts with its environment
by illustrating the activities that are performed by the users of the
system and the system’s responses.
• The goal is to create a set of use cases that describe all the tasks
that users need to perform with the system. Use cases are often
thought of as an external or functional view of a business process,
showing how the users view the process rather than the internal
mechanisms by which the process operates.
• Use cases helps ensure that users’ insights are explicitly
incorporated into the new system
• The use case describes what the system will do from the user’s
perspective
Element Of Use Case

Alternative Courses: the


Preconditions: define the Normal Course: lists the
steps followed for
Basic Information: name state the system must steps that are performed
alternative paths
and number be in before the use case when everything flows
through the use case are
commences smoothly in the system
outlined

Summary Inputs and Additional Use Case


Exceptions: any special Outputs: Each of the Issues: Frequency of use,
Postconditions: define
situations or errors that major inputs and outputs Business rules, Special
the final products of this
could occur with each to the use case are requirements,
use case
step listed, along with its Assumptions, Notes and
source or destination issues.
Use Case
Element
Of
Scenario
Alternati
ve Use
Case
Formats
Steps for
Writing for Use
Cases
Use cases do explain the user’s interaction
with the system, but they omit a lot of
Use Cases details that are necessary to know before
the system can be developed.
and the
Functional Use cases only convey the user’s point of
Requirement view. Behind the scenes processing details
s are probably not included in the use case.

Transforming the user’s view into the


developer’s view by creating functional
requirements is one of the important
contributions that the systems analyst
makes to the development project.
By studying the use cases and the
functional requirements derived from
them, the testing personnel can
readily identify elements of the tests
they will want to perform when the
Use Cases system enters testing.
and Testing When it comes time to actually
perform the tests, the testing
personnel are well prepared and not
forced to develop and perform the
tests in a rush.
Use Case Modelling

• Use case diagrams are usually referred to as behavior diagrams


used to describe a set of actions (use cases) that some system or
systems (subject) should or can perform in collaboration with one or
more external users of the system (actors). Each use case should
provide some observable and valuable result to the actors or other
stakeholders of the system.

• References: https://www.uml-diagrams.org/use-case-diagrams.html
Class Exercises
Create a set of use cases & Model use case for the following system:
Of-the-Month Club (OTMC) is an innovative young firm that sells memberships to
people who have an interest in certain products. People pay membership fees for one
year and each month receive a product by mail. For example, OTMC has a coffee-of-
the month club that sends members one pound of special coffee each month. OTMC
currently has six memberships (coffee, wine, beer, cigars, flowers, and computer
games), each of which costs a different amount. Customers usually belong to just
one, but some belong to two or more. When people join OTMC, the telephone
operator records the name, mailing address, phone number, e-mail address, credit
card information, start date, and membership service(s) (e.g., coffee). Some
customers request a double or triple membership (e.g., two pounds of coffee, three
cases of beer). The computer game membership operates a bit differently from the
others. In this case, the member must also select the type of game (action, arcade,
fantasy/science fiction, educational, etc.) and age level. OTMC is planning to greatly
expand the number of memberships it offers (e.g., video games, movies, toys,
cheese, fruit, vegetables), so the system needs to accommodate this future
expansion. OTMC is also planning to offer three-month and six-month memberships.

You might also like