Creating a scenario
You can create a scenario in IBM® Rational® Test Control Panel to control a collection of configured stubs.
About this task
Addition of a stub to a scenario results in a copy being created, that is, the one in the scenario is independent of its source and can have different settings.
In Rational® Test Control Panel 9.2.1 or later, the Environments Dashboard supports the creation of multiple scenarios.
Procedure
-
To create a scenario in
Rational® Test Control
Panel,
click the Add Scenario button () on the Environments Dashboard.
The Add Scenario dialog is displayed.
- In the Scenario name field, enter a unique name for the new scenario.
- Optional: You can select all the currently running stubs to be automatically added to the new scenario by selecting the check box in the Add Scenario dialog box.
-
Click SAVE SCENARIO.
Note: If you have already created a scenario with the same name in the current environment, an error message is displayed, and you must save the new scenario under a different name.
Results
The scenario that you have just created is now available for any user to start and is displayed as a row expandable to show the contained stubs.
You can identify a scenario on the Environments Dashboard from the Start Scenario icon () that is present for a scenario, while the stub can be identified from the Start stub icon () it has.
You can also add stubs to the new scenario by clicking the Select Stub icon () and selecting the listed stubs or searching for stubs using the stub filter, and then adding the stubs to the scenario.
Tab | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
Stubs |
Lists the stubs that were added automatically during creation of the scenario and the
stubs that were added subsequently.
Note: You can expand each of the stubs to view the
different details of the stub. For more information about the stub details displayed, see
Modifying stub information. |
||||||||
Configuration |
Lists the details about the following configuration details:
|
||||||||
Activity |
Lists the log of the activities in a tabular view providing details of the user, the date and time of the activity performed. You can sort the details in any column in an ascending or descending order by clicking the column header of any column. |