TopActivity Property

Applies to TestComplete 15.65, last modified on June 26, 2024
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.


Returns the foreground (topmost) activity of the active Android application. This activity represents the topmost window that the user sees.



Read-Only Property Object
AndroidRunningTaskInfoObj An expression, variable or parameter that specifies a reference to an AndroidRunningTaskInfo object

Applies To

The property is applied to the following object:

Property Value

The AndroidActivity object that represents the topmost activity on the connected Android device.

See Also

AndroidRunningTaskInfo Object
BaseActivity Property

Highlight search results