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.


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_One_installdir>\dat\Extensibility\Web\Toolkits\<Toolkit name> folder.

functionstringoptional The name of the implementation function.
namestringrequired The name of the test object method.
typestringoptionaljavascriptThe 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" />