Unable to create a verification point by using the vpDynamic action

When you run a functional test for the first time to create a verification point by using the vpDynamic("vpName").performTest() action in the test script, the test step fails.

Resolution

  1. Go to Window > Preferences > Functional Test > Recorder, and then clear the Record Test Object Relative Verification Point checkbox.
  2. Play back the functional test, and then create a verification point.
  3. Go to Window > Preferences > Functional Test > Recorder, and then select the Record Test Object Relative Verification Point checkbox.

    You must select this checkbox for any subsequent test runs.

  4. Play back the functional test to verify the newly created verification point.