Mercury.QTP.Slv.CustomServer Namespace

    UFT One 2022 and later: Following the discontinuance of the Silverlight development framework, UFT One no longer supports the Silverlight Add-in by default.

    If you need to use and extend the Silverlight Add-in, contact OpenText Support.

    This is the Silverlight 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 Silverlight 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 implement 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
CTL_MsgFilterOptions for sending Windows messages to the custom server.
EventStatusStep completion statuses.
MOUSE_BUTTONThe button values for mouse related methods such as MouseClick and MouseDblClick.
RecordingModeOptions for when to add a recorded step to the test.
RecordStatusMessage handling statuses. Return these values from the OnMessage method that you implement to handle Windows messages.
RunErrorsRun error values.

See Also