AndroidActivity Object

Applies to TestComplete 15.40, last modified on July 05, 2022
The information below concerns legacy mobile tests that work with mobile devices connected to the local computer. For new mobile tests, we recommend using the newer cloud-compatible approach.

Description

The AndroidActivity object provides information about activities running on the device.

The AndroidActivity object is returned by the BaseActivity and TopActivity properties of the RunningTaskInfo object.

The object has the following properties:

Properties
Property Description
FullClassName Returns the full class name.
PackageName Returns the package name.
ShortClassName Returns the shortened class name with the leading dot.

Requirements

The device must be connected to Android Debug Bridge.

See Also

Activity Objects

Highlight search results