Database Verification Point Reference |
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.
Known subclass:IVerificationPoint
.
Commonly used with QualityArchitect.
QualityArchitect is required for use of this interface.
This interface includes the following property:
VPName
String
. The name of the verification point.
This interface includes the following method:
PerformTest
Performs a static, dynamic, or manual verification point, depending upon the parameters that are passed to it.
Performs a static, dynamic, or manual verification point, depending upon the parameters that are passed to it.
PerformTest
(Object
As Variant, [ExpectedData
As Variant], [ActualData
As Variant]) As Integer
This method returns one of the following values:
The type of verification point that this method performs depends upon the parameters that you pass to it:
Object
only -- static verification point.
This type of verification point performs and logs a regression-style verification. It does so by checking the datastore for an expected (baseline) data object, and then comparing the expected data object to the actual data object that is captured in this call.
Object
and ExpectedData
-- dynamic verification point.
This type of verification captures an actual data object from the component-under-test, compares the actual data object to the expected data object that was passed to the call, and logs the results of the comparison.
Object
, ExpectedData
, and ActualData
-- manual verification point.
This type of verification point allows a test script to capture or construct the actual data object, rather than relying on the framework to create the actual data object.
A manual verification point simply compares the actual and expected data objects that are passed to it and logs the results of the comparison.
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 |