CreateRemoteObject Method
| Mercury.QTP.CustomServer Namespace > CustomServerBase Class : CreateRemoteObject Method |
A type derived from CustomAssistantBase.
Creates an Assistant instance of the specified type in the AUT context.
Remarks
Call this method from a custom server running in the testing tool context.
If you use the returned proxy to call one of Assistant object's methods, the method runs in a random thread of the AUT process.
Syntax
'DeclarationProtected Function CreateRemoteObject( _ ByVal ObjType As System.Type _ ) As System.Object
protected System.object CreateRemoteObject( System.Type ObjType )
Parameters
- ObjType
- A type derived from CustomAssistantBase.
Return Value

