Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Import Scenario as Test
You can import a scenario from a Use Case or other element, or from all elements in a package, into the Testing window Scenario tab. This avoids having to duplicate the scenario information manually.
The scenario description is copied to the Scenario Test Description tab in the Testing window. If a scenario contains a Structured Specification, its Action steps are also copied to the Description tab under the heading Structured Specification.
How To:
To import a scenario from a single element, follow the steps below:
Step |
Action |
See Also |
---|---|---|
1 |
Open a diagram or the Project Browser and select the element into which to import the scenario |
|
2 |
Open either:
|
|
3 |
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 |
|
4 |
You can import scenarios from any element in the model by clicking on the Select element drop-down arrow and selecting the required element Select the scenarios to import from the Select items to import list |
|
5 |
Click on the OK button to import the selected scenario(s) |
|
To import scenarios from all elements in a package, follow the steps below:
Step |
Action |
See Also |
---|---|---|
1 |
Open a diagram or the Project Browser and select the parent package element or an element within the package |
|
2 |
Open either:
|
|
3 |
Right-click on the list of tests and select the Import Package Scenario(s) context 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 |
|
4 |
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 |
|
5 |
Click on the OK button to import the scenarios from each element as test scenarios for that element |
|
Reference:
The Import Scenario dialog has the following additional options:
Field |
Usage |
See also |
---|---|---|
Show related elements only |
Filter selection to apply only to related elements |
|
Limit selection to these Object Types only |
Indicates specific element types, separated by commas, to filter for only those element types |
|
Refresh |
Refresh the list of available scenarios |
|
Notes:
- In the Corporate, Business and Software Engineering, System Engineering and Ultimate editions of Enterprise Architect, if security is enabled you must have Manage Tests permission to add, update and delete test records