SeeTestAutomation- Reboot
info
Please note that this tool is classified as a Legacy tool. We recommend transitioning to our updated solutions to maintain optimal performance and security in your workflows. For more information on this matter, please reach out to technical support .
**Reboot(**Timeout)
Description
Will reboot the device
Parameters
- Timeout - Timeout waiting for the device to reload. Minimum value is 40000.
info
- Make sure that no system pop-up is displayed after device reboot. Those pop-ups block the ability to launch applications on the device. For example, make sure that no pop-up that asks for Apple ID is presented.
- On some devices, an additional action is needed after reboot of unlocking the device. This can be done using SeeTestAutomation- DeviceAction of "Unlock"
Code Examples
Java Example
if(client.reboot(120000)){
// If statement
}
C# Example Expand source
if(client.Reboot(120000))
{
// If statement
}
VBScript Example Expand source
If StrComp (client.Reboot ( 120000 ), "True") = 0 Then
Report
'If statement
Else
Report
End If
Python Example Expand source
if(self.client.reboot(120000)):
# If statement
pass
Perl Example Expand source
if($client->reboot(120000)){
# If statement
}