Methods Added to Mobile Test Objects

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

Methods Added to Mobile Objects

Name Description
Child Returns a child object by its index.
Click Simulates a click on the object.
Drag Simulates dragging on a mobile device screen from the specified point to the specified distance.
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.
FindElement Searches for a mobile object that matches the specified condition.
FindElementByAccessibilityId Searches for a mobile object that has the specified Accessibility ID.
FindElementByClassName Searches for a mobile object that has the specified class name.
FindElementById Searches for a mobile object that has the specified identifier.
FindElements Searches for all mobile objects that match the specified condition.
FindElementsByAccessibilityId Searches for all mobile objects that have the specified Accessibility ID.
FindElementsByClassName Searches for all mobile objects that have the specified class name.
FindElementsById Searches for all mobile objects that have the specified identifier.
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.
Keys Sends one or several key presses to an object.
LongTouch Simulates a long touch on the object.
Refresh Refreshes the child object list.
Touch Simulates a touch on the object.
Validate Obsolete. Generates the OnValidate event for the object.
WaitChild Waits until the specified child object becomes available during the timeout period.
WaitElement Pauses the script execution until a mobile object specified by the search condition becomes available.
WaitElementByAccessibilityId Pauses the script execution until a mobile object that has the specified Accessibility ID becomes available.
WaitElementByClassName Pauses the script execution until a mobile object that has the specified class name becomes available.
WaitElementById Pauses the script execution until a mobile object that has the specified identifier becomes available.
WaitProperty Waits until the specified object property achieves the specified value during the timeout period.

Note: Objects that FindElement, FindElements, and WaitElements return differ from the objects that Find methods return. The former return objects provided by Appium. Their identification criteria are based on the accessibility information provided by the tested application. The latter return objects whose identification criteria are based on the properties TestComplete assigns to objects. We recommend that you use the FindElement, FindElements, and WaitElement methods to get objects in your tests.

See Also

Mobile Object
Properties Added to Mobile Test Objects

Highlight search results