Verification Point Framework Reference

prevnext

IVerificationPointData Interface


An interface implementing this interface encapsulates and serializes a single snapshot of either expected or actual data. A Verification Point Data Provider interface populates it through the CaptureData  method , or it can be populated manually in the test script -- for example, by literal values or by values from a datapool.

Each implementation of the IVerificationPointData interface must provide its own serialization methods. This enables support of all possible file formats. Use the IPersistFile interface to implement serialization for the encapsulated data.

Note: For the current QualityArchitect release, Verification Point Data interfaces must serialize to a .CSV file format. This restriction will be removed in a future release of QualityArchitect.

In addition to implementing the methods defined by this interface, all Verification Point Data interfaces should create member variables that encapsulate the data being compared by the verification point. The data encapsulated in these member variables should be exposed through public get... and set... methods that you implement, thereby allowing a test script to create and populate an instance of the interface for use in dynamic and manual verification points.


Overview

Extends IDispatch.

Known subclass:
IDatabaseVPData


Applicability

Commonly used with QualityArchitect.

QualityArchitect is required for use of this interface.


IVerificationPointData.FileExtension

Retrieves or specifies the extension of the file used to store the data object.


Syntax

FileExtension() As String
FileExtension(newVal As String)

Element Description
newVal A new file extension to use for storing data objects.


Return Value

The file extension currently used to store data objects.


Comments

The framework uses the file extension to determine the format to use when it serializes files (for example, a .CSV extension indicates a comma-separated-value text file).

In the current release, .CSV is the only supported file format. Other formats will be supported in a future release.

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