TestingEnvironment Schema
ClassInfo Element
Description
The test object class.
Namespace(none)
Diagram
Properties ElementAdditionalInfo ElementTypeInfo ElementIconInfo ElementHelpInfo ElementDescription ElementSequenceClassInfo Element
Overview
ClassInfo
The test object class.
Name required xs:string
The name of the test object class.
BaseClassInfoName optional xs:string
The name of the base test object class.
GenericTypeID optional xs:string
The generic type of the ClassInfo.
DefaultOperationName optional xs:string
The default operation of the ClassInfo.
FilterLevel optional xs:integer
The filter level of the test object class.
ROTypeInfo optional xs:boolean
Specifies whether UFT should use the TypeInfo information from the actual object in the object repository and not from the XML.
SupportsTabularData optional xs:boolean
Indicates whether objects of this class support table data.
Withable optional xs:boolean
Indicates whether objects of this class can be referenced without full specification inside a WITH block.
Sequence
Description optional xs:string
The description of the element.
HelpInfo optional
Context-sensitive Help information for the element.
HelpFile required xs:string
The file system path to the file which contains the help information.
HelpContext optional xs:integer
The context identifier for the location inside the help file where the information resides.
IconInfo optional
Icon information for the element.
IconFile required xs:string
The file system path to the file which contains the icon. Can be a dll, exe, or ico file.
IconIndex optional xs:integer
The index to the location of the icon inside the dll or exe.
TypeInfo optional
Type information for a test object class, including the location of the external type library and a list of additional operations.
Sequence
ExternalTypeInfo optional
External type library information for the test object class.
TypeLibraryPath required xs:string
The file system path to the type library file.
CLSID required xs:string
The class id of this ClassInfo. Used to locate the type information inside the type library.
Operation 0..∞
A single method or property of a test object class.
Name required RestrictedString Simple Type
The name of the operation.
PropertyType optional Restriction of PropertType Simple Type
The operation type. Either Method or up to three Property specifications.
ExposureLevel optional Restriction 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 optional xs: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
Description optional xs:string
The description of the element.
Documentation 0..∞ Extension of xs:string
The documentation string for the operation.
NumOfArguments optional xs:integer
The number of arguments that require values to be specified in order to show the documentation string for the operation.
HelpInfo optional
Context-sensitive Help information for the element.
HelpFile required xs:string
The file system path to the file which contains the help information.
HelpContext optional xs:integer
The context identifier for the location inside the help file where the information resides.
IconInfo optional
Icon information for the element.
IconFile required xs:string
The file system path to the file which contains the icon. Can be a dll, exe, or ico file.
IconIndex optional xs:integer
The index to the location of the icon inside the dll or exe.
Argument 0..∞
The argument definitions for the operation.
Name required RestrictedString Simple Type
The argument name.
IsMandatory required xs:boolean
Specifies whether the argument is mandatory.
DefaultValue optional xs:string
The default value for this argument.
Direction optional Restriction of xs:string
Specifies whether this argument is an input argument or an output argument.
Sequence
Type
The data type.
VariantType optional Variant Simple Type
The variant type of the argument.
ListOfValuesName optional xs:IDREF
The name of the list of values of the argument. Can be one of the list of values names defined in this XML.
Description optional xs:string
The description of the element.
HelpInfo optional
Context-sensitive Help information for the element.
HelpFile required xs:string
The file system path to the file which contains the help information.
HelpContext optional xs:integer
The context identifier for the location inside the help file where the information resides.
AdditionalInfo optional
Placeholder for additional information.
ReturnValueType optional
The return value's data type.
Sequence
Type
The data type.
VariantType optional Variant Simple Type
The variant type of the argument.
ListOfValuesName optional xs:IDREF
The name of the list of values of the argument. Can be one of the list of values names defined in this XML.
AdditionalInfo optional
Placeholder for additional information.
AdditionalInfo optional
Placeholder for additional information.
AdditionalInfo optional
Placeholder for additional information.
Properties optional
The collection of identification properties for the test object class.
Sequence
Property 1..∞
An identification property for the test object class.
Name required RestrictedString Simple Type
The property name.
ForVerification optional xs:boolean
Indicates if the property can be used for verification in a Checkpoint.
ForDefaultVerification optional xs:boolean
Indicates if the property is used by default for verification in a Checkpoint.
ForDescription optional xs:boolean
Indicates if the property is used in constructing the object description.
Sequence
Type
The data type.
VariantType optional Variant Simple Type
The variant type of the argument.
ListOfValuesName optional xs:IDREF
The name of the list of values of the argument. Can be one of the list of values names defined in this XML.
Description optional xs:string
The description of the element.
Attributes
NameTypeUseDefaultFixedDescription
Namexs:stringrequired  The name of the test object class.
BaseClassInfoNamexs:stringoptional  The name of the base test object class.
GenericTypeIDxs:stringoptionalobject The generic type of the ClassInfo.
DefaultOperationNamexs:stringoptional  The default operation of the ClassInfo.
FilterLevelxs:integeroptional0 The filter level of the test object class.
ROTypeInfoxs:booleanoptionalfalse Specifies whether UFT should use the TypeInfo information from the actual object in the object repository and not from the XML.
SupportsTabularDataxs:booleanoptionalfalse Indicates whether objects of this class support table data.
Withablexs:booleanoptionaltrue Indicates whether objects of this class can be referenced without full specification inside a WITH block.
Source
<xs:element name="ClassInfo" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>The test object class.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="Description" minOccurs="0"  />
      <xs:element ref="HelpInfo" minOccurs="0"  />
      <xs:element ref="IconInfo" minOccurs="0"  />
      <xs:element ref="TypeInfo" minOccurs="0"  />
      <xs:element ref="AdditionalInfo" minOccurs="0"  />
      <xs:element name="Properties" minOccurs="0">
        <xs:annotation>
          <xs:documentation>The collection of identification properties for the test object class.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Property" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>An identification property for the test object class.</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:element ref="Type"  />
                  <xs:element ref="Description" minOccurs="0"  />
                </xs:sequence>
                <xs:attribute name="Name" type="RestrictedString" use="required">
                  <xs:annotation>
                    <xs:documentation>The property name.
                      </xs:documentation>
                  </xs:annotation>
                </xs:attribute>
                <xs:attribute name="ForVerification" type="xs:boolean" use="optional" default="false">
                  <xs:annotation>
                    <xs:documentation>Indicates if the property can be used for verification in a Checkpoint.
                      </xs:documentation>
                  </xs:annotation>
                </xs:attribute>
                <xs:attribute name="ForDefaultVerification" type="xs:boolean" use="optional" default="false">
                  <xs:annotation>
                    <xs:documentation>Indicates if the property is used by default for verification in a Checkpoint.
                      </xs:documentation>
                  </xs:annotation>
                </xs:attribute>
                <xs:attribute name="ForDescription" type="xs:boolean" use="optional" default="false">
                  <xs:annotation>
                    <xs:documentation>Indicates if the property is used in constructing the object description.
                      </xs:documentation>
                  </xs:annotation>
                </xs:attribute>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="Name" type="xs:string" use="required">
      <xs:annotation>
        <xs:documentation>The name of the test object class.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="BaseClassInfoName" type="xs:string" use="optional">
      <xs:annotation>
        <xs:documentation>The name of the base test object class.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="GenericTypeID" type="xs:string" use="optional" default="object">
      <xs:annotation>
        <xs:documentation>The generic type of the ClassInfo.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="DefaultOperationName" type="xs:string" use="optional">
      <xs:annotation>
        <xs:documentation>The default operation of the ClassInfo.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="FilterLevel" type="xs:integer" use="optional" default="0">
      <xs:annotation>
        <xs:documentation>The filter level of the test object class.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="ROTypeInfo" type="xs:boolean" default="false">
      <xs:annotation>
        <xs:documentation>Specifies whether UFT should use the TypeInfo information from the actual object in the object repository and not from the XML.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="SupportsTabularData" type="xs:boolean" use="optional" default="false">
      <xs:annotation>
        <xs:documentation>Indicates whether objects of this class support table data.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Withable" type="xs:boolean" use="optional" default="true">
      <xs:annotation>
        <xs:documentation>Indicates whether objects of this class can be referenced without full specification inside a WITH block.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
</xs:element>
See Also