Viewing data correlation

You can switch between viewing all test elements in the test editor and viewing only elements related to data correlation in the test editor. Viewing only data correlation elements makes it easier to add and remove substitutions.

Procedure

  1. In the Test Navigator, browse to the test, and double-click it. The test opens.
  2. In the Test Contents area, click Options.
  3. Click Show > Data Correlation.
    The test editor window displays only elements that are related to data correlation. Alternately, click View under Test Contents to switch between Display all Test Contents and Show Substitutions.
  4. Select a single test element in the Test Contents area to see the current data source and to remove or change the substitution in the Test Element Details area. Select multiple elements in the Test Contents area to see the data in tabular form in the Test Element Details area. Different controls are available depending on the type and number of elements that you select in the Test Contents area.
  5. Optional: In the Test Elements Details area, click Substitute > Select Data Source to open the Select Data Source window, where you can specify the data source for the selected substitution site.

What to do next

To view all test elements, click Options > Show > Data Correlation again.
Note: If you select a test element while viewing all test contents, and then switch to viewing only data correlation elements, then the corresponding substituters and dataset candidates are selected. For example, if you select an HTTP page in the test editor, and then switch to viewing only data correlation elements, then all substituters and dataset candidates for all requests from the HTTP page are selected.