Lesson 4: Create a verification point with a datapool reference
In this lesson, you create a verification point with a
datapool reference to check that the price for the CD is correct in
the ClassicsCD application.
About this task
A verification point captures
object information and literal values from the application under test
and stores it as the baseline for comparison during playback. When
you play back a script, a verification point captures the object information
again to compare it to the baseline and see whether any changes have
occurred, either intentionally or unintentionally. Comparing the actual
object information in a script to the baseline is useful for identifying
possible defects.
You use a datapool reference instead of a literal value for the value that you are testing in the verification point. Using datapools with verification points gives you more flexibility to test realistic data with your test scripts.
Procedure
Place the order and close the ClassicsCD application
Procedure
- In the ClassicsCD application, click Place Order to place the order, and then click OK to close the message that confirms your order.
- Click X in the upper right corner of the ClassicsCD application to close the application.
Stop recording
Procedure
On the Recording toolbar, click Stop
Recording (
) to write all recorded information to the
test script.

Results
Lesson checkpoint
In this lesson, you learned about verification points,
creating a verification point while recording, and converting a value
to a datapool reference