IRunTimeObjectSupplier Interface : GetRunTimeObject Method |
Visual Basic |
---|
Public Function GetRunTimeObject( _ ByVal objId As Variant _ ) As Object |
- objId
Only implement this method if the objects in your application are COM objects (or are represented by COM objects).
To support accessing the native properties and methods of a test object class, you must also define an Object property for the test object class in the testing environment XML.
You define the Object property in an Operation element, as follows:
< Operation Name="Object" PropertyType="Property_Get">< ReturnValueType>
< Type VariantType="IDispatch"/>
< /ReturnValueType>
< /Operation>