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, right-click on element and select:
 
Properties > Scenarios > Structured Specification | Right-click on space | Create Structure From Generated Activity Diagram or
Properties Page | Scenarios > Structured Specification | Right-click on space | Create Structure From Generated Activity Diagram

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 <Item> Dialog

2

Click on the OK button.

A prompt displays to remind you that any existing scenario steps will be deleted.

 

 

3

Click on the Yes button.

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

·The source Activity diagram must be generated from another Use Case scenario
·This facility does not operate on the enhanced Activity diagrams generated from a Use Case - those generated with ActivityParameters, Actions and Action Pins

 

Learn more