ImpFuncAttrs Attribute Group

Description

Attributes of the function used for implementation.

Attributes

NameTypeUseDefaultDescription
file_namestringoptional The file system path to the file containing the function. If no path is specified, the default file name defined in the Control\Settings element is used.

You can specify a path relative to the <UFT installation folder>\dat\Extensibility\Web\Toolkits\<Toolkit name> folder.

functionstringoptional The name of the implementation function.
typestringoptionaljavascriptThe type of implementation function.

Source

<xs:attributeGroup xmlns:xs="http://www.w3.org/2001/XMLSchema" name="ImpFuncAttrs">
    <xs:annotation>
        <xs:documentation>Attributes of the function used for implementation.</xs:documentation>
    </xs:annotation>
    <xs:attribute name="type" use="optional" default="javascript">
        <xs:annotation>
            <xs:documentation>The type of implementation function.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
            <xs:restriction base="xs:string">
                <xs:enumeration value="javascript" />
            </xs:restriction>
        </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="function" type="xs:string" use="optional">
        <xs:annotation>
            <xs:documentation>The name of the implementation function.</xs:documentation>
        </xs:annotation>
    </xs:attribute>
    <xs:attribute name="file_name" type="xs:string" use="optional">
        <xs:annotation>
            <xs:documentation>The file system path to the file containing the function. If no file name is specified, the default file name defined in the Control\Settings element is used.</xs:documentation>
        </xs:annotation>
    </xs:attribute>
</xs:attributeGroup>