Welcome to the UFT Testing Extensibility API Reference > TestingEnvironment Schema > Elements > TypeInfo Element
TestingEnvironment Schema
TypeInfo Element
Description
Type information for a test object class, including the location of the external type library and a list of additional operations.
Namespace (none)
Diagram
Operation Element ExternalTypeInfo Element Sequence TypeInfo Element
Overview
TypeInfo
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.
Source
<xs:element name="TypeInfo" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>Type information for a test object class, including the location of the external type library and a list of additional operations.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="ExternalTypeInfo" minOccurs="0"   />
      <xs:element ref="Operation" minOccurs="0" maxOccurs="unbounded"   />
    </xs:sequence>
  </xs:complexType>
</xs:element>
See Also