ObjectType Property (Mobile Objects)

Applies to TestComplete 15.68, last modified on October 03, 2024
This property is available in legacy mobile tests that work with devices connected to the local computer. To learn how to simulate user actions in newer cloud-compatible mobile tests, see the Simulating user actions in tests section.

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 (Legacy)
Testing iOS Applications (Legacy)
Addressing Objects in Android Open Applications (Legacy)
ViewID Property (Android Objects)

Highlight search results