Web Add-in Extensibility Developer Guide > Toolkit Configuration Schema > Elements > CommonIdentification Element

CommonIdentification Element

Description

Test object identification information at the toolkit level.

Important Information

This element specifies the function that can be called to identify which test object class to use for a control, instead of calling a separate function specified in each Control element.

  • Before the function is called to perform the identification, the Identification\Conditions elements in all of the Control elements are checked, in case the test object class that represents the control can be identified without calling the function.
  • If a function is defined in this element, no functions defined specifically in Control elements are called to perform identification.

Attributes

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.
type string optional javascript The type of implementation function.

Used By

Source

<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="CommonIdentification">
    <xs:annotation>
        <xs:documentation>Test object identification information at the toolkit level.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
        <xs:attributeGroup ref="ImpFuncAttrs" />
    </xs:complexType>
</xs:element>