Book Image

Mastering Mobile Test Automation

By : Gaurav Gupta
Book Image

Mastering Mobile Test Automation

By: Gaurav Gupta

Overview of this book

If you want a complete understanding of mobile automation testing and its practical implementation, then this book is for you. Familiarity with the basics of VB Script and Java along with knowledge of basic testing concepts is essential.
Table of Contents (10 chapters)
9
Index

Troubleshooting and best practices


Let's take a look at the following troubleshooting and best practices that we can follow:

  • It is important to configure image-recognition-based objects with enough tolerance so that the same object may work with various screen resolutions and device operating systems. For this, many tools allow the provision of values as percentages rather than absolute pixels, and this improves the object recognition. Let's take a look at the following screenshot:

  • Making a DNS entry for the mobile cloud server machine makes server search easier for end users. For example, testMobileLabs.myComany.co.in would make sure that navigating to http://testMobileLabs.myCompany.co.in/Login would redirect to the Mobile Labs server page regardless of the IP address.

  • If the devices being used for testing are enrolled in a Mobile Device Management (MDM) program, there may be some policies that are incompatible with the use of cloud tools like Mobile Labs deviceConnect, which get installed...