Run\Methods\Method Element


The information for supporting a specific test object method.

Important Information

If no specific function is assigned to support a given test object method, UFT calls a function with the same name as the test object method to run the step.


Name Type Use Default Description
file_name string optional   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.

function string optional   The name of the implementation function.
name string required   The name of the test object method.
type string optional javascript The type of implementation function.

Used By


<xs:element xmlns:xs="" name="Method" minOccurs="0" maxOccurs="unbounded">
        <xs:documentation>The information for supporting a specific test object method.</xs:documentation>
        <xs:attribute name="name" type="xs:string" use="required">
                <xs:documentation>The name of the test object method.</xs:documentation>
        <xs:attributeGroup ref="ImpFuncAttrs" />