Opening Topaz for Total Test Perspective
To open the Topaz for Total Test perspective:
- From the menu, select Compuware >
Total Test.
This opens theTotal Test perspective.
(Alternatively, click the Open Perspective buttonon the shortcut bar on the left side of the Workbench window or from the menu select Window > Perspective > Open perspective > Other, then select
Total Test from the Open Perspective list. Click OK
This also opens theTotal Test perspective.)
- 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.
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 |
Refresh Repository Server token | Window > Preferences > Compuware > Topaz for Total Test > Repository Server > Refresh token | |
Record test case with Total Test | Right-click a Test folder and select | |
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 |
Extract Unit Test Assertions | File > New > Other > Compuware > Topaz for Total Test > | |
Create Unit Test Structure from Copybook | File > Import > Compuware > Topaz for Total Test > | |
Create a new interface | File > New > Other > Compuware > Topaz for Total Test > | |
Create new Total Test scenario | File > New > Other > Compuware > Topaz for Total Test > | |
Extract Unit Test Assertions | File > New > Other > Compuware > Topaz for Total Test > | |
Create a new Unit Test stub | File > New > Other > Compuware > Topaz for Total Test > | |
Create new Unit Test scenario | File > New > Other > Compuware > Topaz for Total Test > | |
Remapping Unit Test Criteria | File > New > Other > Compuware > Topaz for Total Test > | |
Create a new Total Test suite | File > New > Other > Compuware > Topaz for Total Test > |
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.
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.