Running Test Scenarios


Starting with Release 20.04.01, Topaz for Total Test uses the Execution Context Dialog to execute both Virtualized Test (Unit Test) scenarios and Non-virtualized test (Functional Test) scenarios.

Warning

Note

The classic Run Test Dialog for Unit Test scenarios has been deprecated. You must select the Use the classic Test Run dialog deprecated when running unit tests option in the Preferences if you still want to use the classic Run Test Dialog. The classic Test Run dialog will be removed in a future release.


The Execution Context Dialog 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 Topaz for Total Test test scenario, you will see the Execution Context dialog below.


Warning

Note

Virtualized Test only: Before executing a test scenario or test suite, verify that the required source listings are current and that the date and timestamp on the listing must match the date and timestamp of the load module or an invalid return code appears in the debug log and the test case fails with a user abend.
Source listing support is required for:

  • IMS
  • CICS
  • Db2
  • Statically linked sub-programs

To open the Execution Context dialog:

Perform one of the following actions:

  • Click launch_run.gifExecute 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_16x1600013.png Topaz for Total Test >launch_run.gifExecute Total Test Scenario or total_test_16x1600013.png Topaz for Total Test >run_test_case.pngRun Total Test Scenario
  • Double-click a .context file in the Project Explorer.

The content of the dialog 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 with Use Repository Server checked in Preferences


TTTExecution_With_Server_2.png

When Use Repository server is unchecked, the Environment tab shows the Host connection section allowing you to use HCI connections.

Execution Context dialog with Use Repository Server unchecked in Preferences


TTTExecution_No_Server_2.png

After clicking OK, the dialog will create a context (.context) file with same name and in the same Scenarios directory, if a context (.context) file for the test scenario does not exist. Next time the Topaz for Total Test test scenario is executed, the context file will be used to initiate the dialog 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 Topaz for Total Test files option.


Avail_Cust.png

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC Compuware Topaz Workbench 20.06