Reboot Method

Applies to TestComplete 14.71, last modified on April 22, 2021

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
iOSDevice Object

Highlight search results