Part 4. Testing COM Components
This section contains the information you need to use Rational QualityArchitect to
test COM-based component applications.
Requirements for testing COM components
Working with the sample model
Executing test scripts
Using COM scenario tests to test transactions
Using the OLE DB Query Builder to add verification points
With QualityArchitect, you can test COM components after they have been built, or
you can test iteratively during the development process.
Testing Existing Objects
To test completed COM components, you can use the type library import tool in Rose.
The type library import tool defines the appropriate interfaces, coclasses, and classes
and the relationships among them. The structure for each COM object created in the
model by the imported type library is the same as the structure created with the Rose
ATL (ActiveX Type Library) object creation wizard.
By default, the import tool does not capture the methods on each interface. You can
capture the methods afterwards in one of two ways:
By doing a full import from the Rose Component view
By doing a full import of selected interfaces from the Logical view
The methods must be imported into the model in order to model method
messages in sequence diagrams.