Record Test Case


When selecting RecordTestCase.png Record Test Case…, the Record Test Case dialog opens displaying the General tab.

GenerateTestCase5b.png

Record Test Case dialog (General Tab)

Here you specify the project and scenario where the new test(s) for the selected program will be generated. This eliminates creating all test elements manually.

Name and Location of Recorded Tests

The dialog contains the following fields under the Name and Location of Recorded Tests heading.

Project

From the Project drop-down, select a project for which the new unit test will be recorded. 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 recorded tests will be created.
The Test Folders can have multiple levels, for example "MyTests/SimpleDB2".

Scenario

After you select the project, in the Scenario drop-down, the last scenario specified for this program is pre-selected. Otherwise, a new scenario is displayed, using the name of the program with the suffix _Scenario (<program>_Scenario), for example, CWXTCOB_Scenario. For more information refer to Test Scenarios.

Warning

Note: You can change the scenario name to any value. See also Renaming Moving and Deleting Resources.

Suite

Optionally, you may specify the project's test suite. The generated test scenario will be copied into the specified test suite. For more information refer to Test Suites.

Tests to Record

The dialog contains the following check boxes under the Tests to Record heading.

  • Unit Test (Virtualized Test) if you intend to record unit tests.
  • Functional Test (Non-virtualized Test) if you intend to record Non-virtualized tests.

Functional Test Environment

If you selected Functional Test, the Functional Test Environment drop-down list becomes active. Select the Host connection from the Functional Test Environment drop-down list that is appropriate for program to test. Use the Configure button to add or modify a connection.

 

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

BMC Compuware Topaz Workbench 20.06