Datapool candidates are displayed
automatically when you open a test for the first time. From the datapool
candidates window you can view the datapool candidates in the test,
bookmark locations of interest, and add or remove datapool references.
Procedure
- Record a test. When the test opens for
the first time in the Test Navigator, the Show Datapool
Candidates window is displayed. The Show Datapool
Candidates window is displayed only if there are datapool
candidates and if the Always display this dialog when a
test is first opened check box is selected. To prevent
the Show Datapool Candidates from being displayed
when a test opens, clear the Always display this dialog
when a test is first opened check box in the Show
Datapool Candidates window.
- Do one of the following:
Option |
Description |
To view details about the datapool candidates in a test |
Navigate through the Datapool Candidates field
to see them previewed in the Preview pane.
Click the Next and Previous icons
to move the selection down or up in the list of datapool candidates.
Click the Show as Tree icon to toggle between
tree format and list format. Click the Sort icon
to sort the list of datapool candidates. Click the Bookmark icon
to bookmark a location for later review.. |
To select a data source for a datapool candidate |
Select the datapool candidate in the Datapool Candidates field,
and then click Substitute. The Select
Data Source window opens. |
To find more values in the test that have the same value
as the selected datapool candidate |
Click Find More and Substitute. These
values can be reviewed and substituted interactively as needed. |
To remove a substitution |
Select a substitution site, and then click Remove
Substitution. |
- Click Close to close the Show
Datapool Candidates window and proceed to the test in the
test editor. To display the Show Datapool Candidates window
again while in the test editor, click the root node of the test, then
click the Common Options tab under Test
Element Details, and then click Show Datapool
Candidates.