UFT Test Object Schema > Elements > HelpInfo Element

HelpInfo Element

Description

Context-sensitive Help information for the element (ClassInfo or Operation).

Important Information

Note for .NET Add-in users: This element is relevant for the .NET Add-in only if you are defining a new test object method.

Attributes

Name Type Use Default Description
HelpContext integer optional 0 The context identifier for the location in the Help file where the information resides.
HelpFile string required   The file system path to the .chm file that contains the Help information.

You can specify a file path relative to the UFT installation folder, by providing a file path that begins with the string INSTALLDIR, where INSTALLDIR replaces the UFT installation folder path.

Note: Ensure that the name of the file is not identical to any of the Help files in the <UFT installation folder>\help folder.

Used By

Source

<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="HelpInfo">
    <xs:annotation>
        <xs:documentation>Context-sensitive Help information for the element (ClassInfo or Operation).</xs:documentation>
    </xs:annotation>
    <xs:complexType>
        <xs:attribute name="HelpFile" type="xs:string" use="required">
            <xs:annotation>
                <xs:documentation>The file system path to the file that contains the Help information.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="HelpContext" type="xs:integer" use="optional" default="0">
            <xs:annotation>
                <xs:documentation>The context identifier for the location in the Help file where the information resides.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
</xs:element>