Running Test Scenarios
From release 20.04.01 onwards, Total Test uses the Execution Context Dialog box to execute both Virtualized Test (Unit Test) scenarios and Non-virtualized test (Functional Test) scenarios.
The Execution Context Dialog box is now only showing the information needed to execute the test scenarios. The number of tabs shown depends on what kind of test scenarios is being executed.
For detailed descriptions, see Options. Each time you execute a Total Test scenario, you will see the Execution Context dialog box below.
- IMS
- CICS
- Db2
- Statically linked sub-programs
To open the Execution Context dialog box:
Perform one of the following actions:
- Click
Execute in the top right corner in the test scenario editor
- Right-click a .scenario or .testscenario file in the Project Explorer and select Total Test > Execute Total Test Scenario or Total Test > Run Total Test Scenario…
- Double-click a .context file in the Project Explorer
The content of the dialog box depends on your Preferences setting. When Use Repository server is checked in the Repository preferences, the Environment tab shows the Environment Login section. The Environment combo box will only show when there are Functional Test elements in the test scenario.
Execution Context dialog box with Use Repository Server checked in Preferences
When Use Repository server is unchecked, the Environment tab shows the Host connection section allowing you to use HCI connections.
Execution Context dialog box with Use Repository Server unchecked in Preferences
Click Apply to save the changes and click Run. The dialog box will create a context (.context) file with the same name and in the same Scenarios directory, if a context (.context) file for the test scenario does not exist. Next time the Total Test scenario is executed, the context file will be used to initiate the dialog box with data.
The context files are visible by default in the Project Explorer view. You can choose to hide them by clicking the Filter (triangle) button in the view menu, select Filters and Customization, and then select the Total Test files option.
This section provides information about the following topics: