In this lesson, you will create a verification point with a datapool
reference to check that the total amount due for the order is correct in the
Classics CD application.
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 the script, a verification point captures
the object information again to compare it to the baseline and see if any
changes have occurred, either intentionally or unintentionally. Comparing
the actual object information in a script to the baseline is useful for identifying
potential defects.
You will 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.