TestingEnvironment Schema
TypeInformation Element
Description
The top level element that defines the testing environment and contains the test object classes (ClassInfo elements) and predefined lists of values (ListOfValues elements).
Namespace (none)
Diagram
RecordSuppression Element ListOfValues Element ClassInfo Element Sequence TypeInformation Element
Overview
TypeInformation
The top level element that defines the testing environment and contains the test object classes (ClassInfo elements) and predefined lists of values (ListOfValues elements).
Priority optionalxs:integer
The priority of the test object classes defined in this XML.
Load optionalxs:boolean
Specifies whether this testing environment definition should be loaded.
PackageName requiredxs:string
The name used to identify the testing environment uniquely. Also referred to as the environment ID.
Version optionalxs:decimal
The version of this testing environment definition.
Description optionalxs:string
A description of the testing environment defined in this XML.
AddinName requiredxs:string
The testing environment's display name, used in UFT dialog boxes that display lists of add-ins and supported environments.
Sequence
ClassInfo1..∞
The test object class.
Name requiredxs:string
The name of the test object class.
BaseClassInfoName optionalxs:string
The name of the base test object class.
GenericTypeID optionalxs:string
The generic type of the ClassInfo.
DefaultOperationName optionalxs:string
The default operation of the ClassInfo.
FilterLevel optionalxs:integer
The filter level of the test object class.
ROTypeInfo optionalxs:boolean
Specifies whether UFT should use the TypeInfo information from the actual object in the object repository and not from the XML.
SupportsTabularData optionalxs:boolean
Indicates whether objects of this class support table data.
Withable optionalxs:boolean
Indicates whether objects of this class can be referenced without full specification inside a WITH block.
Sequence
Descriptionoptionalxs:string
The description of the element.
HelpInfooptional
Context-sensitive Help information for the element.
HelpFile requiredxs:string
The file system path to the file which contains the help information.
HelpContext optionalxs:integer
The context identifier for the location inside the help file where the information resides.
IconInfooptional
Icon information for the element.
IconFile requiredxs:string
The file system path to the file which contains the icon. Can be a dll, exe, or ico file.
IconIndex optionalxs:integer
The index to the location of the icon inside the dll or exe.
TypeInfooptional
Type information for a test object class, including the location of the external type library and a list of additional operations.
Sequence
ExternalTypeInfooptional
External type library information for the test object class.
TypeLibraryPath requiredxs:string
The file system path to the type library file.
CLSID requiredxs:string
The class id of this ClassInfo. Used to locate the type information inside the type library.
Operation0..∞
A single method or property of a test object class.
Name requiredRestrictedString Simple Type
The name of the operation.
PropertyType optionalRestriction of PropertType Simple Type
The operation type. Either Method or up to three Property specifications.
ExposureLevel optionalRestriction of xs:string
Specifies the exposure level of the operation. It can be common used and exposed to all users, or exposed only to experts.
SortLevel optionalxs:integer
The sort level of the operation. Numbers below zero move the item up in the list. Numbers above zero move the item down.
Sequence
Descriptionoptionalxs:string
The description of the element.
Documentation0..∞Extension of xs:string
The documentation string for the operation.
NumOfArguments optionalxs:integer
The number of arguments that require values to be specified in order to show the documentation string for the operation.
HelpInfooptional
Context-sensitive Help information for the element.
HelpFile requiredxs:string
The file system path to the file which contains the help information.
HelpContext optionalxs:integer
The context identifier for the location inside the help file where the information resides.
IconInfooptional
Icon information for the element.
IconFile requiredxs:string
The file system path to the file which contains the icon. Can be a dll, exe, or ico file.
IconIndex optionalxs:integer
The index to the location of the icon inside the dll or exe.
Argument0..∞
The argument definitions for the operation.
Name requiredRestrictedString Simple Type
The argument name.
IsMandatory requiredxs:boolean
Specifies whether the argument is mandatory.
DefaultValue optionalxs:string
The default value for this argument.
Direction optionalRestriction of xs:string
Specifies whether this argument is an input argument or an output argument.
Sequence
Type
The data type.
VariantType optionalVariant Simple Type
The variant type of the argument.
ListOfValuesName optionalxs:IDREF
The name of the list of values of the argument. Can be one of the list of values names defined in this XML.
Descriptionoptionalxs:string
The description of the element.
HelpInfooptional
Context-sensitive Help information for the element.
HelpFile requiredxs:string
The file system path to the file which contains the help information.
HelpContext optionalxs:integer
The context identifier for the location inside the help file where the information resides.
AdditionalInfooptional
Placeholder for additional information.
ReturnValueTypeoptional
The return value's data type.
Sequence
Type
The data type.
VariantType optionalVariant Simple Type
The variant type of the argument.
ListOfValuesName optionalxs:IDREF
The name of the list of values of the argument. Can be one of the list of values names defined in this XML.
AdditionalInfooptional
Placeholder for additional information.
AdditionalInfooptional
Placeholder for additional information.
AdditionalInfooptional
Placeholder for additional information.
Propertiesoptional
The collection of identification properties for the test object class.
Sequence
Property1..∞
An identification property for the test object class.
Name requiredRestrictedString Simple Type
The property name.
ForVerification optionalxs:boolean
Indicates if the property can be used for verification in a Checkpoint.
ForDefaultVerification optionalxs:boolean
Indicates if the property is used by default for verification in a Checkpoint.
ForDescription optionalxs:boolean
Indicates if the property is used in constructing the object description.
Sequence
Type
The data type.
VariantType optionalVariant Simple Type
The variant type of the argument.
ListOfValuesName optionalxs:IDREF
The name of the list of values of the argument. Can be one of the list of values names defined in this XML.
Descriptionoptionalxs:string
The description of the element.
ListOfValues0..∞
A predefined list of values that can be used for test object method arguments or return values.
Name requiredxs:ID
The name of the list of values. This name can be used as an argument type.
Sequence
Descriptionoptionalxs:string
The description of the element.
HelpInfooptional
Context-sensitive Help information for the element.
HelpFile requiredxs:string
The file system path to the file which contains the help information.
HelpContext optionalxs:integer
The context identifier for the location inside the help file where the information resides.
EnumValue1..∞
A possible value in a predefined list of values.
HelpContext optionalxs:integer
RealValue requiredxs:integer
Sequence
Descriptionoptionalxs:string
The description of the element.
RecordSuppressionoptional
The collection of objects whose events are not to be recorded.
Choice 1..∞
ActiveX
An ActiveX object whose events are not to be recorded.
ProgID requiredxs:string
Window
A Windows object whose events are not to be recorded.
WindowClass requiredxs:string
Attributes
Name Type Use Default Fixed Description
Priority xs:integer optional 0   The priority of the test object classes defined in this XML.
Load xs:boolean optional true   Specifies whether this testing environment definition should be loaded.
PackageName xs:string required     The name used to identify the testing environment uniquely. Also referred to as the environment ID.
Version xs:decimal optional 1.0   The version of this testing environment definition.
Description xs:string optional     A description of the testing environment defined in this XML.
AddinName xs:string required     The testing environment's display name, used in UFT dialog boxes that display lists of add-ins and supported environments.
Source
<xs:element name="TypeInformation" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>The top level element that defines the testing environment and contains 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:element name="RecordSuppression" minOccurs="0">
        <xs:annotation>
          <xs:documentation>The collection of objects whose events are not to be recorded. </xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:choice maxOccurs="unbounded">
            <xs:element name="ActiveX">
              <xs:annotation>
                <xs:documentation>An ActiveX object whose events are not to be recorded. </xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:attribute name="ProgID" type="xs:string" use="required"></xs:attribute>
              </xs:complexType>
            </xs:element>
            <xs:element name="Window">
              <xs:annotation>
                <xs:documentation>A Windows object whose events are not to be recorded. </xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:attribute name="WindowClass" type="xs:string" use="required"   />
              </xs:complexType>
            </xs:element>
          </xs:choice>
        </xs:complexType>
      </xs:element>
    </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 XML.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Load" type="xs:boolean" use="optional" default="true">
      <xs:annotation>
        <xs:documentation>Specifies whether this testing environment definition should be loaded.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="PackageName" type="xs:string" use="required">
      <xs:annotation>
        <xs:documentation>The name used to identify the testing environment uniquely. Also referred to as the environment ID.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Version" type="xs:decimal" use="optional" default="1.0">
      <xs:annotation>
        <xs:documentation>The version of this testing environment definition.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Description" type="xs:string" use="optional">
      <xs:annotation>
        <xs:documentation>A description of the testing environment defined in this XML. </xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="AddinName" type="xs:string" use="required">
      <xs:annotation>
        <xs:documentation>The testing environment's display name, used in UFT dialog boxes that display lists of add-ins and supported environments.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
</xs:element>
See Also