In this lesson, you play back the script and look at some
parts of the application interface. Because the script you recorded
is the active script, that script plays back when you click the playback
button.
About this task
Each time you play back a script with an associated datapool,
the script accesses one record in the datapool. When you create a
datapool reference for a verification point, the verification point
uses the datapool reference to access a variable in that record. During
playback, the variable in the datapool is substituted for the datapool
reference. The variable in the datapool is compared to the test results.
Procedure
- To play back the script, click Run Functional
Test Script (
) on the toolbar.
- In the Select Log window, keep the
default log name Order, and then click Next.
- Select the Iterate Until Done option
from the Datapool Iteration Count list to
access all the records in the datapool; then click Finish.
HCL OneTest™ UI window is minimized, and the playback monitor is displayed. As the script is executed, messages
are displayed in the playback monitor. HCL OneTest UI plays back
all of your recorded actions, such as the application starting, the actions you performed on the
application, and enters data from the datapool.
When
playback is finished, the HTML log displays the results of the test
run. Each event listed in the log includes Pass in
the event headings in green.
A log is a file that contains
the record of events that occur while a script is played back. A log
includes the results of all verification points that are run that
can be used to test the application.
- Close the log.