Record Program Stub


When selecting Record Program stubs… from the Xpediter debug session context menu, the Record Program Stub dialog box displays.

Warning

Important

Record Program Stub is not available for IMS program type.


image2022-11-8_16-24-3.png

The Generate Program Stub dialog box contains the following fields.

Project

From the Project drop-down, select a project for which the program stub will be generated. The last specified Topaz for Total Test project should be pre-selected. The drop-down should list of all Topaz for Total Test projects in your current workspace.

If you need to create a new project, click on the NEW... button to the right of the Project drop-down and the New Topaz for Total Test Project Wizard will open. See also Creating A New Project.

Folder

The Folder drop-down lists all Test Folders in the project. Select a folder or enter a new folder into which the Total Test folders with generated tests will be created.
The Test Folders can have multiple levels, for example "MyTests/SimpleDB2".

Stub

Check the Record Program stubs checkbox to indicate that a Program stub will be added to the scenario for each program call in the program. The stub data includes all records read for each call. The stub name will reflect the sub-program name.

Warning

Important

  • You can change the stub name to any value. See also Renaming Moving and Deleting Resources.
  • For Program stubs to be created, the sub-program(s) must be called while Xpediter is gathering the data to send to Topaz for Total Test. In order for Xpediter to get call data, the call parameters and results data must actually execute the sub-program during the captured debug session.

Create Unit Test Structure from Selection

When selecting Create Unit Test Structure from Selection… the Create Structure from Selection dialog box opens. Refer to Unit Test Structure from Selection Import for instructions.

 

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

BMC Compuware Topaz Workbench 20.12