Opening Topaz for Total Test Perspective


To open the Topaz for Total Test perspective:

  1. From the menu, select Compuware > image2021-8-16_16-33-7.png Total Test.
    This opens the image2021-8-16_16-33-7.png Total Test perspective.
    (Alternatively, click the Open Perspective button ref-52.png on the shortcut bar on the left side of the Workbench window or from the menu select Window > Perspective > Open perspective > Other, then select image2021-8-16_16-33-7.png Total Test from the Open Perspective list. Click OK
    This also opens the image2021-8-16_16-33-7.png Total Test perspective.)
  2. Click on the Project Explorer tab. The Project Explorer lists all of your defined projects, including your Topaz for Total Test projects. You recognize Topaz for Total Test projects based on each project's folder structure when expanded. The Topaz for Total Test projects appears in the Project Explorer.

Perspectives and Views

The installation of Topaz for Total Test provides a set of views within the Total Test perspective, arranged with defined positions within the client GUI. You may re-arrange the positions. You may even add or remove additional views. The idea is to switch between different perspectives optimized for different tasks. In addition to that, a perspective displays a custom toolbar.

Perspectives and views are a basic Eclipse concept. For more information, see the Topaz-Workbench-User-Guide.

image2021-8-16_16-29-1.png

If you want to reset the perspective to the default arrangement and set of views, from the menu select Window > Perspective > Reset perspective….

Click on the Project Explorer tab to view or create Topaz for Total Test projects.

The middle position of the Topaz for Total Test perspective is confined to the different types of editors. For Topaz for Total Test Virtualized Test, you have

  • interface editor
  • test scenario editor
  • test suite editor
  • stub editor
  • result report.

The result report is not really an editor in the sense of editing data as it is display only.

Some views depend on the product for which Topaz for Total Test has been installed and may not be visible in your product. Some of the other views may display data only when a certain editor is active for which the data makes sense.

Toolbar Icons

The Topaz for Total Test perspective includes Topaz for Total Test action icons in the toolbar. To manage the Topaz for Total Test icons in the toolbar, select Window > Customize Perspective. Then, in the Customize Perspective - Topaz for Total Test window:

  • click on the Tool Bar Visibility tab. Click on the check boxes for the Topaz for Total Test items to place a check-mark. Click OK to activate the icons and close the window.
  • click on the Action Set Availability tab. Click on the check boxes for the Topaz for Total Test items to place a check-mark. Click OK to activate the icons and close the window.

The toolbar will then show the following Topaz for Total Test action icons:

Topaz for Total Test Toolbar Icon

Icon

Action

Corresponding menu entry

image2021-8-16_16-41-19.png

Refresh Repository Server token

Window > Preferences > Compuware > Topaz for Total Test > Repository Server > Refresh token

image2021-8-16_16-42-15.png

Record test case with Total Test

Right-click a Test folder and select image2021-8-16_16-33-7.pngTopaz for Total Test >image2021-8-16_16-42-34.pngRecord Test Case.

image2021-8-16_16-33-7.png

Create a new Topaz for Total Test project

File > New > Project > Compuware > Topaz for Total Test Project

Alternatively, these actions may be selected from the context menu displayed when right-clicking within the navigator view.

Other icons for creating new Topaz for Total Test objects are listed in the following table:

Other Topaz for Total Test Icons

Icon

Action

Corresponding menu entry

image2021-8-16_16-43-47.png

Extract Unit Test Assertions

File > New > Other > Compuware > Topaz for Total Test > image2021-8-16_16-44-26.pngExtract Unit Test Assertions

image2021-8-16_16-44-55.png

Create Unit Test Structure from Copybook

File > Import > Compuware > Topaz for Total Test > image2021-8-16_16-45-11.pngUnit Test Structure from Copybook or File > New > Other > Topaz for Total Test > image2021-8-16_16-45-11.pngUnit Test Structure from Copybook

image2021-8-16_17-20-44.png

Create a new interface

File > New > Other > Compuware > Topaz for Total Test > image2021-8-16_17-20-44.pngUnit Test Interface

image2021-8-16_17-35-17.png

Create new Total Test scenario

File > New > Other > Compuware > Topaz for Total Test > image2021-8-16_17-35-27.pngTotal Test Scenario

image2021-8-16_17-36-9.png

Extract Unit Test Assertions

File > New > Other > Compuware > Topaz for Total Test > image2021-8-16_17-36-21.pngExtract Unit Test Assertions

image2021-8-16_17-36-57.png

Create a new Unit Test stub

File > New > Other > Compuware > Topaz for Total Test >image2021-8-16_17-37-7.png Unit Test Stub

image2021-8-16_17-37-30.png

Create new Unit Test scenario

File > New > Other > Compuware > Topaz for Total Test >image2021-8-16_17-38-0.png Unit Test Scenario

image2021-8-16_17-38-43.png

Remapping Unit Test Criteria

File > New > Other > Compuware > Topaz for Total Test > image2021-8-16_17-38-43.pngUnit Test Remap

image2021-8-16_17-39-1.png

Create a new Total Test suite

File > New > Other > Compuware > Topaz for Total Test > image2021-8-16_17-39-11.pngTotal Test Suite

If an appropriate element within the navigator has been selected prior to the action, this element will be used in the action. For example, if you right-click on an interface file, then select New > Other > Topaz for Total Test Test > Scenario, the new test scenario will be created with a test case for the selected interface.

Although in this document, only one of these ways to select action is shown, the alternatives are equivalent. It is up to the individual users to decide which variant they prefer.

Project Explorer View

This view, by default located to the left of the editor, provides a list of projects and their contents.

This is an Eclipse standard view.

Outline View

This view, by default located to the right of the editor, provides a structural view of the data currently displayed in the editor. Using this view, it is possible to navigate quickly within the structure. If you click on an element in the outline view, the editor will automatically position to this element.

The outline view is only available for editors that display data organized in some type of structure. For example, the outline view is not available when using the test suite editor.

This is an Eclipse standard view.

Host Explorer View

This view, by default located to the left of the Project Explorer View, displays the remote systems connections.

Progress View

This view, by default located in the area below the editor, displays a list of test runs that are executed in the background by selecting Run in background. The result report can be opened from here once execution has finished. All test runs stay on the list until explicitly removed by the user.

Important

If you have ticked Always run in background when sending a test run to the background, all subsequent test runs will be run in background without asking you first. In order to reestablish the default behavior, from the menu select Window > Preferences, then in General, untick the option Always run in background and click OK.


This view is always active. It is an Eclipse standard view.

General Editor Behavior

Collapsing And Expanding Data And Structures

The editors for interfaces and test scenarios display data structures and enable you to enter data values for attributes. Structures may contain attributes as well as other structures. The contents of structures can be displayed or hidden. This action is usually referred to as expanding and collapsing structures, respectively. It can be done in one the following ways:

  • To expand just one level of a structure, click on the triangle on the left of the structure name. A second click will collapse the structure.
  • To expand all levels within a specific structure, right-click on the structure and, from the context menu, select Expand levels. To collapse the structure, select Collapse levels.
  • To quickly expand or collapse all levels of all structures displayed in the editor, click on the buttons Expand levels (plus sign) or Collapse levels (minus sign) located in the upper right of the editor view.

This works in the outline view, too.

Positioning Within Data and Structures

You can use the Outline view to position the editor on a certain attribute or structure. If you click on an attribute or structure in the outline view, the editor will be positioned accordingly to display this attribute or structure. If necessary, the containing structures will be expanded.

Filtering Data and Structures

The scenario editor displays a Quick Filter field in the lower part. If you type in the name of an attribute or structure, or part thereof, it will quickly filter the displayed data to show only those attributes or structures whose name match the entered name or fragment thereof. If necessary, the containing structures will be expanded.

Displaying Additional Information

If you move the mouse over the name of attributes or structures, the full name including the containing structure names will be displayed in a pop-up.

If you move the mouse over the value field of an attribute, the type and length of the attribute will be displayed in a pop-up.

 

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