Mobile Application Testing Best Practices - Sumit Mundhada
1. Mobile application testing best practices
Author: Sumit Mundhada
TSSI Team, Vodafone Shared Services India
April, 2016
1
2. Objectives
• This paper is to outline the critical areas of testing
needed to certify mobile enterprise applications
• Best practices which a QA team can follow & implement
• About Testing Center of Excellence for mobile
• Android application end to end test approach
• Information on standard tools & software
2
5. Testing center of excellence
5
Leadership Team - Test Architect, Test Team, BA
Test Automation Framework - Tools & Software
People and Knowledge base - Training & Skill set
Client Engagement model
Performance, Load, Security, Compatibility experts
Innovation & Strategy Team
Test Process, Test Management
6. Case Study : Android application
end to end testing
6
Sanity
Testing
Functional
Testing
Manual
Testing
Automation
Testing
Code review
Non Functional
Testing
Performance
Testing Security Testing Stress
Testing
Battery
NW/CPUM
emory
Usage
Compatibility
Testing
Test Build CI
7. Important Tools & Software
7
•Android Debug Bridge (adb) is a versatile command line tool that lets you communicate
with an emulator instance or connected Android-powered deviceadb
•The Android lint tool is a static code analysis tool that checks your Android project source
files for potential bugs and optimization improvementslint
•Traceview is a graphical viewer for execution logs that you create by using the Debug class
to log tracing information in your code.TraceView
•The Systrace tool allows you to collect and inspect timing information across an entire
Android device, which is called a trace. It shows where time and CPU cycles are being
spent
Systrace
•The Battery Historian chart graphs power-relevant events over time.Battery Profilers
•You can use the Monkey to stress-test applications that you are developing, in a random
yet repeatable mannermonkey
•drozer is a comprehensive security audit and attack framework for AndroidSecurity - drozer
•Heap Viewer, Memory Monitor, and Allocation Tracker are complementary tools that
visualize the memory your app uses.Memory Profilers
•Android tool for test automationUiAutomator
•The monkeyrunner tool is primarily designed to test applications and devices at the
functional/framework level and for running unit test suitesmonkeyrunner
8. Conclusion
8
Performance
• Team Skill Set
• Resource
utilization
Time
• Faster time to
market
Cost
• Average cost of
testing
• Overall business
cost
Quality
• Product Quality