Image Area. White Paper. Best Practices in Mobile Application Testing. - Mohan Kumar, Manish Chauhan. www.infosys.com



Similar documents
Mobile App Testing Process INFLECTICA TECHNOLOGIES (P) LTD

Automated testing for Mobility New age applications require New age Mobility solutions

INFOSYS MOBILITY QA PRACTICE

Cloud Based Mobile Application Testing

Mobile App Testing Guide. Basics of Mobile App Testing

Cross Platform Mobile. -Vinod Doshi

Improved Efficiency and Significant Cost Savings through a Flexible Managed Services Model

Mobile Application Testing

Testing Mobile Applications

Mobile Test Strategy. Shankar Garg. Senior Consultant - Testing

MOBILE APPLICATION TESTING. TekMindz s Testing solutions for enterprises INDZ TM TEK

Cognizant Mobility Testing Lab. The faster, easier, more cost-effective way to test enterprise mobile apps.

WHITEPAPER BEST PRACTICES IN MOBILE APPLICATION TESTING

ASHVINS Group. Mobile Application Testing Summary

Viewpoint. Choosing the right automation tool and framework is critical to project success. - Harsh Bajaj, Technical Test Lead ECSIVS, Infosys

Image Area. View Point. Medical Imaging. Advanced Imaging Solutions for Diagnosis, Localization, Treatment Planning and Monitoring.

View Point. Image Area. Insurance Modernization New Demands, New Approaches. - Jeffrey Kupper, Lalit Kashyap, Siva Nandiwada, Srikanth Srinivasan

Mobile Automation: Best Practices

Testing the Social-Mobile-Analytics-Cloud Pack: The Way Forward

Evaluation Framework: To Build or to Buy CRM Software?

Localization Testing in Mobile World Software Testing Conference, 2013

Master Data Management as a Solution Using SAP MDM and Complementing Technologies

Sonata s Product Quality Assurance Services

Mobile Performance Testing Approaches and Challenges

WHITE PAPER. M-Health: Challenges, benefits, and keys to successful implementation. Abstract

STeP-IN SUMMIT June 18 21, 2013 at Bangalore, INDIA. Enhancing Performance Test Strategy for Mobile Applications

Selecting the Right Mobile Test Automation Strategy: Challenges and Principles

Quick Start Guide. Version R9. English

WHITE PAPER. Getting started with Continuous Integration in software development. - Amruta Kumbhar, Madhavi Shailaja & Ravi Shankar Anupindi

Testing & Assuring Mobile End User Experience Before Production. Neotys

Mobile Testing That s Just a Smaller Screen, Right?

Open source Test Automation Tools for Mobile Applications A Primer

View Point. Developing a successful Point-of-Sale (POS) test automation strategy. Abstract. - Sujith George

View Point. Overcoming Challenges associated with SaaS Testing. Abstract. - Vijayanathan Naganathan, Sreesankar Sankarayya

WHITE PAPER. An Integrated Property & Guest Management System A hotel management software for the future delivered over the cloud

TALENT MANAGEMENT A KEY BUSINESS DRIVER

Mobile Application Test Automation Best Practices for Best Results. A white paper from Mobile Labs, Inc.

VIEW POINT. Getting cloud management and sustenance right! It is not about cloud, it s about tomorrow s enterprise

Cognizant Mobility Testing Lab A state of the art Integrated platform for Mobility QA

DEPLOYMENT. ASSURED. SEVEN ELEMENTS OF A MOBILE TEST STRATEGY. An Olenick & Associates White Paper

White Paper Bridging the Essential Gap between Continuous Quality and Crowd Based Testing

White Paper. Bridging the essential gap between Mobile Cloud and crowd based testing. 1. Introduction. 2. Testing Lifecycle

Lee Barnes, CTO Utopia Solutions. Utopia Solutions

Best Practices in Automation Testing of Mobile Applications

Flexible and Agile Service Delivery Platform Elevates Customer Experience

White paper. Risk and Compliance Management in Software Procurement. Abstract. - Siva R

Review of Mobile Applications Testing with Automated Techniques

Compatibility Testing for Mobile Apps and Websites

White Paper. Social Media for Wealth Managers. - Swaran Kumar Patnaik. Abstract.

Modeling the Mobile Application Development Lifecycle

Mobile Test Automation: Lessons Learned in the Trenches

Kaseya 2. User Guide. Version 7.0. English

View Point. Performance Monitoring in Cloud. Abstract. - Vineetha V

Kony Mobile Application Management (MAM)

STUDY. Rethinking Retail. Insights from consumers and retailers into an omni-channel shopping experience

ADF Mobile Overview and Frequently Asked Questions

ONE Mail Direct for Mobile Devices

1. What are the System Requirements for using the MaaS360 for Exchange ActiveSync solution?

Installing and Using Sage App Manager

A Review of Different Comparative Studies on Mobile Operating System

Mobile Testing Preparing for a fast-changing mobile world. Sudheer M, Practice Head - Mobility Testing and Automation

Benefits of Standardizing the Video Security System

Mobile Application Testing

APPLICATION OF SERVER VIRTUALIZATION IN PLATFORM TESTING

USER GUIDE CLOUDME FOR WD SENTINEL

Decision Tree Methodology - A solution for Local Vs. Global Master Data conflict

PrinterOn Print Management Overview

Sticky Password 7. Sticky Password 7 is the latest, most advanced, portable, cross platform version of the powerful yet

Synchronization Center

Mobilizing SAP Enterprise Applications

Feature List for Kaspersky Security for Mobile

Server & Application Monitor

Introduction to Android

USER GUIDE CLOUDME FOR WD SENTINEL

Mobile Application Testing Challenges & Best Practices

Enabling Innovation and Growth in Manufacturing Is Cloud computing the way forward?

DETERMINATION OF THE PERFORMANCE

RUN THE RIGHT RACE. Keep pace with quickening release cycles. Discover automation with the human touch. CHOOSE A TEST TO RUN BELOW

Sample Exam Foundation Level Syllabus. Mobile Tester

Licensing Guide BES12. Version 12.1

Norton Mobile Privacy Notice

Addressing Mobile Load Testing Challenges. A Neotys White Paper

Infosys Oil and Gas Practice

WHITEPAPER. An ECM Journey. Abstract

Realizing the Business Value of Master Data Management (MDM)

Transcription:

Image Area White Paper Best Practices in Mobile Application Testing - Mohan Kumar, Manish Chauhan www.infosys.com

Contents 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 02 Infosys

Introduction 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. 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 Infosys 03

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 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 Cloud Testing Solution 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 Physical Device 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. Fig (2) Mobile Application Testing platforms 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. 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 04 Infosys

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 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. Web OS QTP(Paid) EggPlant(Paid) Android Android Instrumentation FoneMonkey UIAutomation QTP(Paid) Frank QTP ios Mobile Application Test Automation Tools Robotium EggPlant(Paid Blackberry Symbian CTS(Compatibility Test Suite) Fledge Android Fig (4) Mobile Application Test Automation Tools Infosys 05

Types of Testing for Mobile Applications 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, checking if a service takes too long or is used offline, and checking if a service goes down and returns malformed responses. Low Level Resource Testing 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. 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. 06 Infosys

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. 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. Infosys 11

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 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.