Navigating between a datapool and a test

After you have created a datapool or imported a comma-separate values (CSV) file into a datapool, you can navigate between the datapool and associated tests in the test editor. You can enlarge the test and the datapool, list the datapools that a test uses, navigate from a row in a datapool to the corresponding element in the test, see the data for a page or request, and add or remove datapool references.

Procedure

  1. In the Test Navigator, browse to the test and double-click it. The test opens.
  2. Do one of the following actions:
    Option Description
    Maximize the test window Double-click the test tab (for example, test tab). Do not click the x, or you will close the test. To return to the default perspective, click Window > Reset Perspective.
    View the datapools that a test uses In the Test Contents area, click the first line of the test, which is the test name.
    Navigate from a row in a datapool to its corresponding element
    1. In the Test Contents area, click the test name, which displays the datapool.
    2. Expand the datapool to display the rows.
    3. Double-click the row.
    View the data for a page or request In the Test Contents area, click the page or request.
    To add a reference to a datapool In the Test Element Details area, drag your cursor over the candidate, right-click, and select Substitute > Select Data Source. The Select Data Source window opens. If you have not already added the datapool to the test, click Datapool, and then add the new datapool.
    Remove a reference to a datapool In the Test Element Details area, drag your cursor over the reference, right-click, and select Remove Substitution.
  3. Save the test, if you have made any changes.
Feedback