Troubleshooting and best practices

Let's take a look at the following troubleshooting techniques and best practices:

  • With real device automation, we need to set up connections via USB, Wi-Fi, or Bluetooth. Out of all these methods of connection, USB is the most effective and has the least time delay with respect to script execution in addition to being the most reliable one because it has no intervention with any other network.
  • Real devices need to be configured for the least amount of manual intervention. For this, execution stations may be set up with real devices that are permanently connected by USB by keeping options such as auto unlock and never sleep enabled. Using USB connection also ensures that devices are always connected to the charger. ...

Get Mastering Mobile Test Automation now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.