Prev Next

Import a Scenario File

Scenarios are often created as text descriptions in document files. These might be simple paragraph descriptions or more complex constructions with numbered and bulleted lists. As a valuable time-saving facility, you can use the text of these files as the source for new structured scenario specifications within the model. You might write a draft description in a text file and then import it into the model as a template for the structured scenario.

To create a scenario in this way, firstly access the Scenarios View as described in the Scenarios View Help topic (for instance, Start > Desktop > Design > Scenario Editor). Then:

  1. In the 'Scenario' field, type a name for the new scenario.
  2. Switch to the text or document file, and select and copy the required text. (The text is stored on the clipboard.)
  3. Switch back to the Scenarios View, right-click in the center panel (below the first row of fields) and select the 'Create Structure From Clipboard Text' option. This displays two sub-options:
         -  'New Line Delimited', which creates a new step after each carriage return in the captured text
         -  'Sentence Delimited', which creates a new step after each sentence in the text; that is, after
            each full stop/space combination
  4. Select the appropriate option for your requirements. The Scenarios View organizes the copied text into a series of numbered steps, alternating between non-system actor and system actor roles.
  5. Edit and add to the scenario as suggested by the Set Up Scenario Specification Help topic, and using the facilities described in the Scenarios View subtopics.

Notes

  • If the Scenarios View already contains scenario steps when you import text from a file, those steps are overwritten, not merged or appended
  • By default, the steps begin with a user step (indicated by an 'Actor' icon) and alternate between user and system (indicated by a 'Screen' icon) steps; however, the responsible entity assigned to a new step might be different if the new line or sentence contains a keyword -  'User' or 'Actor' for a user step, or 'System' for a system step - within the first 15 characters of text
  • Once a step has been saved, you can change the responsible entity by either double-clicking on the icon or right-clicking on the step, and selecting 'Set Step as 'System'' or 'Set Step as 'User'' as required

Learn more