The mobile boom is obvious and it is pretty clear they are here to stay. The smart-phones are rapidly becoming the primary method of interaction for consumers and businesses worldwide, with thousands of app being generated each day. Mobile goes beyond smart-phones and tablets. Apps are now being incorporated into cars, wearable tech and home appliances

The phenomenal growth of mobile devices has opened up avenues for organizations to integrate them into computing environment. Today’s mobile applications deliver complex functionality on platforms that have limited resources for computing. Diversity presents unique challenges that require unique testing strategies.

In continuation with the detailed and quite insightful article Beginner’s guide to Mobile Testing, we will here understand the various challenges which are faced when performing mobile testing and what are the current solutions available in the market to tackle them all.

According to the Cap Gemini Quality Report (Mobile Testing), 18% of responding companies say that they do not have enough time to test mobile apps, and 65% do not have the right tools. Also 52% cite lack of devices as a reason not to do mobile testing. These all are real time challenges faced by the organizations to successfully perform mobile testing.
1

 

Let us in here, list and understand one by one the real time challenges for the mobile testing.

 

  1. Multitude Mobile Devices

Over 500m Android devices shipped since Android 1.0, about 220m iOS devices have been shipped since 2007. These huge number of mobile devices availability ranging from handsets, to smart phones, to tabs, to ipads and wearable tech provides a huge diversity of environments which your mobile app faces.
2
Further the quality team cannot guarantee that if a tested application works well on a given device, it will work 100% on another device even if it’s from the same product family because the screen resolution, CPU, Memory, OS optimization and hardware could be different.
3

The question to ask in here is, “Whether testing on 5-8 devices is enough? The answer is “Yes”, if reaching only 25% of the customer base is “OK” for your CEO.

 

  1. Device Fragmentation & Various OS Platforms

Perhaps the most difficult aspect of the mobile testing matrix is device fragmentation. Though the iOS device matrix is growing more than ever, fragmentation is especially an issue for the Android operating system. Take, for example the image below-
4

This is a data chart by OpenSignal of nearly 12,000 separate Android device models encountered in July 2013. (In comparison, the same chart from 2012 found nearly 4,000 devices.) If you’re concerned with quality on cross-platform apps, you’ll encounter a similarly complicated matrix. Although less daunting than the hardware matrix, the variety of mobile operating systems also poses a challenge for engineering teams whose goal is to provide a consistent user experience across platforms.

Mobile application testing is also challenging, due to compatibility issues as a mobile application can be deployed across devices which have different-

  1. Operating systems like iOS, Android, Blackberry, Windows etc.
  2. Versions of an operating system such as iOS 4.X, iOS 5.X, BB 4.X, 5.X and 6.X.

 

 

  1. Different Mobile App Types

A mobile app can be a native app, a web app or a hybrid app which has both contents. Testing of each such app type is different than another as their implementation is quite different from one another.
5

As we see each app behavior from installation to functionality is different from one another, we understand that their testing and test coverage will also be different. For more details on it, you can refer to the Beginner’s guide to Mobile Testing

 

 

 

 

 

 

  1. Numerous Test Interfaces

Mobile emulators and simulators are important testing tool and they enable us to verify general functionality and perform regular regression testing. The very character of emulators and simulators means testing is being conducted in an environment which is not real.

The advantages of such tools are limited in scope, and should never be considered a substitute for real-world. Using emulators and simulators in tandem with in-the-wild testing will give you the best results.

6

  1. Variety of Testing Tools

Summarizing the daunting complexity of mobile test automation, even more daunting is the huge availability of mobile test automation tools in the market. Free/Paid. For native app or web app? For android or for iOS, so which is the one automation tool for your mobile test automation needs, or the question is Is there a Single Tool for our Mobile Test automation needs?
7

Solution-

So what is that ideal solution for you mobile testing needs? What are the different measures you ought to take up. Let us have a look at some of them –

  1. Mobile Test Lab

If your mobile test needs are immense and often, a good idea is to invest in creating your own mobile test lab.
8

Or one can as well look for solutions to hire an external test lab or explore the cloud mobile lab solutions. Many companies have already started venturing into it. Some of the websites of these companies are –

http://mobilelabsinc.com/
http://xamarin.com/test-cloud
https://saucelabs.com/

One ought to create a proper sampling of effective mobile device availability which appropriately covers the larger segment of the variety needed. You are required to have this lab to ensure that you have not simply tested your app on an emulator or simulator, but on actual real device. Also you have catered well the variability of OS, device type, fragmentation, screen, memory and other factors which can impact your application functioning on the mobile device.

  1. The Right Testing Solution

So what exactly are you looking for in the mobile testing solution? An IDE so that scripting is reduced, an keyword driven approach so that even manual testers can effectively use it, integration with a mobile cloud to help you overcome device challenges, tool which help you identify object both based on property and on image as well. Many solutions are available in the market- Robotium, Appium, Calabash from open source, and in commercial – eggplant, perfecto etc. Below given is a comparison table, taken from an informative blog, to help you understand the features available with tools-
9

Conclusion-

The above article is an extension to the beginners, where the aim was to specifically highlight the real time challenges faced in the world of mobile testing, and present a comparison matrix of these solutions to help the tester make an informed choice about the approach and solution for their mobile test needs.