EventsListenerBase Class Methods

Mercury.QTP.CustomServer Namespace : EventsListenerBase Class

Public Methods

 NameDescription
Public MethodInitThis method supports the product infrastructure. Do not call it directly in your code.  
Public MethodInitEventListenerCalled once by the OpenText Functional Testing infrastructure to start listening for events. Override this method, adding subscriptions to the events to which you need to listen.  
Public MethodReleaseEventListenerReleases event handlers not added using AddHandler.  
Top

Protected Methods

 NameDescription
Protected MethodAddHandlerAdds an event handler. If other handlers exist for the event, the handler added with AddHandler is called first.  
Protected MethodInvokeCustomServerInvokes a method of the Custom Server that is running in the testing tool context.  
Protected MethodRecordFunctionWrites a test object method call to the test script.  
Top

Reference

EventsListenerBase Class
Mercury.QTP.CustomServer Namespace