Applies to TestComplete 14.20, last modified on September 11, 2019

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
About Script Tests

Highlight search results