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. This file is loaded 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, the following attributes of the Identification Property element are not read from the file: AssistivePropertyValue, ForAssistive, ForBaseSmartID, ForOptionalSmartID, ForDescription, OptionalSmartIDPropertyValue. These attributes determine the lists of identification properties used for the test object classes.

If the file was modified, the attributes are read from the XML. Identification properties are added to the relevant lists (and their order is adjusted 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 OpenText Functional Testing opens, it reads all properties and attributes from the XML (overwriting changes made 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. Instead of removing the file from the folder read by OpenText Functional Testing, you can set this attribute value to False to temporarily stop the use of this file.

Possible values:

True - Indicates that the definitions in this file should be used.

False - Indicates that the definitions in this file should be ignored.

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

In Web Add-in Extensibility:

  • This name is displayed in the Add-in Manager dialog box, enabling the 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 OpenText Functional Testing Automation methods.
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 OpenText Functional Testing information. For this reason, be aware of the built-in OpenText Functional Testing 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.  This file is loaded 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>