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
Returns the foreground (topmost) activity of the active Android application. This activity represents the topmost window that the user sees.
Declaration
AndroidRunningTaskInfoObj.TopActivity
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.