More Related Content
Similar to Test Automation for Mobile Apps..
Similar to Test Automation for Mobile Apps.. (20)
More from BabuDevanandam (15)
Test Automation for Mobile Apps..
- 2. © 2013 Fiserv, Inc. or its affiliates.2
Table of Contents
• Introduction
• Types of Mobile Apps
• Challenges in Mobile Testing
• Solution to Mobile Testing Challenges
• Mobile Automation Mechanism
• Conclusion
- 3. © 2013 Fiserv, Inc. or its affiliates.3
Introduction
Mobile Automation – Transforming the technology landscape
- 4. © 2013 Fiserv, Inc. or its affiliates.4
Types of Mobile Apps
• Single Platform Affinity
• Written with Platform SDK's
• Must be written for each
platform
• Access to all native API's
• Faster graphics
performance
• AppStore distribution
Native Apps
• Cross-platform affinity
• Written with web
technologies (HTML5, CSS
and JavaScript)
• Runs locally on the device,
supports offline
• Access to native API's
• AppStore distribution
Hybrid Apps
• Cross-platform affinity
• Written with web
technologies (HTML5, CSS
and JavaScript) or server
side (PHP, ASP.Net, etc.)
• Runs on web server,
viewable on multiple
devices
• Centralized updates
Mobile Web Apps
- 5. © 2013 Fiserv, Inc. or its affiliates.5
?
Challenges in Mobile Testing
• Environment
• Application
• Users
• Devices
• Network
• Automation
Automation
- 6. © 2013 Fiserv, Inc. or its affiliates.6
Solution to Mobile Testing Challenges
- 7. © 2013 Fiserv, Inc. or its affiliates.7
Mobile Automation
Mechanism
- 8. © 2013 Fiserv, Inc. or its affiliates.8
Mobile Apps Testing Devices
Emulators Simulators Real Devices / Cloud
- 9. © 2013 Fiserv, Inc. or its affiliates.9
Understanding App Development –
User Interface XML
- 10. © 2013 Fiserv, Inc. or its affiliates.10
Mobile Automation Mechanism
Test Cases
Test Automation
Tool/Framework
Mobile Test Devices
Test Driver
Device Interface
Test Steps
and Data
Expected
Results
- 11. © 2013 Fiserv, Inc. or its affiliates.11
Mobile Automation Tools
Robotium
Monkey Talk
SeeTest Mobile
Perfecto Mobile
Device Anywhere
- 12. © 2013 Fiserv, Inc. or its affiliates.12
Building Object Repository
Object Spy
Object Properties
- 13. © 2013 Fiserv, Inc. or its affiliates.13
Types of Object Repository
Native Object Web Object Image Object
- 14. © 2013 Fiserv, Inc. or its affiliates.14
Mobile Automation With Open Source
• Native, Mobile Web and
Hybrid (iOS and Android)
Apps support
• Emulators and Simulators
are used for automation
development and
execution
• Easy for a newbie to learn
without any investment in
devices or tools
• Provides framework to
work with APIs and
prepare one’s own scripts
- 15. © 2013 Fiserv, Inc. or its affiliates.15
Mobile Automation on Real Devices
• Real device is plugged in (local USB or WiFi)
• Scripts are recorded in real devices (no jailbreak required)
• Objects identified by Native / Web properties / Images
• Same test can be executed on different devices (e.g. android test
runs on iOS)
• Supported by tools like SeeTest, EggPlant etc.
- 16. © 2013 Fiserv, Inc. or its affiliates.16
Mobile Automation on Cloud
• Connect anywhere
• Device combination
• Web based interface
• Enhanced
collaboration to share
scripts
• Quick and efficient
testing, but it comes
with a cost
• Supported by tools like
DeviceAnywhere and
PerfectoMobile
- 17. © 2013 Fiserv, Inc. or its affiliates.17
Mobile Internet Users Will Globally Overcome
Desktop Users by 2014
0
200
400
600
800
1,000
1,200
1,400
1,600
1,800
2,000
2007 2008 2009 2010 2011 2012 2013 2014 2015
Desktop Mobile
Number of Global Users (Millions)
- 18. © 2013 Fiserv, Inc. or its affiliates.18
Conclusion
Source: http://bigthink.com/
- 19. © 2013 Fiserv, Inc. or its affiliates.19
References
• http://developer.android.com/tools/index.html
• http://developer.android.com/tools/help/monkeyrunner_concepts.html
• https://developer.apple.com/
• http://code.google.com/p/robotium/
• http://portal.keynotedeviceanywhere.com
• http://www.perfectomobile.com
• http://experitest.com