Mobile Object Methods

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

The Mobile object contains the following methods:

Method List

Name Description
Child Returns a child object by its index.
Device Provides access to the specified mobile device.
Find Searches for a child object that has the specified property values.
FindAll Returns an array of child objects that have the specified property values.
FindAllChildren Returns an array of child objects that have the specified property values.
FindChild Searches for a child object that has the specified property values.
FindId Returns a child object by its identifier.
Refresh Refreshes the child object list.
SetCurrent Sets the specified device as current. If the device cannot be set as current, the method fails.
TrySetCurrent Sets the specified device as current. If the device cannot be set as current, the method returns False.
Validate Obsolete. Generates the OnValidate event for the object.
WaitChild Waits until the specified child object becomes available during the timeout period.
WaitProperty Waits until the specified object property achieves the specified value during the timeout period.

See Also

Testing Android Applications
Mobile Object Properties

Highlight search results