SlideShare a Scribd company logo
Image Area
WhitePaper
Best Practices in Mobile Application Testing
www.infosys.com
-	 Mohan Kumar, Manish Chauhan
02 | Infosys
Introduction	 3
QA Challenges in Mobile Application Testing	3
Device Variation	 3
Mobile Testing Tool Availability	 3
Industry Standards	 3
Need for Skilled QA specialist in Automation Testing	 3
Cloud Computing	 3
Mobile Application Testing Strategy	4
Device Emulator	 4
Mobile Cloud Computing Solutions (Remote Real Devices)	 4
Real Time Devices with Real Networks	 5
Automation Tools to Avoid Manual Work	 5
Types of Testing for Mobile Applications	6
Usability Testing	 6
Compatibility Testing	 6
Interface Testing	 6
Services Testing	 6
Low Level Resource Testing	 6
Performance Testing	 6
Operational Testing	 6
Security Testing	 6
Conclusion	 7
About the Authors	7
Contents
Infosys | 03
Introduction
QA Challenges in Mobile Application Testing
he goal of any application testing exercise is to understand the quality and performance of the features offered. There are, however, some
critical factors which make mobile testing a far greater challenge vis-à-vis desktop and web-based application testing. These factors are:
Device Variation
Mobile application testing is difficult due to compatibility issues
as a mobile application can be deployed across devices which
have different:
•	 Operating systems like iOS, Android, Windows, BB, etc.
•	 Versions of an operating system such as iOS 4.x, iOS 5.x,
BB4.x, 5.x, 6.x, etc.
•	 Manufacturers like Samsung, HTC, Nokia, Micromax, etc.
•	 Keypad type such as virtual keypad, hard keypad, etc.
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 is from the same product family because
the screen resolution, CPU, Memory, OS optimization, and
hardware could be different.
Mobile Testing Tool Availability
The tools used for desktop and web-based applications do
not work for mobile application. Hence, a complex scripting
technique and new tool development is required for mobile
application testing.
Industry Standards
Mobile application testing must meet industry standards for an
application to be globally acceptable and popular.
Need for Skilled QA specialist in Automation Testing
The quality team needs a skilled QA specialist not only to assess
the automation tools available in the market for testing but also
to quickly identify user interface bugs as UI is critical in mobility.
A well-tested and fully functional mobile application could be
rejected by end users merely due to UI look and feel.
Cloud Computing
Cloud computing offers a web-based mobile environment on
simulators where testers can deploy, automate and test the
mobile application. This approach helps reduce the cost of the
project under development.
Following are the most common problems faced by testers in
cloud environment.
•	 Subscription model
•	 High cost
•	 Lock-in
•	 Internet connectivity issues
•	 Automation is image-based and time consuming
•	 Automation cannot be used outside the framework
In many ways, mobile testing is more challenging than testing based on desktop or Web applications. Mobile applications have a
smaller footprint on the virtual machine as opposed to a desktop application.
Today Android and IOS are the most successful mobile platforms. Most companies are preparing enterprise applications for various
mobile handset manufacturers with various flavors of the operating system on different screen sizes and hardware configuration
like keypad, trackballs, etc.
It is enormously challenging to verify enterprise applications across myriads of handsets with different screen sizes and operating
system flavors. Therefore, testing teams need to find better and more cost-effective solutions to avoid any compromise on quality.
This white paper describes QA challenges in mobile application testing and discusses mobile testing strategies, mobile testing types
and mobile testing automation tools.
In today’s business environment, many vendors are operating in the enterprise mobility market to ensure that any given application
is isolated, secure and performs well.This allows users and administrators to focus on preventing virus attacks, security issues, device
theft, and managing personal data and administration work.
04 | Infosys
Mobile Application Testing Strategy
In mobile application testing actually there are too many tools and techniques available to meet quality requirement so we can focus on
following factors depicted in figure 2 to minimize the testing requirement.
Emulators
Cloud Testing
Solution
Physical Device
•	 All applications can be deployed
and tested on emulator without
investing in Mobile Handset for
various OS.
•	 Emulators are mostly available
free, and we can also perform UI,
Stress and performance testing
on that.
•	 30-40% test
•	 The Mobile devices can be
accessed through web interface
i.e. Browser.
•	 Application can be deployed,
tested and managed.
•	 Automation module is available
and solution is secure if
private cloud is used with no
maintenance
•	 Upto 100% test coverage can be
achieved.
•	 Real device testing will give the
most realistic view of test results.
•	 All possible types of testing
activities can be performed
including that are dependent on
hardware.
Device Emulator
QA team can perform most of the testing in a well-equipped test environment using device emulators with various options like ability to
bypass the network, using live environment via modems and use of an effective scripting language. This is a cost effective solution
Mobile Cloud Computing Solutions (Remote Real Devices)
The QA team can use the mobile cloud computing environment to deploy and test an application. In the cloud approach, the task
and data are kept on the Internet rather than on an individual device, providing on-demand access. By reducing the complexity of
the implementation, companies that take advantage of cloud services can significantly reduce project costs and boost the return on
investment of a mobile computing solution.
Fig (2) Mobile Application Testing platforms
User provides the
Inputs to the Web
Interface using
Internet
Server receives the User
request and Send it to
Actual device for
compilation
Mobile Devices solve the user request
and send compiled results back to
Server for displaying the results to
User on the Web Interface
Fig (3)-Cloud computing diagram
Infosys | 05
Real Time Devices with Real Networks
The QA team cannot completely avoid this option but there should be an option to test real devices on real networks whenever required.
This is important since the Mobile application will always be used on mobile devices by end users who may access the application from a
remote area with fluctuating network signal strength.
Automation Tools to Avoid Manual Work
The QA team should automate the mobile applications task to avoid manual work for time and cost savings. There are several automation
tools available in the market for mobile applications.
There are several benefits of using a cloud
solution:
•	 Rent per hour, swap devices
•	 Test incoming calls and text without needing a cell plan
•	 Automated test execution is recorded to video to investigate
failures
•	 Device logs are recorded to help with troubleshooting
•	 Large number of devices available for testing
•	 Tests can be run on several devices in parallel
•	 Web-based interface
•	 Build integration
Mobile
Application
Test
Automation
Tools
Android
QTP(Paid)
Robotium
Blackberry
Fledge
Android
FoneMonkey
QTP
iOS
UIAutomation
Frank
Android
Instrumentation
EggPlant(Paid
Symbian
CTS(Compatibility
Test Suite)
Web OS
EggPlant(Paid)
QTP(Paid)
Fig (4) Mobile Application Test Automation Tools
06 | Infosys
Usability Testing
This includes text visibility in the selected language, navigation
between screens, and verification of functionality online/
offline, feedback from interaction with system, i.e., downloaded
application should be prompt with message.
Compatibility Testing
This entails validating the application for different mobile
devices, OS versions, screen sizes, and resolutions as per the
requirements, checking if integration server changes, checking
for the app isolation with other apps on the device.
Interface Testing
This covers validation of each screen, buttons, text inputs,
navigation flow such as Facebook, bookmarks, reviews, etc.
Services Testing
This includes checking for mobile app not to act as a server,
checkingifaservicetakestoolongorisusedoffline,andchecking
if a service goes down and returns malformed responses.
Low Level Resource Testing
This covers checks for overuse of memory and not releasing it,
app temporary files not cleaned, local database growing too big,
and garbage generation by the app.
Performance Testing
This includes checks on server connection changes to WIFI from
2G/3G or vice versa, shared images size used for the Application
is as per the requirement, application response time, code
optimization for the CPU cycle, battery consumption, memory
leaks, resources like GPS, CAMERA, etc., freed.
Operational Testing
This entails checks for back-up of necessary information in the
app, save and recovery plan if battery goes down, data lost in
case of app upgradation from appstore market, app access if
user gets any alarm, call, message, reminder, etc., and battery
power usage while app is being accessed.
Security Testing
This includes encryption/decryption techniques used for
sensitive data communication, checks for multi-user support
without interfering with the data between them, checks for
access to files saved in the app by any unintended users, detect
areas in tested application so that they do not receive any
malicious content.	
Types of Testing for Mobile Applications
Conclusion
The significant challenges and risks involved in mobile application testing can impact production of mobile apps. These risks and
challenges can be mitigated by adopting the various testing types and strategy outlined in this paper.
The various tools available in market for mobile application testing not only help with testing but also provide a platform to measure
security and compatibility compliance. This can be useful in application certification where required.
The importance of testing mobile applications before deployment in a live environment cannot be overemphasized. An application with
bugs and other issues can hurt not merely business but also the reputation of the organization.
Infosys | 11
About the Authors
Mohan Kumar
is Group Product Manager with the Product Development Group of Infosys Ltd. He has extensive exposure in the financial
and mobile application development space. With global IT experience in the financial services and mobility industry,
he has a strong grasp on product and platform development. His areas of specialization include product and solution
development and process efficiency by leveraging IT and operational convergence in the financial and mobility domains.
Mohan has worked on intellectual property creation. His core areas of expertise include mobile devices (Android, iPhone,
IPAD). Mohan is currently working on various Building Tomorrow’s Enterprise (BTE) initiatives and development of FLYPP
products.
He can be reached at mohan_kumar08@infosys.com.
Manish Chauhan (Dewa)
is Senior Associate Consultant with the PRD group of Infosys. He has more than 6 years’experience in software testing. He
has extensive experience in manual,White Box, API, Unit, and performance testing on mobile devices, Set-top boxes, DTV,
Security Devices, etc. Manish has been involved in creating test cases, test plans, test strategy, automation framework,
and automation script.  He is currently involved in improving the quality of Flypp products.
© 2013 Infosys Limited, Bangalore, India. All Rights Reserved. Infosys believes the information in this document is accurate as of its publication date; such information is subject to change without notice.
Infosys acknowledges the proprietary rights of other companies to the trademarks, product names and such other intellectual property rights mentioned in this document. Except as expressly permitted,
neither this documentation nor any part of it may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, electronic, mechanical, printing, photocopying, recording or
otherwise, without the prior permission of Infosys Limited and/ or any named intellectual property rights holders under this document.
About Infosys
Infosys partners with global enterprises to drive their innovation-led growth.
That's why Forbes ranked Infosys #19 among the top 100 most innovative
companies. As a leading provider of next-generation consulting, technology
and outsourcing solutions, Infosys helps clients in more than 30 countries
realize their goals. Visit www.infosys.com and see how Infosys (NYSE: INFY),
with its 150,000+ people, is Building Tomorrow's Enterprise® today.
For more information, contact askus@infosys.com www.infosys.com

More Related Content

What's hot (20)

PPT
Cloud based Testing Mobile Apps
IndicThreads
 
PDF
Mobile Applications Testing: From Concepts to Practice
TechWell
 
DOCX
Mobile testing
sanpalan
 
PPTX
Mobile Testing in the Cloud
Keynote Mobile Testing
 
PPTX
Presentation on mobile app testing
Uttam Shrestha
 
PDF
Experitest & Hexaware Co-Webinar
Experitest
 
PPTX
Mobile Application Testing Training Presentation
MobiGnosis
 
PPT
IBM Mobile Quality Assurance Open Beta Study Group Session 3 (Instrumenting...
Roger Snook
 
PDF
Mobile App Testing Strategy by RapidValue Solutions
RapidValue
 
PDF
Mobile Testing in the Cloud
TechWell
 
PDF
Experitest & Capgemini Co-webinar -
Experitest
 
PPTX
Mobile Application Testing
Shivaraj R
 
PPT
kalyanasundaram,sripriya_tcoepresentation
QA Programmer
 
PPT
IBM Mobile Quality Assurance - Open Beta Study Group Session 2
Roger Snook
 
PDF
Innovate 2013 session 1243 mobile testing.v3
Leigh Williamson
 
PPT
Mobile Application Testing Strategy
ankitQA
 
PDF
Hp perfecto webinar - UFT Mobile
Perfecto Mobile
 
PPTX
Testing Mobile Applications
Johan Hoberg
 
PDF
Testing Mobile Apps
Suresh Kumar
 
Cloud based Testing Mobile Apps
IndicThreads
 
Mobile Applications Testing: From Concepts to Practice
TechWell
 
Mobile testing
sanpalan
 
Mobile Testing in the Cloud
Keynote Mobile Testing
 
Presentation on mobile app testing
Uttam Shrestha
 
Experitest & Hexaware Co-Webinar
Experitest
 
Mobile Application Testing Training Presentation
MobiGnosis
 
IBM Mobile Quality Assurance Open Beta Study Group Session 3 (Instrumenting...
Roger Snook
 
Mobile App Testing Strategy by RapidValue Solutions
RapidValue
 
Mobile Testing in the Cloud
TechWell
 
Experitest & Capgemini Co-webinar -
Experitest
 
Mobile Application Testing
Shivaraj R
 
kalyanasundaram,sripriya_tcoepresentation
QA Programmer
 
IBM Mobile Quality Assurance - Open Beta Study Group Session 2
Roger Snook
 
Innovate 2013 session 1243 mobile testing.v3
Leigh Williamson
 
Mobile Application Testing Strategy
ankitQA
 
Hp perfecto webinar - UFT Mobile
Perfecto Mobile
 
Testing Mobile Applications
Johan Hoberg
 
Testing Mobile Apps
Suresh Kumar
 

Viewers also liked (20)

PDF
Compatibility Testing using Patterns-based Trace Comparison
Venkatesh Prasad Ranganath
 
PDF
TestBird 2015 china's mobile game compatibility testing white paper q1 q2
Jessica Miao
 
PDF
Compatibility in mobile testing
Duy Tan Geek
 
PPTX
Digipak analysis
zingmusic
 
PPTX
Compatibility testing
Ankit Gujjar
 
PDF
Automated Browser Compatibility Testing
QAI Global
 
PDF
Українська аудиторія Інтернет-користувачів.
Банк Надра
 
PDF
Огляд банківського сектора України за грудень 2013 р.
Банк Надра
 
PDF
Compatibility Testing
Precise Testing Solution
 
PDF
Hajj & Health Guide 2013
OnIslam
 
PPTX
Call Centre Focus Nokia Social Customer Service
Delfin Vassallo ☁️
 
PPTX
формулы суммы111
Gulzhaina7777
 
PPT
авторы проекта
Nayka5666
 
PPT
Presentation1
jessicabird96
 
PPTX
Análisis básico de una pintura
bombaldil
 
PPT
mystorage.az
Nayka5666
 
PPTX
意思決定メソッド
imocchi
 
PPT
E4 channel logo designs powerpoint presentation By Alex, Dan and Harry
AlexMason101
 
PDF
Puheeksiotto haasteena Niina Salovaara
sarilvonen
 
PDF
Chap I l'entreprise
Naïssan Lemjid
 
Compatibility Testing using Patterns-based Trace Comparison
Venkatesh Prasad Ranganath
 
TestBird 2015 china's mobile game compatibility testing white paper q1 q2
Jessica Miao
 
Compatibility in mobile testing
Duy Tan Geek
 
Digipak analysis
zingmusic
 
Compatibility testing
Ankit Gujjar
 
Automated Browser Compatibility Testing
QAI Global
 
Українська аудиторія Інтернет-користувачів.
Банк Надра
 
Огляд банківського сектора України за грудень 2013 р.
Банк Надра
 
Compatibility Testing
Precise Testing Solution
 
Hajj & Health Guide 2013
OnIslam
 
Call Centre Focus Nokia Social Customer Service
Delfin Vassallo ☁️
 
формулы суммы111
Gulzhaina7777
 
авторы проекта
Nayka5666
 
Presentation1
jessicabird96
 
Análisis básico de una pintura
bombaldil
 
mystorage.az
Nayka5666
 
意思決定メソッド
imocchi
 
E4 channel logo designs powerpoint presentation By Alex, Dan and Harry
AlexMason101
 
Puheeksiotto haasteena Niina Salovaara
sarilvonen
 
Chap I l'entreprise
Naïssan Lemjid
 
Ad

Similar to Mobile application-testing for shanethatech (20)

PDF
App Testing SEO Expert Bangladesh LTD
Tasnim Jahan
 
PDF
Mobile-Applications-Testing
Shailesh Wankhade
 
DOCX
Mobile app testing
sanpalan
 
PDF
12 considerations for mobile testing (march 2017)
Antoine Aymer
 
PPT
Android & iPhone App Testing
SWAAM Tech
 
PDF
App Testing Tools and Frameworks A Comparative Analysis.pdf
lubnayasminsebl
 
PDF
Mobile application testing
Gaurav Singh
 
PPTX
A 5 minute guide to delivering Flawless Mobile Apps
Cygnet Infotech
 
PPT
Mobile testing
Hrushikesh Wakhle
 
PPTX
MobileApplicationTestingTypeofMobileapps.pptx
preetsukhman1
 
PPTX
mobileapplicationtesting.pptx
ReenaSharma833185
 
PDF
Think tank event mobile app testing v1.3
Samer Desouky
 
DOCX
App Development Testing, App Testing Tools and Technologies 2023
XDuce Corporation
 
PDF
Mobile Application Testing - White Paper
Jade Global
 
PDF
Challenges In Mobile App Testing and Their Solution.pdf
pCloudy
 
PPTX
Learn mobile app testing in simple way
Mobile Pundits
 
PDF
Top 12 challenges in Mobile Testing
Aspire Systems
 
PDF
Choosing the Right Testing Strategy to Scale up Mobile App Testing.pdf
pCloudy
 
PDF
Mobile App Testing
Duy Tan Geek
 
PPTX
Mobile Application testing
Mukta Gupta
 
App Testing SEO Expert Bangladesh LTD
Tasnim Jahan
 
Mobile-Applications-Testing
Shailesh Wankhade
 
Mobile app testing
sanpalan
 
12 considerations for mobile testing (march 2017)
Antoine Aymer
 
Android & iPhone App Testing
SWAAM Tech
 
App Testing Tools and Frameworks A Comparative Analysis.pdf
lubnayasminsebl
 
Mobile application testing
Gaurav Singh
 
A 5 minute guide to delivering Flawless Mobile Apps
Cygnet Infotech
 
Mobile testing
Hrushikesh Wakhle
 
MobileApplicationTestingTypeofMobileapps.pptx
preetsukhman1
 
mobileapplicationtesting.pptx
ReenaSharma833185
 
Think tank event mobile app testing v1.3
Samer Desouky
 
App Development Testing, App Testing Tools and Technologies 2023
XDuce Corporation
 
Mobile Application Testing - White Paper
Jade Global
 
Challenges In Mobile App Testing and Their Solution.pdf
pCloudy
 
Learn mobile app testing in simple way
Mobile Pundits
 
Top 12 challenges in Mobile Testing
Aspire Systems
 
Choosing the Right Testing Strategy to Scale up Mobile App Testing.pdf
pCloudy
 
Mobile App Testing
Duy Tan Geek
 
Mobile Application testing
Mukta Gupta
 
Ad

Recently uploaded (20)

PDF
CEREBRAL PALSY: NURSING MANAGEMENT .pdf
PRADEEP ABOTHU
 
PPTX
How to Manage Access Rights & User Types in Odoo 18
Celine George
 
PDF
CONCURSO DE POESIA “POETUFAS – PASSOS SUAVES PELO VERSO.pdf
Colégio Santa Teresinha
 
PDF
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
PPT
Talk on Critical Theory, Part One, Philosophy of Social Sciences
Soraj Hongladarom
 
PPTX
How to Manage Large Scrollbar in Odoo 18 POS
Celine George
 
PDF
ARAL-Orientation_Morning-Session_Day-11.pdf
JoelVilloso1
 
PPTX
Capitol Doctoral Presentation -July 2025.pptx
CapitolTechU
 
PPTX
Quarter1-English3-W4-Identifying Elements of the Story
FLORRACHELSANTOS
 
PPT
Talk on Critical Theory, Part II, Philosophy of Social Sciences
Soraj Hongladarom
 
PDF
Zoology (Animal Physiology) practical Manual
raviralanaresh2
 
PPTX
How to Create Rental Orders in Odoo 18 Rental
Celine George
 
PPTX
Views on Education of Indian Thinkers J.Krishnamurthy..pptx
ShrutiMahanta1
 
PDF
IMP NAAC-Reforms-Stakeholder-Consultation-Presentation-on-Draft-Metrics-Unive...
BHARTIWADEKAR
 
PPSX
HEALTH ASSESSMENT (Community Health Nursing) - GNM 1st Year
Priyanshu Anand
 
PPTX
PPT on the Development of Education in the Victorian England
Beena E S
 
PPTX
How to Manage Promotions in Odoo 18 Sales
Celine George
 
PPTX
How to Configure Access Rights of Manufacturing Orders in Odoo 18 Manufacturing
Celine George
 
PPTX
Growth and development and milestones, factors
BHUVANESHWARI BADIGER
 
PPTX
Unit 2 COMMERCIAL BANKING, Corporate banking.pptx
AnubalaSuresh1
 
CEREBRAL PALSY: NURSING MANAGEMENT .pdf
PRADEEP ABOTHU
 
How to Manage Access Rights & User Types in Odoo 18
Celine George
 
CONCURSO DE POESIA “POETUFAS – PASSOS SUAVES PELO VERSO.pdf
Colégio Santa Teresinha
 
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
Talk on Critical Theory, Part One, Philosophy of Social Sciences
Soraj Hongladarom
 
How to Manage Large Scrollbar in Odoo 18 POS
Celine George
 
ARAL-Orientation_Morning-Session_Day-11.pdf
JoelVilloso1
 
Capitol Doctoral Presentation -July 2025.pptx
CapitolTechU
 
Quarter1-English3-W4-Identifying Elements of the Story
FLORRACHELSANTOS
 
Talk on Critical Theory, Part II, Philosophy of Social Sciences
Soraj Hongladarom
 
Zoology (Animal Physiology) practical Manual
raviralanaresh2
 
How to Create Rental Orders in Odoo 18 Rental
Celine George
 
Views on Education of Indian Thinkers J.Krishnamurthy..pptx
ShrutiMahanta1
 
IMP NAAC-Reforms-Stakeholder-Consultation-Presentation-on-Draft-Metrics-Unive...
BHARTIWADEKAR
 
HEALTH ASSESSMENT (Community Health Nursing) - GNM 1st Year
Priyanshu Anand
 
PPT on the Development of Education in the Victorian England
Beena E S
 
How to Manage Promotions in Odoo 18 Sales
Celine George
 
How to Configure Access Rights of Manufacturing Orders in Odoo 18 Manufacturing
Celine George
 
Growth and development and milestones, factors
BHUVANESHWARI BADIGER
 
Unit 2 COMMERCIAL BANKING, Corporate banking.pptx
AnubalaSuresh1
 

Mobile application-testing for shanethatech

  • 1. Image Area WhitePaper Best Practices in Mobile Application Testing www.infosys.com - Mohan Kumar, Manish Chauhan
  • 2. 02 | Infosys Introduction 3 QA Challenges in Mobile Application Testing 3 Device Variation 3 Mobile Testing Tool Availability 3 Industry Standards 3 Need for Skilled QA specialist in Automation Testing 3 Cloud Computing 3 Mobile Application Testing Strategy 4 Device Emulator 4 Mobile Cloud Computing Solutions (Remote Real Devices) 4 Real Time Devices with Real Networks 5 Automation Tools to Avoid Manual Work 5 Types of Testing for Mobile Applications 6 Usability Testing 6 Compatibility Testing 6 Interface Testing 6 Services Testing 6 Low Level Resource Testing 6 Performance Testing 6 Operational Testing 6 Security Testing 6 Conclusion 7 About the Authors 7 Contents
  • 3. Infosys | 03 Introduction QA Challenges in Mobile Application Testing he goal of any application testing exercise is to understand the quality and performance of the features offered. There are, however, some critical factors which make mobile testing a far greater challenge vis-à-vis desktop and web-based application testing. These factors are: Device Variation Mobile application testing is difficult due to compatibility issues as a mobile application can be deployed across devices which have different: • Operating systems like iOS, Android, Windows, BB, etc. • Versions of an operating system such as iOS 4.x, iOS 5.x, BB4.x, 5.x, 6.x, etc. • Manufacturers like Samsung, HTC, Nokia, Micromax, etc. • Keypad type such as virtual keypad, hard keypad, etc. 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 is from the same product family because the screen resolution, CPU, Memory, OS optimization, and hardware could be different. Mobile Testing Tool Availability The tools used for desktop and web-based applications do not work for mobile application. Hence, a complex scripting technique and new tool development is required for mobile application testing. Industry Standards Mobile application testing must meet industry standards for an application to be globally acceptable and popular. Need for Skilled QA specialist in Automation Testing The quality team needs a skilled QA specialist not only to assess the automation tools available in the market for testing but also to quickly identify user interface bugs as UI is critical in mobility. A well-tested and fully functional mobile application could be rejected by end users merely due to UI look and feel. Cloud Computing Cloud computing offers a web-based mobile environment on simulators where testers can deploy, automate and test the mobile application. This approach helps reduce the cost of the project under development. Following are the most common problems faced by testers in cloud environment. • Subscription model • High cost • Lock-in • Internet connectivity issues • Automation is image-based and time consuming • Automation cannot be used outside the framework In many ways, mobile testing is more challenging than testing based on desktop or Web applications. Mobile applications have a smaller footprint on the virtual machine as opposed to a desktop application. Today Android and IOS are the most successful mobile platforms. Most companies are preparing enterprise applications for various mobile handset manufacturers with various flavors of the operating system on different screen sizes and hardware configuration like keypad, trackballs, etc. It is enormously challenging to verify enterprise applications across myriads of handsets with different screen sizes and operating system flavors. Therefore, testing teams need to find better and more cost-effective solutions to avoid any compromise on quality. This white paper describes QA challenges in mobile application testing and discusses mobile testing strategies, mobile testing types and mobile testing automation tools. In today’s business environment, many vendors are operating in the enterprise mobility market to ensure that any given application is isolated, secure and performs well.This allows users and administrators to focus on preventing virus attacks, security issues, device theft, and managing personal data and administration work.
  • 4. 04 | Infosys Mobile Application Testing Strategy In mobile application testing actually there are too many tools and techniques available to meet quality requirement so we can focus on following factors depicted in figure 2 to minimize the testing requirement. Emulators Cloud Testing Solution Physical Device • All applications can be deployed and tested on emulator without investing in Mobile Handset for various OS. • Emulators are mostly available free, and we can also perform UI, Stress and performance testing on that. • 30-40% test • The Mobile devices can be accessed through web interface i.e. Browser. • Application can be deployed, tested and managed. • Automation module is available and solution is secure if private cloud is used with no maintenance • Upto 100% test coverage can be achieved. • Real device testing will give the most realistic view of test results. • All possible types of testing activities can be performed including that are dependent on hardware. Device Emulator QA team can perform most of the testing in a well-equipped test environment using device emulators with various options like ability to bypass the network, using live environment via modems and use of an effective scripting language. This is a cost effective solution Mobile Cloud Computing Solutions (Remote Real Devices) The QA team can use the mobile cloud computing environment to deploy and test an application. In the cloud approach, the task and data are kept on the Internet rather than on an individual device, providing on-demand access. By reducing the complexity of the implementation, companies that take advantage of cloud services can significantly reduce project costs and boost the return on investment of a mobile computing solution. Fig (2) Mobile Application Testing platforms User provides the Inputs to the Web Interface using Internet Server receives the User request and Send it to Actual device for compilation Mobile Devices solve the user request and send compiled results back to Server for displaying the results to User on the Web Interface Fig (3)-Cloud computing diagram
  • 5. Infosys | 05 Real Time Devices with Real Networks The QA team cannot completely avoid this option but there should be an option to test real devices on real networks whenever required. This is important since the Mobile application will always be used on mobile devices by end users who may access the application from a remote area with fluctuating network signal strength. Automation Tools to Avoid Manual Work The QA team should automate the mobile applications task to avoid manual work for time and cost savings. There are several automation tools available in the market for mobile applications. There are several benefits of using a cloud solution: • Rent per hour, swap devices • Test incoming calls and text without needing a cell plan • Automated test execution is recorded to video to investigate failures • Device logs are recorded to help with troubleshooting • Large number of devices available for testing • Tests can be run on several devices in parallel • Web-based interface • Build integration Mobile Application Test Automation Tools Android QTP(Paid) Robotium Blackberry Fledge Android FoneMonkey QTP iOS UIAutomation Frank Android Instrumentation EggPlant(Paid Symbian CTS(Compatibility Test Suite) Web OS EggPlant(Paid) QTP(Paid) Fig (4) Mobile Application Test Automation Tools
  • 6. 06 | Infosys Usability Testing This includes text visibility in the selected language, navigation between screens, and verification of functionality online/ offline, feedback from interaction with system, i.e., downloaded application should be prompt with message. Compatibility Testing This entails validating the application for different mobile devices, OS versions, screen sizes, and resolutions as per the requirements, checking if integration server changes, checking for the app isolation with other apps on the device. Interface Testing This covers validation of each screen, buttons, text inputs, navigation flow such as Facebook, bookmarks, reviews, etc. Services Testing This includes checking for mobile app not to act as a server, checkingifaservicetakestoolongorisusedoffline,andchecking if a service goes down and returns malformed responses. Low Level Resource Testing This covers checks for overuse of memory and not releasing it, app temporary files not cleaned, local database growing too big, and garbage generation by the app. Performance Testing This includes checks on server connection changes to WIFI from 2G/3G or vice versa, shared images size used for the Application is as per the requirement, application response time, code optimization for the CPU cycle, battery consumption, memory leaks, resources like GPS, CAMERA, etc., freed. Operational Testing This entails checks for back-up of necessary information in the app, save and recovery plan if battery goes down, data lost in case of app upgradation from appstore market, app access if user gets any alarm, call, message, reminder, etc., and battery power usage while app is being accessed. Security Testing This includes encryption/decryption techniques used for sensitive data communication, checks for multi-user support without interfering with the data between them, checks for access to files saved in the app by any unintended users, detect areas in tested application so that they do not receive any malicious content. Types of Testing for Mobile Applications
  • 7. Conclusion The significant challenges and risks involved in mobile application testing can impact production of mobile apps. These risks and challenges can be mitigated by adopting the various testing types and strategy outlined in this paper. The various tools available in market for mobile application testing not only help with testing but also provide a platform to measure security and compatibility compliance. This can be useful in application certification where required. The importance of testing mobile applications before deployment in a live environment cannot be overemphasized. An application with bugs and other issues can hurt not merely business but also the reputation of the organization. Infosys | 11 About the Authors Mohan Kumar is Group Product Manager with the Product Development Group of Infosys Ltd. He has extensive exposure in the financial and mobile application development space. With global IT experience in the financial services and mobility industry, he has a strong grasp on product and platform development. His areas of specialization include product and solution development and process efficiency by leveraging IT and operational convergence in the financial and mobility domains. Mohan has worked on intellectual property creation. His core areas of expertise include mobile devices (Android, iPhone, IPAD). Mohan is currently working on various Building Tomorrow’s Enterprise (BTE) initiatives and development of FLYPP products. He can be reached at [email protected]. Manish Chauhan (Dewa) is Senior Associate Consultant with the PRD group of Infosys. He has more than 6 years’experience in software testing. He has extensive experience in manual,White Box, API, Unit, and performance testing on mobile devices, Set-top boxes, DTV, Security Devices, etc. Manish has been involved in creating test cases, test plans, test strategy, automation framework, and automation script. He is currently involved in improving the quality of Flypp products.
  • 8. © 2013 Infosys Limited, Bangalore, India. All Rights Reserved. Infosys believes the information in this document is accurate as of its publication date; such information is subject to change without notice. Infosys acknowledges the proprietary rights of other companies to the trademarks, product names and such other intellectual property rights mentioned in this document. Except as expressly permitted, neither this documentation nor any part of it may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, electronic, mechanical, printing, photocopying, recording or otherwise, without the prior permission of Infosys Limited and/ or any named intellectual property rights holders under this document. About Infosys Infosys partners with global enterprises to drive their innovation-led growth. That's why Forbes ranked Infosys #19 among the top 100 most innovative companies. As a leading provider of next-generation consulting, technology and outsourcing solutions, Infosys helps clients in more than 30 countries realize their goals. Visit www.infosys.com and see how Infosys (NYSE: INFY), with its 150,000+ people, is Building Tomorrow's Enterprise® today. For more information, contact [email protected] www.infosys.com