Opening Total Test Perspective


To open the Total Test perspective:

  1. From the menu, select BMC > Total Test.
    This opens the Total Test perspective.
    (Alternatively, click the Open Perspective image2022-11-7_13-29-14.pngon the shortcut bar on the left side of the Workbench for Eclipse window or from the menu select Window > Open perspective > Other, then select Total Test from the Open Perspective list. Click OK. This also opens the Total Test perspective.)
  2. Click on the Project Explorer tab. The Project Explorer lists all of your defined projects, including your Total Test projects. You recognize Total Test projects based on each project's folder structure when expanded. The Total Test projects appears in the Project Explorer.

Perspectives and Views

The installation of 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 BMC-AMI-DevX-Workbench-for-Eclipse-User-Guide.

image-2023-6-16_15-18-37.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 Total Test projects.

The middle position of the Total Test perspective is confined to the different types of editors. 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 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 Total Test perspective includes Total Test action icons in the toolbar. To manage the Total Test icons in the toolbar, select Window > Customize Perspective. Then, in the Customize Perspective - Total Test window:

  • Click on the Tool Bar Visibility tab. Click on the check boxes for the 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 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 Total Test action icons:

Total Test Toolbar Icon

Icon

Action

Corresponding menu entry

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

Refresh Repository Server token

Window > Preferences > BMC > 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 image-2023-3-13_15-49-44.png Total Test >image2021-8-16_16-42-34.pngRecord Test Case.

image-2023-3-13_15-49-44.png

Create a new Total Test project

File > New > Project > BMC > image-2023-3-13_15-49-44.pngTotal 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 Total Test objects are listed in the following table:

Other Total Test Icons

Icon

Action

Corresponding menu entry

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

Extract Unit Test Assertions

File > New > Other > BMC > BMC AMI DevX 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 > BMC > Total Test > image2021-8-16_16-45-11.pngUnit Test Structure from Copybook or File > New > Other > BMC > BMC AMI DevX 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 > BMC > BMC AMI DevX 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 > BMC > BMC AMI DevX Total Test > image2021-8-16_17-35-27.pngTotal Test Scenario

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

Create a new Unit Test stub

File > New > Other > BMC > BMC AMI DevX 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 > BMC > BMC AMI DevX 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 > BMC > BMC AMI DevX 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 > BMC > BMC AMI DevX 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 > BMC AMI DevX Total 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 system 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 of 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*