Lesson 2: Data-drive a test
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.
Procedure
- 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. HCL OneTest™ 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.