CustomServerBase Class Methods
Public Methods
 NameDescription
Public MethodDisconnectThis method supports the UFT infrastructure. Do not override and do not call directly in your code.  
Public MethodDragAndDropSimulates Mouse Drag and Drop operation.  
Public MethodGetSettingsValueReturns the Parameter value from the Settings sub-element of this control in the SwfConfig.xml configuration file.  
Public MethodGetSettingsXMLReturns the Settings sub-element of this control in the SwfConfig.xml configuration file.  
Public MethodGetWndMessageFilterSee IRecord.GetWndMessageFilter  
Public MethodInitThis method supports the UFT infrastructure. Do not override and do not call in your code.  
Public MethodInitEventListenerThis method is called once to start listening for events. See IRecord.InitEventListener  
Public MethodInitializeLifetimeServiceOverridden. Prevents your Custom Server from timing out. Do not change or override this implementation.  
Public MethodKeyDownSimulates Key Down operation.  
Public MethodKeyUpSimulates Key Up operation.  
Public MethodMouseClickSimulates Mouse Click operation.  
Public MethodMouseDblClickSimulates Mouse Double Click operation. The method gets Control clients coordinates.  
Public MethodMouseDownSimulates Mouse Down operation.  
Public MethodMouseMoveSimulates Mouse Move operation.  
Public MethodMouseUpSimulates Mouse Up operation.  
Public MethodOnMessageSee IRecord.OnMessage  
Public MethodPrepareForReplayOverloaded. Prepares the Control for a replay action.  
Public MethodPressKeySimulates Press Key operation.  
Public MethodPressNKeysSimulates pressing a key the specified number of times.  
Public MethodRecordFunctionWrites a test object method call to the test script.  
Public MethodReleaseEventListenerThis method is called at the end of the recording session to stop listening for events. See IRecord.ReleaseEventListener  
Public MethodReplayReportStepWrites an event to the test report.  
Public MethodReplayThrowErrorOverloaded. Throws an exception based on the specified error and sets the step status to EventStatus.EVENTSTATUS_FAIL.  
Public MethodSendKeysSends a string to the control in a new thread.  
Top
Protected Methods
 NameDescription
Protected MethodAddHandlerOverloaded. Adds an Event handler in the AUT context. If other handlers exist for the event, the handler added with AddHandler is called first.  
Protected MethodAddRemoteEventListenerCreates an EventListener instance in the AUT context.  
Protected MethodControlGetPropertyReturns a property of a control that is not thread-safe.  
Protected MethodControlInvokeMethodInvokes a method of a control that is not thread-safe.  
Protected MethodControlSetPropertySets a property of a control that is not thread-safe.  
Protected MethodCreateRemoteObjectCreates an Assistant instance of the specified type in the AUT context.  
Protected MethodFinalizeDistructor.  
Protected MethodGetTypeNameFromHandleReturns the type name of the control in the window.  
Protected MethodInvokeAssistantInvokes a method of a CustomAssistantBase class in the control's thread.  
Protected MethodSendStringDeprecated. Use SendKeys  
Protected MethodShowErrorDisplays the .NET warning icon.  
Protected MethodTestObjectInvokeMethodInvokes a method that is exposed by the test object's IDispatch interface.  
Top
See Also