CustomServerBase Class Methods
Public Methods
  Name Description
Public Method Disconnect This method supports the UFT infrastructure. Do not override and do not call directly in your code.  
Public Method DragAndDrop Simulates Mouse Drag and Drop operation.  
Public Method GetSettingsValue Returns the Parameter value from the Settings sub-element of this control in the SwfConfig.xml configuration file.  
Public Method GetSettingsXML Returns the Settings sub-element of this control in the SwfConfig.xml configuration file.  
Public Method GetWndMessageFilter See IRecord.GetWndMessageFilter  
Public Method Init This method supports the UFT infrastructure. Do not override and do not call in your code.  
Public Method InitEventListener This method is called once to start listening for events. See IRecord.InitEventListener  
Public Method InitializeLifetimeService Overridden. Prevents your Custom Server from timing out. Do not change or override this implementation.  
Public Method KeyDown Simulates Key Down operation.  
Public Method KeyUp Simulates Key Up operation.  
Public Method MouseClick Simulates Mouse Click operation.  
Public Method MouseDblClick Simulates Mouse Double Click operation. The method gets Control clients coordinates.  
Public Method MouseDown Simulates Mouse Down operation.  
Public Method MouseMove Simulates Mouse Move operation.  
Public Method MouseUp Simulates Mouse Up operation.  
Public Method OnMessage See IRecord.OnMessage  
Public Method PrepareForReplay Overloaded. Prepares the Control for a replay action.  
Public Method PressKey Simulates Press Key operation.  
Public Method PressNKeys Simulates pressing a key the specified number of times.  
Public Method RecordFunction Writes a test object method call to the test script.  
Public Method ReleaseEventListener This method is called at the end of the recording session to stop listening for events. See IRecord.ReleaseEventListener  
Public Method ReplayReportStep Writes an event to the test report.  
Public Method ReplayThrowError Overloaded. Throws an exception based on the specified error and sets the step status to EventStatus.EVENTSTATUS_FAIL.  
Public Method SendKeys Sends a string to the control in a new thread.  
Top
Protected Methods
  Name Description
Protected Method AddHandler Overloaded. Adds an Event handler in the AUT context. If other handlers exist for the event, the handler added with AddHandler is called first.  
Protected Method AddRemoteEventListener Creates an EventListener instance in the AUT context.  
Protected Method ControlGetProperty Returns a property of a control that is not thread-safe.  
Protected Method ControlInvokeMethod Invokes a method of a control that is not thread-safe.  
Protected Method ControlSetProperty Sets a property of a control that is not thread-safe.  
Protected Method CreateRemoteObject Creates an Assistant instance of the specified type in the AUT context.  
Protected Method Finalize Distructor.  
Protected Method GetTypeNameFromHandle Returns the type name of the control in the window.  
Protected Method InvokeAssistant Invokes a method of a CustomAssistantBase class in the control's thread.  
Protected Method SendString Deprecated. Use SendKeys  
Protected Method ShowError Displays the .NET warning icon.  
Protected Method TestObjectInvokeMethod Invokes a method that is exposed by the test object's IDispatch interface.  
Top
See Also