48
Identifying & Creating Use Cases – Part 1 Month Day, Year

Identifying & Creating Use Cases – Part 1 Month Day, Year

Embed Size (px)

Citation preview

Page 1: Identifying & Creating Use Cases – Part 1 Month Day, Year

Identifying & Creating Use Cases – Part 1

Month Day, Year

Page 2: Identifying & Creating Use Cases – Part 1 Month Day, Year

AgendaTraining Plan OverviewFinish Overview ModelModel OrganizationIdentifying Creating Use-Cases

Activity Diagram DescriptionActivity Diagram Creation Procedures• Create detailed activity diagram• Create the next model level

Next Steps

Page 3: Identifying & Creating Use Cases – Part 1 Month Day, Year

Training Plan OverviewIntroductionUsing Rational AdministratorUsing ClearCaseUsing ClearQuestUsing Rational Rose XDEIdentifying & Creating Use-Cases – Part 1Identifying & Creating Use-Cases – Part 2Detailing Requirements withRequisiteProActors and Use-Case DiagramsSequence and Statechart DiagramsCollaboration and Class DiagramsIntegration and Development with the .NET Framework

Page 4: Identifying & Creating Use Cases – Part 1 Month Day, Year

Create Blank SolutionSelect File > New > Blank SolutionEnter Solution NameClick OK

Page 5: Identifying & Creating Use Cases – Part 1 Month Day, Year

Create Blank Solution

Page 6: Identifying & Creating Use Cases – Part 1 Month Day, Year

Add ProjectRight Click Add > New ItemSelect XDE ModelSelect Blank ProjectEnter Add Contact

Page 7: Identifying & Creating Use Cases – Part 1 Month Day, Year

Add Project

Page 8: Identifying & Creating Use Cases – Part 1 Month Day, Year

Add ProjectAdd Documentation

EnglishUse Word to check spelling and grammar

Control Workspace

Page 9: Identifying & Creating Use Cases – Part 1 Month Day, Year

PackagesA general purpose mechanism for organizing elements into groups. Packages may be nested within other packagesControl Unit

Page 10: Identifying & Creating Use Cases – Part 1 Month Day, Year

PackagesRight Click

Select Add UMLSelect Package

Page 11: Identifying & Creating Use Cases – Part 1 Month Day, Year

Packages

Page 12: Identifying & Creating Use Cases – Part 1 Month Day, Year

Use-CasesA description of system behavior, in terms of sequences of actions. A use case should yield an observable result of value to an actor. A use case contains all flows of events related to producing the "observable result of value", including alternate and exception flows. More formally, a use case defines a set of use-case instances or scenarios. The specification of a sequence of actions, including variants, that a system (or other entity) can perform, interacting with actors of the system.

Page 13: Identifying & Creating Use Cases – Part 1 Month Day, Year

Use-CasesBusiness Use-Case

A sequence of actions performed by a business that yields an observable result of value to a particular business actor.

Page 14: Identifying & Creating Use Cases – Part 1 Month Day, Year

Use-CasesComposite

Requirements• Diagrams

– Activity– Sequence– Collaboration– State– Use-Case– Class

– Realization• Text

– Database– RequisitePro

• Other Media

Page 15: Identifying & Creating Use Cases – Part 1 Month Day, Year

PackagesUse-Case Name

EnglishClarity

Right ClickSelect Rename

Swipe and SelectActual NameExclude <<>>

Page 16: Identifying & Creating Use Cases – Part 1 Month Day, Year

Use-CasesRight Click

Select Add UMLSelect Use-Case

New Use-Case highlighted

Page 17: Identifying & Creating Use Cases – Part 1 Month Day, Year

Use-CasesPaste NameReselect the use-case

Page 18: Identifying & Creating Use Cases – Part 1 Month Day, Year

Use-CasesReselect the use-case

Right Click Add Diagram Select Activity DiagramPaste NameSelect ActivityGraphRight Click RenamePaste Name

Page 19: Identifying & Creating Use Cases – Part 1 Month Day, Year

Use-CasesReselect the use-case

Right Click Add DiagramSelect Use-Case DiagramPaste Name

Reselect the use-case Right Click Add DiagramSelect Use-Case DiagramPaste NameAdd Detail

Page 20: Identifying & Creating Use Cases – Part 1 Month Day, Year

Use-CasesReselect the use-case

Right Click Add DiagramSelect State DiagramPaste NameSelect StateMachineRight Click RenamePaste Name

Page 21: Identifying & Creating Use Cases – Part 1 Month Day, Year

Use-CasesReselect the use-case

Right Click Add DiagramSelect Sequence DiagramPaste Name + InstanceSelect InteractionInstanceRight Click RenamePaste Name

Page 22: Identifying & Creating Use Cases – Part 1 Month Day, Year

Use-CasesSelect CollaborationInstanceRight Click RenamePaste Name

Page 23: Identifying & Creating Use Cases – Part 1 Month Day, Year

Use-CasesReselect the use-case

Right Click Add DiagramSelect Sequence DiagramPaste Name + RoleSelect InteractionInstanceRight Click RenamePaste Name

Page 24: Identifying & Creating Use Cases – Part 1 Month Day, Year

Use-CasesSelect CollaborationInstanceRight Click RenamePaste Name

Close open diagrams

Page 25: Identifying & Creating Use Cases – Part 1 Month Day, Year

Use-Cases

Page 26: Identifying & Creating Use Cases – Part 1 Month Day, Year

Use-CasesDouble Click the activity diagram

Appears

Select the Start element

Page 27: Identifying & Creating Use Cases – Part 1 Month Day, Year

Use-CasesClick Start ElementSelect Properties window

Select Name Enter Begin Business Activity

Select the Activity element

Click diagram

Page 28: Identifying & Creating Use Cases – Part 1 Month Day, Year

Use-CasesSelect the Transition element

Connect Start element to the activity element

Re-Select the Transition element

Connect activity element to the End element.

Page 29: Identifying & Creating Use Cases – Part 1 Month Day, Year

Use-CasesSelect Diagram

Select Layout Diagram

Use Format Options

AlignLines

• Oblique• Rectilinear• Route Orthogonal

Page 30: Identifying & Creating Use Cases – Part 1 Month Day, Year

Use-CasesRight Click Activity

Select Select in Model Explorer

Right Click New Diagram

Select Activity Diagram

New Activity Diagram appears

Page 31: Identifying & Creating Use Cases – Part 1 Month Day, Year

Use-Cases

Right Click new diagram

Select RenamePaste use-case name and add “Detail”

Page 32: Identifying & Creating Use Cases – Part 1 Month Day, Year

Activity Diagrams (AD)Definition: Defines the workflow associated with the use caseHow used

Details the actions to be taken and decisions to be made for a use caseHelps identify possible use cases at next level of detail

TypesRegularWith SwimlanesWith State Transitions

Page 33: Identifying & Creating Use Cases – Part 1 Month Day, Year

Activity Diagram SymbolsStart StateEnd StateActivityDecisionState Transition

RegularTransition To Self

Horizontal and Vertical Synchronization

Page 34: Identifying & Creating Use Cases – Part 1 Month Day, Year

Activity Diagram Symbols SwimlaneStateNoteNote AnchorText

Page 35: Identifying & Creating Use Cases – Part 1 Month Day, Year

Analysis StepsFor each identified use case

Create a context and detail activity diagramIdentify potential sub-use cases

Create a new package, use case, and related diagrams for the identified sub-use caseMove relevant activities under the sub-use case

Page 36: Identifying & Creating Use Cases – Part 1 Month Day, Year

Identifying Use Cases - NavigationOrganization

PackagesHierarchy

• Project– Use-Case View– Logical View– Component View– Deployment View

Levels of Abstraction

Page 37: Identifying & Creating Use Cases – Part 1 Month Day, Year

Identifying Use-Cases - NavigationBusiness Use-Case Model

Project• The Business

– Business Function 1

– Business Function 1

– Add Use-Case

Use-Case ModelProject

• The System

Page 38: Identifying & Creating Use Cases – Part 1 Month Day, Year

Identifying UCs – Add Use-CaseAdd basic diagrams

Provide work structureProvide review structure

Page 39: Identifying & Creating Use Cases – Part 1 Month Day, Year

Identifying UCs – Add Use-Case

Double Click use-case detail activity diagram

Page 40: Identifying & Creating Use Cases – Part 1 Month Day, Year

Identify UC’s – Add ActivitiesAdd Activities

Don’t attempt to connect

OrganizeGroupsHierarchy

Page 41: Identifying & Creating Use Cases – Part 1 Month Day, Year

Identify UC’s – ID UC’sIdentify Sub-activitiesIdentify a Use-Case

Sub-Use-CasesChange Font Color

• Select Format, Font, Bold

• Select Font Color icon

– Select a color

Page 42: Identifying & Creating Use Cases – Part 1 Month Day, Year

Identify UC’s – ID UC’sAnalyze Activities

Repeat process

Page 43: Identifying & Creating Use Cases – Part 1 Month Day, Year

Identify UC’s – ID UC’sRename to match identified activity

Copy Name

Create a packagePaste Name

Page 44: Identifying & Creating Use Cases – Part 1 Month Day, Year

Identify UC’s – Add UC’sAdd Use-Case

Paste Name

Page 45: Identifying & Creating Use Cases – Part 1 Month Day, Year

Identify UC’s – Add UC’sAdd Diagrams

Paste Name

Select original diagramSelect ActivityGraph of new use-case

Page 46: Identifying & Creating Use Cases – Part 1 Month Day, Year

Identify UC’s – Add UC’sDrag and drop on original activity diagram

Visibility changed accordingly

Delete original activity

Page 47: Identifying & Creating Use Cases – Part 1 Month Day, Year

Identify UC’s – Clean UpReturn to original activity diagram

Repeat for each sub-activity identified

• Select identified use-cases

• Create packages• Add diagrams

Repeat RegressivelyOrganize

Page 48: Identifying & Creating Use Cases – Part 1 Month Day, Year

Next StepsHomework

Homework Model• Explode one top level use-case• Concentrate on abstraction of detail• Use modeling elements

– Business Use-Case Model Level

Classes AheadIdentifying & Creating Use-Cases – Part 2Detailing Requirements withRequisiteProActors and Use-Case DiagramsSequence and Statechart DiagramsCollaboration and Class DiagramsIntegration and Development with the .NET Framework