ObjectType Property (Mobile Objects)

Applies to TestComplete 14.72, last modified on January 20, 2021

Description

All mobile objects have the ObjectType property that specifies the type of the given object. The type corresponds to the object’s accessible role and is used to address test objects.

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

All Android and iOS objects

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 that contains the name of the object’s type.

See Also

Testing Android Applications
Testing iOS Applications
Addressing Objects in Android Open Applications
ViewID Property (Android Objects)

Highlight search results