Import Scenario as Test |
You can import a scenario from a Use Case or other element into the Test Scenarios list, or from all elements in a package. This avoids having to duplicate the scenario information manually.
Import Element Scenarios
To import one or more scenarios from a specific element, follow the steps below:
- Select the View | Testing menu option to display the Testing window. Open a diagram and select the required element; all of the test scripts for that element display in the Testing window. Click on the Scenario tab, at the bottom of the window.
- Right-click on the list of tests to display the context menu, and select the Import element scenario(s) menu option. The Import Scenario dialog displays.

- Select the scenarios to import from the Select items to import list. You can import scenarios from any element in the model by clicking on the Select element drop-down arrow and selecting the required element.
- Click on the OK button to import the selected scenario(s).
The Import Scenario dialog has the following additional options:
Option |
Use to |
Show related elements only |
Filter selection to apply only to related elements. |
Limit selection to these Object Types only |
Type in specific element types, separated by commas, to filter for only those element types. |
Refresh |
Refresh the list of available scenarios. |
Import Package Scenarios
To import scenarios from all elements in a package, follow the steps below:
- Select the View | Testing menu option to display the Testing window. Open a diagram and select the parent package element or an element in the package; all of the test scripts for that element display in the Testing window. Click on the Scenario tab, at the bottom of the window.
- Right-click on the list of tests to display the context menu, and select the Import Package Scenario(s) menu option. The Import Scenario dialog displays.

This version of the Import Scenario dialog lists all scenarios against all elements in the package. It does not enable you to select a specific element, but does enable you to filter the list of scenarios to those from specific types of element. - In the Limit selection to these Object Types only field, type a comma-separated list of the object types for which to show scenarios. Click on the Refresh button.
- Click on the OK button to import the scenarios from each element as test scenarios for that element.
The material ("material" includes all pages, documents and on-line graphics) on this web site is protected by copyright law. (C) 1998-2008 Sparx Systems Pty Ltd.
