ObjectType Property (Flash and Flex Objects)

Applies to TestComplete 15.69, last modified on November 13, 2024
This property is not supported in web tests (including cross-platform web tests) that use XPath expressions and CSS selectors to locate web elements. This property can be only used in tests that locate web objects by using internal identification properties provided by TestComplete.

Description

Each Flash or Flex object contains the ObjectType property that specifies the type of the given object. This type corresponds to the object’s accessible role and is used to address the object along with its accessible name.

Declaration

TestObj.ObjectType

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:

This property is applied to all the Flash and Flex objects.

View Mode

To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.

Property Value

A string that holds the object’s type name.

See Also

ObjectGroupIndex Property (Flash and Flex Objects)
ObjectIdentifier Property (Flash and Flex Objects)
ObjectLabel Property (Flash and Flex Objects)
Caption Property (Flash and Flex Objects)

Highlight search results