CustomObjectType Property (Web Objects)

Applies to TestComplete 14.30, last modified on November 21, 2019

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 the Tree model of web objects is active and support for Web Components is enabled in your project.

See Also

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

Highlight search results