Reboot Method

Applies to TestComplete 14.10, last modified on June 5, 2019

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