View Assets

Relevant for: GUI tests and components and API testing

An asset is a testing document (such as a test, component, or application area) or any resource file that is used by a testing document (such as a function library, a shared object repository, a data table, a recovery scenario, or an environment variable XML file). The Asset Viewer and Asset Comparison Tool enable you to view and compare versions of a particular asset.

The Asset Viewer window provides a functional overview of an asset, enabling you to view its configurations and settings in a viewer format. The tree view enables you to drill down to view or verify a particular setting without needing to open different dialog boxes or even OpenText Functional Testing.

View any version of an asset using the Asset Viewer

After you select a specific version in the Version History dialog box, you can see specific details about that version of the asset, even if it is different from the working copy of the asset. Using this feature enables you to see where specific settings and details of the asset have been changed.

    Note:
  • To open the Asset Viewer in OpenText Functional Testing or OpenText Application Quality Management, the asset must be stored in an ALM project that has version control enabled.

  • The Asset Viewer does not enable you to drill down to view assets that are associated using a relative path.

Back to top

Open the Asset Viewer in OpenText Functional Testing

You can open the Asset Viewer from any of the following:

Option Description
The main OpenText Functional Testingwindow
  1. Open the test, component, or function library for which you want to view an earlier version.

  2. Select ALM > Version History. The Version History dialog box opens.

  3. Select a version and click View. The Asset Viewer opens.

The Object Repository Manager (GUI Testing only)
  1. Open the Object Repository Manager (Resources > Object Repository Manager).

  2. Browse to and open the shared object repository for which you want to view an earlier version. For details, see Manage shared object repositories.

  3. Select ALM > Version History. The Version History dialog box opens.

  4. Select a version and click View. The Asset Viewer opens.

The Recovery Scenario Manager (GUI Testing only)
  1. Open the Recovery Scenario Manager (Resources > Recovery Scenario Manager).

  2. Open the recovery scenario file for which you want to view an earlier version. For details, see Recovery Scenario Manager Dialog Box.

  3. Click the Version Control down arrow and select Version History.

  4. Select a version and click View. The Asset Viewer opens.

The Command Line Interpreter (cmd.exe) (tests only)
  1. Open the Command Line Interpreter.

  2. Enter the command using the following syntax:

    "<Installdir>\bin\QTPDiffApplication.exe" P1: "<file path 1>"

    where P1 = the file system path to the asset.

    For example:

    "%ProgramFiles%\OpenText\Functional Testing\bin\QTPDiffApplication.exe" P1: "%ProgramFiles%\OpenText\Functional Testing\Tests\Test1"

Open the Asset Viewer from OpenText Application Quality Management

Connect to the project containing the asset you want to view, and do one of the following:

Option Description
View the current version of an asset

In the Test Resources module, select the resource and click the Resource Viewer tab.

View the current or earlier version of an asset
  1. Do one of the following:

    • In the sidebar, click the Test Plan button (for tests) or the Business Components button (for components) to open the Test Plan or Business Components module.

    • Click the Test Resources button to open the Test Resources module. This module contains the resource files associated with your test or component, such as function libraries, shared object repositories, data tables, recovery scenarios, and environment variable XML files.

  2. In the tree, select the file for which you want to view an earlier version.

  3. Click the History tab, and then click the Versions or Baselines tab.

  4. In the grid, select a version, and then click the View button. (You cannot view a version that is currently checked out.) A window opens with buttons in the sidebar enabling you to access version-specific information for the selected asset. (These buttons are identical to the tabs displayed in the right pane of the main window for the latest version of the selected asset.) For details, see the OpenText Application Quality Management user guide.

Back to top

Drill down to view or compare versions

Drill down to view or compare integral elements included in the test or component, or external assets associated with the test or component. For details, see Compare Assets and Versions.

Back to top

View a screen capture depicting the UI location of an element (GUI testing only)

The screen capture displays an example of the relevant dialog box. The option (or area) for the node you right-clicked is highlighted in the screen capture.

Example: Suppose you are viewing a comparison of a test and you notice that the Disable Smart Identification during the run session node is highlighted, indicating that it was modified.

If you are not sure where this option is located in OpenText Functional Testing, you can right-click the node in the comparison tree and select View Sample Snapshot.

A dialog box opens, showing you that this area is located in the Run pane of the Test Settings dialog box. The title bar of the dialog box lists the selected element, and a highlighted rectangle outlines the option.

For components: Suppose you are viewing a comparison of a component and you notice that the Input parameters node is highlighted, indicating that it was modified.

If you are not sure of where this option is located in OpenText Functional Testing, you can right-click the node in the comparison tree and select View Sample Snapshot.

A dialog box opens, showing you that this area is located in the Parameters pane of the Business Component Settings dialog box. The title bar of the dialog box lists the selected element, and a highlighted rectangle outlines the option.

For details, see Compare Assets and Versions.

Back to top

See also: