The attributes for the Control element.


Name Type Use Default Description
MappedTo string required   The test object class for UFT to use to represent the custom control.

Map the custom control to a test object class defined in a WPF or Silverlight Add-in Extensibility test object configuration file, and not a built-in UFT test object class.

Type string required  

The full type of the custom control, including wrapping namespaces. Example: System.Windows.Controls.CustomTable

Note: When developing WPF Add-in Extensibility, if you need to refer to a control that is contained in more than one assmbly, you can also list the name of the assembly that contains the control, and its version, if necessary. For example, you could set this attribute to values similar to these:

  • Infragistics.Controls.Editors.XamComboEditor, InfragisticsWPF4.Controls.Editors.XamComboEditor.v12.1
  • Infragistics.Controls.Editors.XamComboEditor, InfragisticsWPF4.Controls.Editors.XamComboEditor.v12.1, Version=12.1.20121.1010, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb


Sequence (Required, 1 element allowed) CustomServer Element (Optional, up to 1 element(s) allowed) Sequence (Required, 1 element allowed) Component Element (Required, 1 element allowed)
Settings Element (Optional, up to 1 element(s) allowed) Sequence (Required, 1 element allowed) Parameter Element (Optional, unlimited elements allowed)


Used By


<xs:complexType xmlns:xs="" name="ControlElement">
        <xs:element ref="CustomServer" minOccurs="0" maxOccurs="1" />
        <xs:element ref="Settings" minOccurs="0" maxOccurs="1" />
    <xs:attribute name="Type" use="required">
            <xs:restriction base="xs:string" />
    <xs:attribute name="MappedTo" use="required">
            <xs:restriction base="xs:string" />