Mercury.QTP.WPF.CustomServer Namespace

This is the WPF Add-in Extensibility Custom Support API Reference. 

Use this reference together with the UFT WPF and Silverlight Add-in Extensibility Developer Guide. The developer guide contains full details on how to develop support for custom WPF controls. In addition to creating configuration files, you must also develop a custom server for every control that you want to support. The custom server DLL runs in the context of the application and interfaces between UFT and the custom control.

For a brief overview of what you impelement in a custom server, see Custom Support API References.

Classes

ClassDescription
CustomPropInterfaceAttributeThis attribute, applied to an interface, indicates that this is the Custom Properties interface of the custom server class.
CustomServerBaseThe base class for the custom server class.
RunInterfaceAttributeThis attribute, applied to an interface, indicates that it is the Run Interface of the custom server class.

Interfaces

InterfaceDescription
IComponentDetectorImplement this interface to indicate which contained controls should not be learned by UFT.
IRecordImplement this interface to extend UFT recording.
ITableVerifyImplement this interface to enable UFT to support table checkpoints and output values for custom table (grid) controls.
IUtilityObjectServices provided by UFT that can be used by the classes derived from CustomServerBase.

Enumerations

EnumerationDescription
EventStatusStep completion statuses.
MOUSE_BUTTONThe button values for mouse related methods such as MouseClick, MouseDblClick, and so on.
RecordingModeOptions for when to add a recorded step to the test.
RunErrorsRun error values.

See Also