Topics
Prev Next

Structured Specification Item Context Menu

You can perform a wide range of operations to create and manage your Structured Specification, using the Structured Specification item context menu.

Access

On a diagram or in the Project Browser, select an element and:

Ribbon

Design > Element > Manage > Properties > Scenarios > Structured Specification > Right-click on item  or

Design > Element > Manage > Specific Properties Page > Scenarios > Structured Specification > Right-click on item

Context Menu

Right-click on element | Properties > Scenarios > Structured Specification | Right-click on item   or

Right-click on element | Properties Page | Scenarios > Structured Specification | Right-click on item

Keyboard Shortcuts

Alt+Enter : Scenarios > Structured Specification | Right-click on item  or

Shift+Alt+S > Structured Specification | Right-click on item

Other

Double-click on Element : Scenarios > Structured Specification | Right-click on item

Item menu options

Option

Action

See also

Create Structure From Clipboard Text

Click on this option to display two sub-options to generate a set of steps from a text description or list captured on the clipboard; a new step is generated:

  • After each carriage return in the captured text ('New Line Delimited'), or
  • For each sentence in the text; that is, after each full stop/space/capital letter combination ('Sentence Delimited')

If a set of steps is already displayed, it is overwritten by the generated steps.

Create Structure From Generated Activity Diagram

Click on this option to generate a set of steps from an Activity Diagram created for a Use Case.

If a set of steps is already displayed, it is overwritten by the generated steps.

Generate Scenario from Activity Diagram

Add Alternate Path

Click on this option to create a branch from the selected basic path step to an alternate path.

Alternate path

Add Exception Path

Click on this option to create a branch from the selected basic path step to an exception path.

Exception path

Insert Step

Click on this option to display three sub-options, to insert a new step... line:

  • Above the currently-selected step (press Esc to return this new line to the end of the scenario)
  • Below the currently-selected step (press Esc to return this new line to the end of the scenario)
  • At the end of the scenario

Shortcut: Shift+Insert or Insert+Ctrl+N

Set Step As 'User'
Set Step As 'System'

Click on the appropriate option to switch the entity responsible for performing the action of the selected step between user and system.

Link Step to Use Case

Click on this option to display sub-options to:

  • Include the actions of an existing Use Case element
  • Extend an existing Use Case element, or
  • Invoke a Use Case as the action of the selected step

Selecting the appropriate sub-option displays the 'Select Use Case' dialog, which you use to browse for and select the required Use Case element.

The appropriate includes, extends or invokes stereotyped connector is created between the current element and the selected Use Case.

For the include and extend actions, any text in the 'Action' field is overwritten by the link to the Use Case; for the invoke action, this link is added to the end of the 'Action' text:

     (Invokes: <Use Case Name>)

Select Use Case

Merge With Step

Click on this option to merge the selected step with another.

A list of the other steps in the scenario displays; click on the step to merge with the selected step.

Move After Step

Click on this option to move the selected step to another position in the scenario.

A list of the other steps in the scenario displays; click on the step after which to position the selected step.

Delete

Click on this option to delete the selected step; any subsequent steps are moved up one place.

A prompt displays to confirm the deletion. Click on the Yes button.

Learn more