As an alternative to Appium and Selenium Scripts, we walk through how to create a simple maintenance script within the Perfecto IDE (NativeIDE). The example restarts the device, and execute it against Devices provided in a DataTable.
We also use the Scheduler to set it up for daily executions around midnight.
The example can be used to perform any kind of maintenance on the device- restart, clean-ups, Wifi reconnects, Internet Connectivity tests etc, to ensure the devices are ready for action.