Viewing dataset candidates when you open a test
Dataset candidates are displayed automatically when you open a test for the first time. From the dataset candidates window you can view the dataset candidates in the test, bookmark locations of interest, and add or remove dataset references.
Procedure
- Record a test.When the test opens for the first time in the Test Navigator, the Show Dataset Candidates window is displayed. The Show Dataset Candidates window is displayed only if there are dataset candidates and if Always display this dialog when a test is first opened is selected. To prevent the Show Dataset 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 Dataset Candidates window.
- Do one of the following:
Option Description To view details about the dataset candidates in a test Navigate through the Dataset 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 dataset candidates. Click the Show as Tree icon to toggle between tree format and list format. Click the Sort icon to sort the list of dataset candidates. Click the Bookmark icon to bookmark a location for later review. To select a data source for a dataset candidate Select the dataset candidate in the Dataset 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 dataset 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
Dataset Candidates window and proceed to the test in the
test editor.To display the Show Dataset 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 Dataset Candidates.