Reboot Method

Applies to TestComplete 15.68, last modified on October 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.

Description

Reboots the device.

Declaration

iOSDeviceObj.Reboot()

iOSDeviceObj An expression, variable or parameter that specifies a reference to an iOSDevice object
Result None

Applies To

The method is applied to the following object:

Result Value

None.

Remarks

This method is asynchronous. This means that TestComplete continues running the test, no matter whether it has finished or not.

Example

The following code example reboots the specified device:

JavaScript, JScript

Mobile.Device("MyDevice").Reboot();

Python

Mobile.Device("MyDevice").Reboot()

VBScript

Call Mobile.Device("MyDevice").Reboot

DelphiScript

Mobile.Device('MyDevice').Reboot();

C++Script, C#Script

Mobile["Device"]("MyDevice")["Reboot"]();

See Also

Testing iOS Applications (Legacy)
iOSDevice Object

Highlight search results