Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Topic |
Prev | Next |
Import Scenario as Test
If you are creating a test for a scenario from either a single element or many elements in a Package, you do not have to manually re-type the scenario details into the test record in the Testing window. You can generate the test into the 'Scenario' tab of one element from one or more scenarios in any element in the model.
Within the Scenario test record, the scenario description is copied to the 'Description' tab. If a scenario contains a Structured Specification, its Action steps are also copied to the 'Description' tab under the heading 'Structured Specification'.
Access
Ribbon |
Construct > Testing > Test Windows > <test class> > right-click on test > Import element scenario(s) or Construct > Testing > Test Windows > <test class> > right-click on test > Import Package scenarios |
Keyboard Shortcuts |
: right-click on test | Import element scenario(s) or Alt+3 : right-click on test | Import Package scenarios |
Import a scenario from a single element
Field/Button |
Action |
See also |
---|---|---|
Select element |
If you are copying scenarios from a different element to the target element, click on the drop-down arrow and select the source element. The list identifies elements that have scenarios that can be imported. Otherwise, leave this field blank. |
|
Show related elements only |
Select this checkbox to restrict the list of selectable elements to those that are related to the target element. |
|
Limit selection to these Object Types only |
If you want to restrict the list of selectable elements to only those of specific types, type in those element types in a comma-separated list. |
|
Refresh |
Click on this button after changing any of the above field values, to refresh the list of available elements in the 'Select element' field. |
|
Select items to import |
Lists the scenarios defined in the source element. Select the scenario(s) to import. If you do not use the 'Select element' field, any scenarios listed are from the current element to which this test record belongs. If you have selected a different element, the scenarios come from that element. |
|
All |
Click on this button to select all scenarios listed in the 'Select items to import' field. |
|
None |
Click on this button to clear the selection of scenarios listed in the 'Select items to import' field. |
|
Import |
Click on this button to import the selected scenario(s). |
Import scenarios from the elements in a Package
Field/Button |
Action |
See also |
---|---|---|
Limit selection to these Object Types only |
If you want to restrict the selected elements to only those of specific types, type in those element types in a comma-separated list. 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. |
|
Refresh |
Click on this button after changing any of the above field values, to refresh the list of available elements in the 'Select element' field. |
|
Select Items to import |
Lists the scenarios defined in the selected elements in the Package. Select the scenario(s) to import. |
|
All |
Click on this button to select all scenarios listed in the 'Select items to import' field. |
|
None |
Click on this button to clear the selection of scenarios listed in the 'Select items to import' field. |
|
Import |
Click on this button to import the scenarios from each element as Scenario tests. |
Notes
Learn more