Overview
This tool mentor assumes that a Use-Case Model has been created in accordance with the Model Structure Guidelines for RSx. It further assumes that a use case has been
created by following the steps outlined in Find
Actors and Use Cases.
The following steps are performed in this tool mentor:
Additional Tool Information
Before detailing a use case, you need to decide how these details will be captured. Some options are:
-
Using the Model Documentation window, you can document any selected model element. See Documenting Model Elements.
-
A separate use-case specification document can be created using the RUP-provided template (see Artifact: Use Case for templates). The document can then be
associated with the use-case model element. See Linking Model Elements to External Files.
-
You can also associate use cases with requirement and documents using the Rational RequisitePro Integration. To
associate a use case to a RequisitePro requirement or document, refer to the RequisitePro integration
help. More information about the RequisitePro integration is provided below.
Rational RequisitePro Integration
Using the Rational RequisitePro Integration, you can edit use-case model elements from their associated requirements in
RequisitePro databases and documents. You can associate use cases with requirements documents in RequisitePro, which
allows you to develop a textual definition of the use case in a RequisitePro Microsoft Word document. In RequisitePro
use-case documents, you can elaborate the use case with descriptions, flows of events, special requirements, and
conditions.
The integration also allows you to assign requirement traceability to model elements. You can use associated
requirements to track the relationships between your model elements and other requirements using RequisitePro
requirements traceability capabilities. Associating model elements with requirements allows you to review and assess
the impact of requirement changes on your model elements.
For more information, see the Managing Use Cases Using RSx and Rational RequisitePro guidelines.
-
Open the Use-Case Model.
-
Navigate to the use case to be detailed.
-
Enter a detailed flow of events into the documentation associated with the model element.
You can illustrate the structure of the flow of events with an activity diagram. To do this, follow these steps:
-
Right-click the use case in the Model Explorer, and add an activity diagram. See Activity Diagrams.
-
(optional) Add swimlanes.
-
Add initial state, final state, and activities. See Control Nodes.
-
Annotate each activity with a brief description. See Documenting Model Elements.
-
Connect activity states with transitions. See Relationships.
-
Create synchronization bars (as needed).
-
Specify guard conditions on transitions (as needed).
This is an optional step that is performed only to clarify the relationships between the use case and its associated
actors and use cases. Adding relationships with actors is described in Find
Actors and Use Cases. Relationships with other use cases are described in Structure the Use-Case Model.
For more information, refer to Modeling the Behavior of a System by using Use-Case Diagrams in the online Help.
Enter this information into the documentation associated with the use case. Note that there is a specific section for
this information in the Use-Case Specification template.
Enter this information into the documentation associated with the use case. Note that there is a specific section for
this information in the Use-Case Specification template.
Enter this information into the documentation associated with the use case. Note that there is a specific section for
this information in the Use-Case Specification template.
Enter this information into the documentation associated with the use case. Note that there is a specific section for
this information in the Use-Case Specification template.
Enter this information into the documentation associated with the use case. Note that there is a specific section for
this information in the Use-Case Specification template.
Each detailed use-case description should be reviewed with stakeholders. Tool reports and published Use-Case Model
diagrams (use case and activity) can aid in the review of the detailed use-case description.
For more information, refer to Publishing Models and to the Publishing a Model to Web tutorial.
Tutorials:
-
Associating
requirements and model elements
Samples:
-
UML Models -
Simple UML Model
|