ClassInfo Element
Name | Type | Use | Default | Description |
---|---|---|---|---|
BaseClassInfoName | string | optional | The name of the base test object class. The base class may be a class delivered with UFT One or a class defined using Add-in Extensibility. For a list of all test object classes delivered with UFT, see the Object Model Reference section of the UFT One Help.
The current test object class contains all of its own operations (methods and properties), together with operations that it inherits from the base class. Identification property definitions are not inherited from the base class. For .NET: This is the name of the built-in UFT One.NET Windows Forms test object class that you want to represent the custom control. The definitions in this ClassInfo element extend the existing test object class. Default for a new test object class: The basic built-in test object class for the relevant environment. For example: WebElement, JavaObject, DelphiObject, WpfObject, SlvObject. | |
DefaultOperationName | string | optional | The default operation (method or property) of the test object class. The default operation is selected by default when a user adds a new step for a test object in this class.
Note: If this attribute is not defined and a base test object class is defined (in the BaseClassInfoName attribute), the default operation of the base test object class is used for this test object class. | |
FilterLevel | boolean | optional | 0 | Specifies whether the test object class should be included in the filter that is used when deciding which objects to add to the object repository (for example, during a learn or add object procedure).
Possible values: 0 - Add test objects of this class to the object repository. 1 - Do not add test objects of this class to the object repository. |
GenericTypeID | string | optional | The generic type of the test object class. For example, for WinEdit and WebEdit test objects, the generic type is Edit. Generic types are used to create groups of similar test object classes for use when filtering objects (for example, in the Select Object for Step dialog box and when adding multiple objects to the object repository). Generic types are also used when creating documentation strings for the Documentation column of the Keyword View (unless they are specifically defined in the test object operation definition).
Note: If this attribute is not defined and a base test object class is defined (in the BaseClassInfoName attribute), the generic type of the base test object class is used for this test object class. | |
Name | RestrictedString | required | The name of the test object class.
For naming rules, see the RestrictedString simple type. For .NET: This is the fully qualified name of the .NET Windows Forms custom control to represent using the test object class defined in this ClassInfo element. | |
ROTypeInfo | boolean | optional | false | Specifies whether UFT One should use the TypeInfo information from the actual object in the object repository and not from the XML file.
Possible values: True - Use TypeInfo information from the object repository. False - Use TypeInfo information from the XML file. |
Description Element
HelpInfo Element
IconInfo Element
IdentificationProperties Element
TypeInfo Element
|