Database Verification Point Reference

prevnext

IVPFramework Interface


Provides methods and properties used for running a database 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 needed by a verification point implementer for this interface are not shown. Implementers can find the complete interface in IVPFramework Interface.


Overview

Extends IDispatch.

Known subclass:
IVerificationPoint.


Applicability

Commonly used with QualityArchitect.

QualityArchitect is required for use of this interface.


Summary

This interface includes the following property:

Property Description
VPName String. The name of the verification point.

This interface includes the following method:

Method Description
PerformTest Performs a static, dynamic, or manual verification point, depending upon the parameters that are passed to it.


VPFramework.PerformTest

Performs a static, dynamic, or manual verification point, depending upon the parameters that are passed to it.


Syntax

PerformTest(Object As Variant, [ExpectedData As Variant], 
[ActualData As Variant]) As Integer

Element Description
Object The component-under-test. If the verification point operates on a component that is not directly accessible (for example, a remote component or a database), the verification point object must contain the information needed to find the component-under- test, and the value of Object is ignored.
ExpectedData An optional parameter that, if it exists, represents the expected data object. The test script can construct the expected data object, or it can deserialize the expected data object from a file that is not managed by the datastore.
ActualData An optional parameter that, if it exists, represents the actual data object. This object was captured or constructed by code in the test script.


Return Value

This method returns one of the following values:

Value Description
VERIFICATION_SUCCEEDED The verification point was performed, and the comparison passed.
VERIFICATION_FAILED The verification point was performed, and the comparison failed.
VERIFICATION_NO_RESULT The static verification point was run for the first time, and a baseline (expected) data object was successfully captured.
VERIFICATION_ERROR An error occurred, and the verification point was not performed.


Comments

The type of verification point that this method performs depends upon the parameters that you pass to it:

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