TestingEnvironment Schema
ClassInfo Element
Description
The test object class.
Namespace (none)
Diagram
Properties Element AdditionalInfo Element TypeInfo Element IconInfo Element HelpInfo Element Description Element Sequence ClassInfo Element
Overview
ClassInfo
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.
Attributes
Name Type Use Default Fixed Description
Name xs:string required     The name of the test object class.
BaseClassInfoName xs:string optional     The name of the base test object class.
GenericTypeID xs:string optional object   The generic type of the ClassInfo.
DefaultOperationName xs:string optional     The default operation of the ClassInfo.
FilterLevel xs:integer optional 0   The filter level of the test object class.
ROTypeInfo xs:boolean optional false   Specifies whether UFT should use the TypeInfo information from the actual object in the object repository and not from the XML.
SupportsTabularData xs:boolean optional false   Indicates whether objects of this class support table data.
Withable xs:boolean optional true   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