CustomObjectType Property (Web Objects)

Applies to TestComplete 15.63, last modified on April 10, 2024

Description

Returns a string that contains a custom element type that is used to name objects.

It is specified by the name under which the element is registered in the tested web application. For autonomous elements, it is their tag name. For customized built-in elements, it is the value of their is attribute.

Note: The name is modified in the following way: dashes from the name are removed and parts of the name used to be separated with dashes are capitalized. For example, x-element becomes XElement.

To learn more about custom elements, see Support for Custom Elements.

Declaration

TestObj.CustomObjectType

Read-Only Property String
TestObj A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section

Applies To

The property is applied to the following object:

View Mode

This property is available in the Object Browser panel and in other panels and dialogs in both Basic and Advanced view modes.

Property Value

A string value that contains the name of the object’s custom type.

Remarks

This property is available only if support for Web Components is enabled in your project.

See Also

ObjectType Property
ObjectIdentifier Property
Classic Web Testing
About Support for Web Components

Highlight search results