TypeInformation Element

Description

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

Attributes

NameTypeUseDefaultDescription
AddinNameAddinName_Typerequired The name of the add-in to which this file applies. UFT One 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. 

DevelopmentModebooleanoptionalfalseSpecifies 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 One 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 One.

If the file was modified, UFT One reads the attributes from the XML. UFT One 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 One opens, it reads all properties and attributes from the XML (overwriting changes made in UFT One using the Object Identification dialog box).

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

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

Possible values:

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

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

PackageNamestringrequired The name of the environment or toolkit to which this file applies.

In .NET Add-in Extensibility: Do not use this attribute for the .NET Add-in.

Priorityintegeroptional0The 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 One information. For this reason, be aware of the built-in UFT One 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 One 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>