Prev | Next |
Generate Scenario From Activity Diagram
You can generate a range of diagrams from a scenario in an element. Conversely, you can also generate a structured scenario within an element from an Activity diagram, reverse engineering the steps from the diagram elements (effectively either regenerating the scenario within the Use Case, or transferring a scenario into another Use Case).
Access
On a diagram or in the Project Browser, select an element and use one of these access paths to display the 'Structured Specification' tab, then right-click on a space and select the 'Create Structure From Generated Activity Diagram' option.
Ribbon |
Design > Element > Responsibilities > Scenarios > Structured Specification or Design > Element > Properties > Properties Dialog > Responsibilities > Scenarios > Structured Specification |
Context Menu |
Right-click on element | Properties | Responsibilities > Scenarios > Structured Specification |
Keyboard Shortcuts |
> Scenarios > Structured Specification or > Scenarios > Structured Specification or > Structured Specification |
Other |
Double-click on element > Scenarios > Structured Specification |
Generate a scenario from an Activity diagram
Step |
Action |
See also |
---|---|---|
1 |
On the 'Select an Activity (generated from a UseCase Scenario) containing the Diagram' dialog, search for and select the Activity containing the required diagram. |
Select |
2 |
Click on the . A prompt displays to remind you that any existing scenario steps will be deleted. |
|
3 |
Click on the . The system validates the diagram (displaying the results in the 'Scenario Generation' tab of the System Output window) and, if the diagram is valid, generates the scenario steps in the 'Structured Specification' tab. |
System Output Window |
Notes
Learn more