Mobile Object

Applies to TestComplete 15.68, last modified on October 01, 2024

Description

The Mobile object provides access to a collection of mobile devices connected to your machine. Its methods allow you to specify the current device for the test and get scripting access to it.

Members

Example

The following code example demonstrates how you can set the current device:

JavaScript, JScript

Mobile.SetCurrent("MyDevice", 0);

Python

Mobile.SetCurrent("MyDevice", 0)

VBScript

Call Mobile.SetCurrent("MyDevice", 0)

DelphiScript

Mobile.SetCurrent('MyDevice', 0);

C++Script, C#Script

Mobile["SetCurrent"]("MyDevice", 0);

See Also

Testing Android Applications (Legacy)
About Script Tests

Highlight search results