In this lesson, you will use the data-driver to populate a dataset with data from the
sample application. A dataset is a collection of related data records. A dataset supplies data
values to the variables in a test script during test script playback.
-
On the Recording toolbar, click Insert Data Driven Commands
.
The recording pauses.
-
In the Insert Data Driven Actions page, use the mouse to drag the Object Finder (
) to the title bar of the Place an Order window on the
ClassicsCD application.
Test UI outlines the entire
Place an Order window with a red border.
-
Release the mouse button.
In the Data Drive Actions page, under the DataDriven
Commands table, information about the selected objects are displayed.
You can hover over a row in this table to view the line of code that Test UI inserts into the test script to
data-drive the test script.