Prev | Next |
Set Up Scenario Specification
You can create a specification for a scenario in one of a number of ways:
- Enter the specification yourself, as described here
- Generate a specification from an Activity diagram created under a Use Case element
- Generate a specification from the Notes text of the scenario in the 'Text Description' tab
- Generate a specification from text held on the clipboard
Access
On a diagram or in the Project Browser, select an element and:
Ribbon |
Design > Element > Responsibilities > Scenarios > Structured Specification 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 > Scenarios > Structured Specification or > Structured Specification |
Other |
Double-click on element > Scenarios > Structured Specification |
Enter the specification yourself, starting with the basic path
Step |
Action |
See also |
---|---|---|
1 |
In both the 'Scenario' and 'Type' fields, click on the drop-down arrow and select 'Basic Path'. |
|
2 |
In the new step field in the 'Action' column, type the text of the first step or action. |
|
3 |
Tab to the 'Uses' column and, if appropriate, type the name of each element used in this step. If the elements are highlighted in blue and underlined, it indicates that they are already listed in the 'Context References' tab. You can also manage the list of elements as context references, and add to the list directly; see the Notes. |
|
4 |
Tab to the 'Results' column and, if appropriate, type the outcome of completing this step. |
|
5 |
Tab to the 'State' column and, if appropriate, type the name of the state into which the step moves the action. |
|
6 |
When you move out of the 'Action' column, the next new step field displays underneath. Repeat steps 2 to 5 as many times as is necessary. The 'Structured Specification' tab should now resemble this:
|
|
7 |
Click on the (Save) icon in the Structured Specification toolbar. |
Notes
- Structured Specification Toolbar
- Item context menu
- Selected Text context menu
- Entry Points context menu
- Floating Toolbar
Learn more