Open topic with navigation
This task describes how to add support for a single type of custom WPF or Silverlight control to an existing toolkit support set.
For instructions on creating a toolkit support set, see How to Create Support for a Custom WPF or Silverlight Toolkit.
Tip: To create your WPF or Silverlight Add-in Extensibility files, use the UFT WPF CustomServer or UFT Silverlight CustomServer project template that the WPF and Silverlight Add-in Extensibility SDK installs on Visual Studio.
Using this template helps set up the XML data and the custom server class that you need to develop to support your custom control, simplifying the first three steps in the task described below. For details, see WPF/Silverlight Custom Server Setup Dialog Box (in Microsoft Visual Studio).
If necessary, you can move the XML data and custom server class that you create using the template into an existing toolkit support set. Copy the information from the XML files into the XML files of the existing toolkit support set, and copy the custom server .cs file into the existing Visual Studio WPF or Silverlight Add-in Extensibility project.
If your toolkit support set does not contain an appropriate test object class, add a ClassInfo element to the test object configuration XML file defining a new test object class.
For details on the structure and syntax of a test object configuration file, see The Test Object Configuration XML File.
In the toolkit configuration XML file, define a Control element for the custom control. Specify the test object class that UFT should use for the control, and the custom server that contains the implementation for supporting this control.
For details on the structure and syntax of a toolkit configuration file, see the Toolkit Configuration Schema.
Deploy, test and debug the changes you made as part of the whole toolkit support set.
For details see, How to Create Support for a Custom WPF or Silverlight Toolkit.