ViewID Property (Android Objects)

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

Description

The ViewID property returns the object’s identifier as it is specified in the application code. The identifier is used to name test objects.

Declaration

TestObj.ViewID

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 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 object’s identifier.

Remarks

If the object’s identifier is not specified in the application code, the ViewID property returns the NO_ID value.

See Also

Testing Android Applications
Addressing Objects in Android Open Applications
ObjectType Property (Mobile Objects)

Highlight search results