Mobile Object Methods

Applies to TestComplete 15.63, last modified on April 23, 2024

The Mobile object contains the following methods:

Method List

Name Description
Child Returns a child object by its index.
ConnectDevice Connects to an Appium server and opens a testing session on the specified mobile device.
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.
FindEx Searches for a child object that has the specified property values during the specified timeout period.
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 (Legacy)
Mobile Object Properties

Highlight search results