iOSDevice Object Properties

Applies to TestComplete 15.64, last modified on May 16, 2024
The information below concerns legacy mobile tests that work with mobile devices connected to the local computer. For new mobile tests, we recommend using the newer cloud-compatible approach.

The iOSDevice object contains the following properties:

Property List

Name Description
_NewEnum Returns an enumerator for the collection of children that belong to the object.
ApplicationManager Returns the ApplicationManager object that provides access to the applications installed on the device.
ChildCount Returns the number of child objects of the given object.
Connected Specifies whether the device is connected.
Desktop Returns the iOSDesktop object that provides access to the device’s desktop.
DeviceID Returns the unique device identifier.
DeviceInfo Provides access to the iOSDeviceInfo object that contains detailed information about the device.
DeviceName Returns the device name.
Exists Tells you whether an object exists in the system.
FullName Specifies the full name that uniquely identifies the object in TestComplete.
GPS Returns the current location of the mobile device and allows you to specify a mock location.
Id Returns the object’s identifier.
Index Returns the index of the device.
MappedName Returns the custom name that is mapped to the original object name and is used to address the object in scripts.
Name Returns the object’s name.
OSInfo Returns the iOSOSInfo object holding information about the operating system installed on the device.
OSType Returns the type of the OS installed on the device.
Parent Returns the parent object of the given object.
Sensor Provides access to a particular built-in sensor of the mobile device and to its measurements.
SensorsCount Returns the number of built-in sensors that are available on the mobile device.

See Also

Testing iOS Applications (Legacy)
iOSDevice Object Methods

Highlight search results