Usecase Step-by-Step Guide

Usecase Step-by-Step Guide Usecase Step-by-Step Guide CONTENTS Contents ..............................................................................
Author: Jody Lynch
6 downloads 2 Views 2MB Size
Usecase Step-by-Step Guide

Usecase Step-by-Step Guide

CONTENTS Contents ........................................................................................................................................................................1 Overview ........................................................................................................................................................................2 Key Takeaways ...............................................................................................................................................................2 Usecase User Interface ..................................................................................................................................................3 Steps Toolbar .............................................................................................................................................................4 Diagram Toolbar ........................................................................................................................................................5 Creating a new Use Case ...............................................................................................................................................6 Modeling Use Case ........................................................................................................................................................7 Modeling Success Scenario ........................................................................................................................................8 Modeling Branches ..................................................................................................................................................12 Merging Branches ....................................................................................................................................................18

Copy right © 2014-2016: Modern Requirements All rights reserved

Page 1 of 23

Usecase Step-by-Step Guide

OVERVIEW The Use Case module in the Requirements Definition Tab is used to generate the dynamic model of a system. By generating a model, all the stakeholders can identify the relevant goals, involved actors, and decide which of the system requirements are to be addressed. It also helps identify internal and external factors that should be taken care of. Users can generate the dynamic model of the system by entering the steps of a particular use case for inteGREAT4TFS to model the respective diagram based on the provided narration. Existing diagrams can be refreshed if the steps have been updated. Use Cases do not always exist in isolation. If two use cases interact in any manner, it can be depicted using the Call Use Case option.

KEY TAKEAWAYS Individuals will learn how to perform the following tasks from this tutorial: 

Use Case User Interface



Creating a new use case



Modeling a use case

Copy right © 2014-2016: Modern Requirements All rights reserved

Page 2 of 23

Usecase Step-by-Step Guide

USECASE USER INTERFACE The User Interface of the Use Case module is divided into two tabs: 

The Steps Tab (where users enter the steps for the system):

Copy right © 2014-2016: Modern Requirements All rights reserved

Page 3 of 23

Usecase Step-by-Step Guide 

The Diagram Tab (where inteGREAT4TFS automatically creates the corresponding diagram as per the steps entered by the user).



Each panel has its own toolbar as described under the respective topic.

STEPS TOOLBAR

Save Options Branch Merge Call Use Case Delete Smart Tag Font Face

Save the options for the use case Creates a branch within the use case Merges 2 or more branches within the use case Calls another Use Case into the current use case Deletes the current statement in the narration Used to add a Smart Tag Used to select desired font face for the text

Font Size

Used to select desired font size for the text

Copy right © 2014-2016: Modern Requirements All rights reserved

Page 4 of 23

Usecase Step-by-Step Guide Bold Italic Underline Insert/Edit Hyperlink Delete Hyperlink Font Color Font Fill

Used to bold the text Used to italicize the text Used to underline the text Used to insert or edit a hyperlink Used to delete a hyperlink Used to change the font color Used to change the font fill color

Table

Used to insert a table

DIAGRAM TOOLBAR

Color Configuration Save as PNG Zoom Percentage Zoom Configuration

Used to select the desired color configuration for the diagram Saves the diagram as a .PNG file Shows the current zoom percentage ratio Used to adjust the zoom level to update the size of the diagram

Copy right © 2014-2016: Modern Requirements All rights reserved

Page 5 of 23

Usecase Step-by-Step Guide

CREATING A NEW USE CASE 1.

Navigate to the folder where the new use case is to be created.

2.

Click New  Use Case option in the Folder Explorer.

3.

Give a suitable name to the use case being created and click the Create Button.

Copy right © 2014-2016: Modern Requirements All rights reserved

Page 6 of 23

Usecase Step-by-Step Guide The new use case is created.

MODELING A USE CASE Modeling a use case is the process where the user narrates the use case in text and a relevant shape is generated automatically by inteGREAT4TFS. This shape represents the flow of the process graphically, similar to a scenario. The difference between a scenario and a use case is that, in a scenario the user designs the flow using shapes while in a use case, the user only enters the textual representation of the process flow and inteGREAT4TFS draws the flow itself. Modeling the Use Case involves three major areas (each area is discussed separately), however all three are essential to model a complete use case with the given sequence: 1. 2. 3.

Modeling a Success Scenario Modeling Branches Merging Branches

Copy right © 2014-2016: Modern Requirements All rights reserved

Page 7 of 23

Usecase Step-by-Step Guide

MODELING A SUCCESS SCENARIO 1.

Open the desired use case from the Folder Explorer.

2.

Enter the steps for process in the Steps panel (under Main Success Scenario heading).

Copy right © 2014-2016: Modern Requirements All rights reserved

Page 8 of 23

Usecase Step-by-Step Guide 3.

Click the Diagram Tab.

The step is shown graphically in the Designer panel.

Copy right © 2014-2016: Modern Requirements All rights reserved

Page 9 of 23

Usecase Step-by-Step Guide 4. 5.

Now click the Steps Tab to go back to the Steps panel. Continue to enter steps as described above until the Main Success Scenario (the happy path) is modeled completely.

Copy right © 2014-2016: Modern Requirements All rights reserved

Page 10 of 23

Usecase Step-by-Step Guide 6.

Now click the Diagram Tab again to view the final drawing as per steps.

Copy right © 2014-2016: Modern Requirements All rights reserved

Page 11 of 23

Usecase Step-by-Step Guide

MODELING BRANCHES Now that we have modeled the Main Success Scenario it’s time to model branches. The branches may be alternate scenarios or exception scenarios. Both are modeled in the same manner. To model these alternate scenarios, we use the Branch option. Let's see how this is used. 1.

Place the cursor at the step (in the Steps panel) from where the branch would start.

Copy right © 2014-2016: Modern Requirements All rights reserved

Page 12 of 23

Usecase Step-by-Step Guide 2.

Click the Branch button in the Steps Toolbar.

Copy right © 2014-2016: Modern Requirements All rights reserved

Page 13 of 23

Usecase Step-by-Step Guide 3.

Enter the alternate scenario's name and click the OK button.

Copy right © 2014-2016: Modern Requirements All rights reserved

Page 14 of 23

Usecase Step-by-Step Guide The desired branch is created in the Steps panel and the cursor is shifted inside the alternate scenario.

Copy right © 2014-2016: Modern Requirements All rights reserved

Page 15 of 23

Usecase Step-by-Step Guide 4.

Now model the flow in the same manner as Main Success Scenario and then click the Diagram Tab.

Copy right © 2014-2016: Modern Requirements All rights reserved

Page 16 of 23

Usecase Step-by-Step Guide The alternate scenario branch appears in the Diagram panel.

Copy right © 2014-2016: Modern Requirements All rights reserved

Page 17 of 23

Usecase Step-by-Step Guide

MERGING BRANCHES Branches may remain separate or may merge at some point as per steps of the use case. To merge the branches, we use the Merge option. Let's see how this is used. 1.

Place the cursor in the branch step from where it is to be merged with the Main Success Scenario (or another branch).

Copy right © 2014-2016: Modern Requirements All rights reserved

Page 18 of 23

Usecase Step-by-Step Guide 2.

Click the Merge button.

Copy right © 2014-2016: Modern Requirements All rights reserved

Page 19 of 23

Usecase Step-by-Step Guide 3.

Select the step in the Main Success Scenario (or any other branch as per requirements) and click the OK button.

Copy right © 2014-2016: Modern Requirements All rights reserved

Page 20 of 23

Usecase Step-by-Step Guide The branch is merged (as per selection) in the Steps panel.

Copy right © 2014-2016: Modern Requirements All rights reserved

Page 21 of 23

Usecase Step-by-Step Guide 4.

Click The Diagram Tab.

Copy right © 2014-2016: Modern Requirements All rights reserved

Page 22 of 23

Usecase Step-by-Step Guide The branch is now merged in the diagram.

Copy right © 2014-2016: Modern Requirements All rights reserved

Page 23 of 23