TypeInformation Element

Description

The top level element containing all of the test object classes (ClassInfo elements) and predefined lists of values (ListOfValues elements).

Attributes

Name Type Use Default Description
AddinName AddinName_Type required   The name of the add-in to which this file applies. UFT loads this file only if the relevant add-in is loaded.

For the list of supported add-in names, see the AddinName_Type simple type. 

DevelopmentMode boolean optional false Specifies whether the user is in development mode.

Possible values:

False - If the XML file has not been modified since the last time it was loaded, UFT does not read the following attributes of the Identification Property element from the file: AssistivePropertyValue, ForAssistive, ForBaseSmartID, ForOptionalSmartID, ForDescription, OptionalSmartIDPropertyValue. These attributes determine the lists of identification properties used for different purposes in UFT.

If the file was modified, UFT reads the attributes from the XML. UFT adds identification properties to the relevant lists (and adjusts their order if necessary) according to the values of these attributes, but does not remove any existing identification properties from the lists. For more information, see the IdentificationProperty Element.

True - Every time UFT opens, it reads all properties and attributes from the XML (overwriting changes made in UFT using the Object Identification dialog box).

 

Note: When providing the XML to customers, this attribute should be set to false.

Load boolean optional true Specifies whether this file should be loaded. You can use this attribute to control which information is used by UFT. Instead of removing the file from the folder read by UFT, you can set this attribute value to False to temporarily stop UFT from using this file.

Possible values:

True - Instructs UFT to use the definitions in this file.

False - Instructs UFT to ignore the definitions in this file.

PackageName string required   The name of the environment or toolkit to which this file applies.

Note for Java, WPF, and Silverlight Add-in Extensibility users:

This name must match the name of the custom toolkit as it appears in the Add-in Manager dialog box. This enables UFT to load the information in the XML only if the UFT user loads the support for the custom toolkit to which it applies.

The name that appears in the Add-in Manager dialog box is determined by the name of the toolkit configuration file.

 

Notes for Web Add-in Extensibility users:

  • This name is displayed in the Add-in Manager dialog box, enabling the UFT user to select whether to load this file and support this environment.
  • This name should be used as the argument for the SetActiveAddins and SetAssociatedAddins UFT Automation methods.

 

Note for .NET Add-in users: Do not use this attribute for the .NET Add-in.

Priority integer optional 0 The priority of the test object classes defined in this file. The priority is used if there are conflicts with other XML files (multiple test object classes defined with the same name).

Possible values:

0 - default priority. (This value enables you only to append information to a test object class. You cannot override or modify existing built-in test object information.)

any integer greater than 0 - gives the test object classes a higher priority. (This value overrides any existing definitions in a test object class, including built-in UFT information. For this reason, be aware of the built-in UFT functionality that will be overridden before you change the priority to this value.)

Diagram

TypeInformation Element (Required, 1 element allowed) Sequence (Required, 1 element allowed) ClassInfo Element (Required, 1 or more elements allowed) Sequence (Required, 1 element allowed) Description Element (Optional, up to 1 element(s) allowed)
HelpInfo Element (Optional, up to 1 element(s) allowed)
IconInfo Element (Optional, up to 1 element(s) allowed)
TypeInfo Element (Optional, up to 1 element(s) allowed)
AdditionalInfo Element (Optional, up to 1 element(s) allowed)
IdentificationProperties Element (Optional, up to 1 element(s) allowed)
ListOfValues Element (Optional, unlimited elements allowed) Sequence (Required, 1 element allowed) EnumValue Element (Required, 1 or more elements allowed)


Children

Source

<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="TypeInformation">
    <xs:annotation>
        <xs:documentation>The top level element containing all of the test object classes (ClassInfo elements) and predefined lists of values (ListOfValues elements).</xs:documentation>
    </xs:annotation>
    <xs:complexType>
        <xs:sequence>
            <xs:element ref="ClassInfo" maxOccurs="unbounded" />
            <xs:element ref="ListOfValues" minOccurs="0" maxOccurs="unbounded" />
        </xs:sequence>
        <xs:attribute name="Priority" type="xs:integer" default="0">
            <xs:annotation>
                <xs:documentation>The priority of the test object classes defined in this file.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="Load" type="xs:boolean" use="optional" default="true">
            <xs:annotation>
                <xs:documentation>Specifies whether this file should be loaded.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="DevelopmentMode" type="xs:boolean" use="optional" default="false">
            <xs:annotation>
                <xs:documentation>Specifies whether the user is in development mode.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="PackageName" type="xs:string" use="required">
            <xs:annotation>
                <xs:documentation>The name of the environment to which this file applies.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="AddinName" use="required">
            <xs:annotation>
                <xs:documentation>The name of the add-in to which this file applies. UFT loads this file only if the relevant add-in is loaded.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
                <xs:restriction base="AddinName_Type" />
            </xs:simpleType>
        </xs:attribute>
    </xs:complexType>
</xs:element>