Database Verification Point Reference

prevnext

IVerificationPoint Interface


Provides methods and properties used for running a verification point.

Note: The only items documented in this section are those that you, the test script designer, need when manually adding or modifying a database verification point in a test script. Other properties and methods that a verification point implementer uses in this interface are not shown here. Implementers can find the complete interface in IVerificationPoint Interface.


Overview

Extends IVPFramework.

IVPFramework extends IDispatch.

Known subclass:
IDatabaseVP


Applicability

Commonly used with QualityArchitect.

QualityArchitect is required for use of this interface.


Summary

This interface includes the following property:

Property Description
Options Variant (implemented as Long). Options that affect the behavior of the verification point when capturing data, populating the data object, and comparing data objects. Options include the following pre-defined options plus any user-defined options:
  • DATABASEOPTION_TRIM_WHITESPACE. Captured values should have whitespace trimmed from the right and left sides.

  • The following options inherited from IVerificationPoint:

  • VPOPTION_COMPARE_CASEINSENSITIVE. Text comparisons are not case-sensitive. By default, text comparisons are case sensitive.

  • VPOPTION_EXPECT_FAILURE. The verification point's expected result is failure. If the comparison fails and this option is set, the verification point succeeds.

  • VPOPTION_USER_ACKNOWLEDGE_BASELINE. The first run of a static verification point should display the captured data for the tester to validate before storing it as the expected (baseline) data object.

Note: To turn on multiple options, use the OR operator. To remove an option after you have set it, but leave all other options unchanged, use the AND and NOT operators. Here are examples of turning options on and off:

prevnext


Rational Test Script Services for Visual Basic Rational Software Corporation
Copyright (c) 2003, Rational Software Corporation http://www.rational.com
support@rational.com
info@rational.com