Reboot Method

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

Description

Reboots the device.

Declaration

AndroidDeviceObj.Reboot()

AndroidDeviceObj An expression, variable or parameter that specifies a reference to an AndroidDevice 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. For information on how it may affect testing on Android devices, see Possible Issues.

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 Android Applications
AndroidDevice Object

Highlight search results