Now that we’ve gotten beyond the initial shock and prevalence of mobile applications, we’ve come to realize that it’s not just about making apps work. In chasing the mobile market, we often don’t really understand or choose to ignore the differences in the mobile platform when it comes to designing and building a successful app. Of course, the mobile platform is smaller, but what else do you need to consider? To be successful, you need more than just “it works.” Phil Lew explores the top mobile quality challenges, and discusses how to approach and solve them. Some of these challenges include platform proliferation, internationalization, usability, when—and when not—to automate, and how to handle the segmented performance issues with device, network, and server. Phil outlines the different approaches for getting the most bang for your buck in the platforms you test and the tools you use. Make sure your application works, is loved by your users, and keeps them coming back.
2. 6/7/17
2
XBOSo7, Inc. All Rights Reserved.
Tiny Bit About Me
• Phil Lew
– Telecommunications consultant and network designer
– Team Lead, Data warehousing product development
– Software product manager, BI product
– COO, large IT services company
– CEO, XBOSoft, software qa and testing services
• Relevant specialties/Research
– Software quality process improvement
– Software usability evaluation
– Software quality in use / UX design
3
XBOSo7, Inc. All Rights Reserved.
But Today is All About You
… Who are you and Why are you here?
4
3. 6/7/17
3
XBOSo7, Inc. All Rights Reserved.
Agenda
1. Mobile Vs. Desktop Platforms
– Fundamental differences between the mobile and desktop
platforms
– Foundation to further explore mobile software best
practices.
2. Challenges in Designing and Testing Mobile
Applications with solution approaches
– Specific design issues associated with the creation of a
great user experience (UX)
– Localization
– Testing and automation considerations inherent to
complex, mobile devices.
5
XBOSo7, Inc. All Rights Reserved.
Mobile vs. Desktop PlaVorms
1.1 Similari*es
• Leverage PlaVorm Development
• Across web interfaces (HTML/Responsive
Web Design) … when you can…
• Across data connections of an application
across different platforms. using APIs …
when you can…
• Across similar code bases for a given
application on different platforms, helped by
the IDE (e.g., Xcode).
6
5. 6/7/17
5
XBOSo7, Inc. All Rights Reserved.
Mobile Vs. Desktop PlaVorm Differences
1.2.1 PlaVorm Prolifera*on
"Android Fragmentation Visualized (August 2015) - SlideShare." 7 Aug. 2015,
http://www.slideshare.net/FrdricZugaj/android-fragmentation-visualized-august-2015.
9
XBOSo7, Inc. All Rights Reserved.
• Over 18000 Unique Devices Detected
• Android a Far Bigger Problem Than iOS
• Fragmenta*on a Strength and Weakness for
Android*
– Headache for developers and testers
– Access to large variety of devices offers broad,
global reach
* "ANDROID FRAGMENTATION VISUALIZED (AUGUST 2015) DEVICE ...."
https://opensignal.com/assets/pdf/reports/2015_08_fragmentation_report.pdf.
Mobile Vs. Desktop PlaVorm Differences
1.2.1 PlaVorm Prolifera*on (cont.)
10
6. 6/7/17
6
XBOSo7, Inc. All Rights Reserved.
Screen Size/Aspect Ra*o Varia*on Challenges
• Large Numbers of Android Displays (le7)
• Rela*vely Small Variety of iOS Displays (right)
• Developers Forced to Priori*ze
• Testers Need to Accommodate
Mobile Vs. Desktop PlaVorm Differences
1.2.1 PlaVorm Prolifera*on (cont.)
11
XBOSo7, Inc. All Rights Reserved.
• Mobile Environment
– Mobiles accessed 150 *mes a day
– Mobiles constantly changing loca*on and
condi*ons
• Loca*on Based Services
– Unique “mobile-only” loca*on-based services
– Added Services Dimension
• Naviga*on, restaurant reviews, etc.
• Ambient Condi*ons
– Adjust to varying ligh*ng condi*ons
Mobile Vs. Desktop PlaVorm Differences
1.2.2 Loca*on
12
What other conditions
must be accounted for?
8. 6/7/17
8
XBOSo7, Inc. All Rights Reserved.
• Applica*ons - New Social Paradigm
– Rapidly take pictures
– Quick edi*ng (e.g., Instagram and Facebook
Filters) and sharing
• Requirements for UI to be Supported
– Rapid access to take photos
– Rapid storage
– Edi*ng photos must be seamless and simple
Mobile Vs. Desktop PlaVorm Differences
1.2.3 Photography (cont.)
15
XBOSo7, Inc. All Rights Reserved.
• No*fica*on Implementa*on Approach
– Directly affects overall UX
• Poten*ally Large Number of No*fica*ons
Received by Mobile
– And desktops associated with mobile
– Receipt of no*fica*ons at inappropriate *mes
and loca*ons
– Give users a choice that’s easy to find and
change
Mobile Vs. Desktop PlaVorm Differences
1.2.4 No*fica*ons
16
12. 6/7/17
12
XBOSo7, Inc. All Rights Reserved.
• Tradi*onal Business Perspec*ve Applies…
– It is cheaper and less *me-consuming to keep
your current customers than acquire new ones
• … and Is Amplified
– Level of compe**on for Applica*ons greater
– App Stores simplify finding alternate solu*ons
– Opinions can be formed in seconds
Challenges in Designing and Tes*ng Mobile Apps
2.1 User Experience Cri*cality (cont.)
23
XBOSo7, Inc. All Rights Reserved.
• Localy*cs:
– 25% of Applica*ons will be used ONCE
– 33% of applica*ons fully abandoned a7er 1
month
– 70-80% Fully Abandoned a7er 3 months
• Dimensional Research
– 80% of app users will anempt to use a
problema*c applica*on less than 4 *mes
"Mobile Apps: What's A Good Retention Rate? | Localytics." 21 Mar. 2017,
http://info.localytics.com/blog/mobile-apps-whats-a-good-retention-rate.
"Whitepaper: Failing to meet mobile app user expectations | ITProPortal (REF: Dimensional Research) ." 30 Jan. 2016,
http://www.itproportal.com/2016/01/30/whitepaper-failing-meet-mobile-app-user-expectations/. Accessed 21 Apr. 2017.
Challenges in Designing and Tes*ng Mobile Apps
2.1 User Experience Cri*cality (cont.)
24
14. 6/7/17
14
XBOSo7, Inc. All Rights Reserved.
… Data Speed Challenges for Mobile Applica5ons
• Operate in Widely Varying Wireless Environments.
• Deal Gracefully With Interminent Data Connec*ons
– Intelligent Caching
– Moving between wireless interfaces (WiFi, Cellular,
Bluetooth)
• UI Op*mized to Maximize UX (... Illusion)
– Slow download speeds masked with progress screens
– Inform User of progress
– Distract User from Slow progress
User Experience Cri*cality
2.1.1 Performance Issues
27
XBOSo7, Inc. All Rights Reserved.
• Overall Performance Measurements and Monitoring
– Data Throughput
– Screen Delays
– Banery Consump*on
– Database Performance
– Memory U*liza*on (leaks, abandoned memory)
– Automated Source Code Issues review
• Mobile Performance Tool Examples
– XCode’s UI Tes*ng Infrastructure (previously
Instruments) (Apple Inc.): iOS
– Monkop : Android, iOS
User Experience Cri*cality
2.1.1 Performance Issues (cont.)
28
15. 6/7/17
15
XBOSo7, Inc. All Rights Reserved.
Mobile Device Unique
• Always with the person
• Typically held in one hand
• Biometrics availability
… More a personalized extension of user, less an
independent device
How many of you would loan your phone to a friend?
User Experience Cri*cality
2.1.2 Design Controls Based on Hand Posi*on
29
XBOSo7, Inc. All Rights Reserved.
… 50% of People Hold Phone in 1 hand, using thumb
to drive interface. *
… 75% Interac5ons on mobile are thumb driven. **
* "Design for Fingers, Touch, and People, Part 1 :: UXmatters." 6 Mar. 2017,
http://www.uxmatters.com/mt/archives/2017/03/design-for-fingers-touch-and-people-part-1.php. Accessed 19 Apr. 2017.
** "How We Hold Our Gadgets · An A List Apart Article." 3 Nov. 2015, https://alistapart.com/article/how-we-hold-our-gadgets.
Accessed 19 Apr. 2017.
User Experience Cri*cality
2.1.2 Design Controls Based on Hand Posi*on
(con*nued)
30
16. 6/7/17
16
XBOSo7, Inc. All Rights Reserved.
Thumb-zone mapping for left- and right-handed users. *
* "The Thumb Zone: Designing For Mobile Users – Smashing Magazine." 19 Sep. 2016,
https://www.smashingmagazine.com/2016/09/the-thumb-zone-designing-for-mobile-users/.
User Experience Cri*cality
2.1.2 - Design Controls Based on Hand Posi*on
(con*nued)
31
XBOSo7, Inc. All Rights Reserved.
• UX Formulated by So7ware and Hardware,
Together
• Physical Home Bunon Easily Accessible
• Virtual Bunons and Controls Easily Reachable
• Hap*c Feedback Helping Blur Lines Between
Virtual and Real
… Mobile device Ease of Access and Use by a phone
naturally placed in one’s hand will define the UX
User Experience Cri*cality
2.1.2 - Design Controls Based on Hand Posi*on
(con*nued)
32
21. 6/7/17
21
XBOSo7, Inc. All Rights Reserved.
• All Ac*ons Should Be Intui*ve if Possible
– Easier to learn with no memoriza*on
– Easier to use
– Easier when expanding func*onality.
– Eliminate the need for Reference/Help Files
• U*lize Well-Established Norms for the Mobile OS
– iOS: Human Interface Guidelines (Apple)*
– Android: Design | Android Developers”**
* "Design Principles - Overview - iOS Human Interface Guidelines."
https://developer.apple.com/ios/human-interface-guidelines/.
** "Design | Android Developers." https://developer.android.com/design/index.html. Accessed 10 Apr.
2017.
User Experience Cri*cality
2.1.6 Self-Evident Naviga*on
41
XBOSo7, Inc. All Rights Reserved.
• Development For Mul*ple-PlaVorms
• User Expecta*ons
– Func*ons will be duplicated or complemented on
desktop and mobile applica*on
• Design Considera*ons
– UX principles be duplicated where possible
– Aggressively modify func*on to support mobile UI where
appropriate
– Developer should abandon desktop func*ons
inappropriate for Mobile environment
User Experience Cri*cality
2.1.7 - Seamless Experience Across Devices
42
What functions would be inappropriate?
22. 6/7/17
22
XBOSo7, Inc. All Rights Reserved.
Spotify Application on Various Devices
2.1.7 - Seamless and Con*guous Experience
Across Devices
43
XBOSo7, Inc. All Rights Reserved.
• Manual Tes*ng
– Simple applica*ons can test for look and feel
– Usability
• Serious Applica*ons
– So7ware Tes*ng QA Team integral part of SDLC
– Manual tes*ng cannot be avoided for many areas
– With automa*on of certain func*onal areas
User Experience Cri*cality
2.1.8 - UX Tes*ng Challenges
44
23. 6/7/17
23
XBOSo7, Inc. All Rights Reserved.
Manual UX Review
• Access Right-Hand Versus Le7-Hand Usability
• Screen Interac*on (Small Items)
• Visual Clarity
– i.e., contrast of displayed informa*on under various
ligh*ng condi*ons
• General Naviga*on Through Applica*on
– Adherence to appropriate device guidelines
– Confirma*on of cross-plaVorm unified experience
User Experience Cri*cality
2.1.8 - UX Tes*ng Challenges (cont.)
45
XBOSo7, Inc. All Rights Reserved.
UX Evalua*ons Via Manual Methods
• Well planned tests
• Hallway tests
• Coordina*on with other SDLC Stakeholders
User Experience Cri*cality
2.1.8 - UX Tes*ng Challenges (cont.)
46
25. 6/7/17
25
XBOSo7, Inc. All Rights Reserved.
• Localiza*on Challenges
– Google Play Store, iOS App Store
– Distribu*on of Applica*on Globally is easy
– Crea*ng Suitable Applica*on for a Market is hard
• Applica*on Market Acceptance
– Local Language
– Market-specific Images
Challenges in Designing and Tes*ng Mobile Apps
2.2 - Localiza*on
49
XBOSo7, Inc. All Rights Reserved.
… 90% of all mobile ac5vity takes place in Apps,
not browsers
… App Localiza5on will increase downloads, on
average well over 100% *
"There's a Language for That: Translating Mobile Apps And Content."
http://www.demandgenreport.com/features/demanding-views/there-s-a-language-for-that-translating-
mobile-apps-and-content.
Challenges in Designing and Tes*ng Mobile Apps
2.2 - Localiza*on (cont.)
Price for Not Localizing
Who is your market?
50
26. 6/7/17
26
XBOSo7, Inc. All Rights Reserved.
Cri*cal Localiza*on Considera*ons
• Assets
– images, tutorials, other content
• Layout Flexibility - Ensure That Text Will Autosize
– Chinese requires less space than English
– Spanish, French, German take up more space than
English
– iOS/Android Toolkits help with dates, *mes, currency
"There's a Language for That: Translating Mobile Apps And Content."
http://www.demandgenreport.com/features/demanding-views/there-s-a-language-for-that-translating-
mobile-apps-and-content.
Challenges in Designing and Tes*ng Mobile Apps
2.2 - Localiza*on (cont.)
51
XBOSo7, Inc. All Rights Reserved.
Cri*cal Localiza*on Considera*ons (cont.)
Transla*ons
• What to localize?
– En*re applica*on
– Help files, menus, other references
– L1, L2?
• Na*ve transla*ons by subject maner experts
– Must understand context
"There's a Language for That: Translating Mobile Apps And Content."
http://www.demandgenreport.com/features/demanding-views/there-s-a-language-for-that-translating-
mobile-apps-and-content.
Challenges in Designing and Tes*ng Mobile Apps
2.2 - Localiza*on (cont.)
52
27. 6/7/17
27
XBOSo7, Inc. All Rights Reserved.
Tes*ng and Review of Localiza*on Data
• Reviewer
– Must know the language
– Must know subject and context
• Compa*bility Tes*ng
– Accurate rendering
• Use of device pools to test applica*on on target devices
– e.g., Sauce Labs, BrowserStack, AWS Device Farm
– Automa*on of compa*bility tests (covered in next sec*on)
"There's a Language for That: Translating Mobile Apps And Content."
http://www.demandgenreport.com/features/demanding-views/there-s-a-language-for-that-translating-
mobile-apps-and-content.
Challenges in Designing and Tes*ng Mobile Apps
2.2 - Localiza*on (cont.)
53
XBOSo7, Inc. All Rights Reserved.
2.3 Tes*ng and Automa*on
1. Wireless interfaces
2. API integra*on
3. Test tools
4. Device diversity
5. What to automate
6. Mobile test lab
7. Con*nuous integra*on
8. Mobile data security
54
28. 6/7/17
28
XBOSo7, Inc. All Rights Reserved.
• Cap Gemini Survey from 2014
– 20% of companies have no *me to test mobile apps
– 65% lacked appropriate tools
– 50% lacked devices to perform tes*ng
• Mobile Tes*ng Landscape is Changing
– Different applica*ons, be they web apps or na*ve,
require different tes*ng tools and approaches
– Numerous device interfaces that need to be supported
Challenges in Designing and
Tes*ng Mobile Apps
55
XBOSo7, Inc. All Rights Reserved.
Mobile Devices Operate in Complex Environment
• Data Feeding From a Variety of Services
– Wireless - High Speed
• Indoors: Wifi
• Outdoors: Cellular (e.g., 3G, 4G, 5G)
• Device Moves Automa*cally Between Services
– behind the scenes
• Data Handling
– defaults set to avoid cellular service fees if possible.
– handling of data interrup*ons
Tes*ng and Automa*on
2.3.1 Wireless Interfaces
56
29. 6/7/17
29
XBOSo7, Inc. All Rights Reserved.
API Considera*ons
• API Integra*on to External Services Exploding
• Widespread Use
• Prone to Errors and customized
implementa*ons
Tes*ng and Automa*on
2.3.2 API Integra*on
57
XBOSo7, Inc. All Rights Reserved.
Underes*ma*ng of Tes*ng Challenges
• Some APIs Are Well Established (Less Risk)
– e.g., music services
• Many APIs Unstable
– More eclec*c sets of devices (e.g., IoT) feeding different
informa*on to mobile applica*ons
– Immature API development
• Care Must Be Taken
– To properly evaluate and test less Mature APIs
– Coopera*on with API service provider
Tes*ng and Automa*on
2.3.2 API Integra*on (cont.)
58
30. 6/7/17
30
XBOSo7, Inc. All Rights Reserved.
Tool Selec*on
• Many Things to Consider
– Cost (Open Source/Free vs. Paid)
– OS coverage (e.g., Android)
• Cost Is a Factor, but Not the Most Important
– Will the applica*on do the job?
– Is the applica*on supported (na*ve vs. web)
Tes*ng and Automa*on
2.3.3 Tes*ng Tools
59
XBOSo7, Inc. All Rights Reserved.
Mobile Test Automation Tool Comparison
"5 Mobile Testing Challenges and Solutions — Software Testing Help."
http://www.softwaretestinghelp.com/5-mobile-testing-challenges-and-solutions/.
Tool
Paid/Open
Source
Native Apps Web Hybrid Apps Android IOS Windows Black-berry Library/Tool
Robotium
Open
Source
Y - Y Y - - - Library
Sikuli
Open
Source
Image Based
Image
Based
Image
Based
Y Y Y Y Both
Selenium WebDriver
Open
Source
- Y - Y
Y(but
obsolete)
- - Library
NativeDriver
Open
Source
Y - - Y Y - - Library
Appium
Open
Source
Y - Y Y Y - - Tool
MonkeyTalk
Open
Source
Y Y Y Y Y - - Tool
SeeTest Paid Y Y Y Y Y Y Y Tool
M-eux(Jamosolutions) Paid Y - Y Y Y Y Y Tool
EggPlant Paid Image Based
Image
Based
Image
Based
Y Y Y Y Tool
mAutomate Paid Y Y Y Y Y - - Web Based
Ranorex Paid Y Y Y Y Y - - Tool
60
31. 6/7/17
31
XBOSo7, Inc. All Rights Reserved.
XBOSo7 Preference
• Standardized on Appium
– XBOSo] holds no Stake in Appium!
– Appium is open source
• Answers two ques*ons for us
– Does the Job of Tes*ng Na*ve Mobile Applica*ons
– Supports the Applica*ons (iOS and Android)
Tes*ng and Automa*on
2.3.3 Tes*ng Tools (cont.)
61
XBOSo7, Inc. All Rights Reserved.
Appium Highlights
• Appium uses Vendor-Provided automa*on
frameworks
– XCITest for iOS
– UIAutoma*on for Android,
– WinApp Driver for Windows
• No Appium or 3rd Party code compiled into App
– Tes*ng same app being shipped
Tes*ng and Automa*on
2.3.3 Tes*ng Tools (cont.)
62
32. 6/7/17
32
XBOSo7, Inc. All Rights Reserved.
Appium Highlights (cont.)
• Appium wraps Vendor Frameworks in the WebDriver API
(aka “Selenium WebDriver”) that specifies a client-server
protocol (JSON Wire Protocol)
• With Appium, testers can use variety of frameworks and
programming languages
• WebDriver has been come a standard for test automa*on
with Web browsers, it is not necessary to do anything
different for mobile.
• Open Source
– Plenty of support from ac*ve developer community.
Tes*ng and Automa*on
2.3.3 Tes*ng Tools (cont.)
63
XBOSo7, Inc. All Rights Reserved.
Appium Supports the Following Test Engineering
Requirements*
• Commonly Used Programming API's Can Be Integrated
• Can Run App Through Appium Server Without Manipula*ng
the App
• No Source Code Required (Unlike Robo*um)
• CI Compa*ble With Jenkins
• Runs on Selenium Grid
• Works With Real Devices or Simulators, or Even Devices
Provided by Cloud Services
• Doesn't Require an APK
"Advantages and Disadvantages of appium - Stack Overflow." 6 Feb. 2015,
http://stackoverflow.com/questions/28363221/advantages-and-disadvantages-of-appium/28367587.
Tes*ng and Automa*on
2.3.3 Tes*ng Tools (cont.)
64
33. 6/7/17
33
XBOSo7, Inc. All Rights Reserved.
• Too Many Device Varie*es to Test
• Employment of Analy*cs
– Help Priori*ze Device Focus
• Example Parameters for Market Data Collec*on
– Screen Size, OS, CPU, RAM Usage, etc
• Analy*cs Helps Designers Priori*ze Device Models
– Helps determine type of support an app will provide *
• Test Engineers Need to Ensure
– Priori*zed device configura*ons appropriately supported
* "Five types of mobile analytics data and their uses." 10 Jun. 2016,
http://mobilebusinessinsights.com/2016/06/five-types-of-mobile-analytics-data-and-their-uses/.
Tes*ng and Automa*on
2.3.4 Device Diversity
65
XBOSo7, Inc. All Rights Reserved.
User Experience Cri*cality
• Manual tes*ng is essen*al to evaluate overall UX
• Look and Feel
• Baselines for test are established
Automa*on
• Necessary in today’s business environment
• Challenge is what to automate and how to priori*ze
Tes*ng and Automa*on
2.3.5 What to Automate
66
34. 6/7/17
34
XBOSo7, Inc. All Rights Reserved.
• Some Things Should NOT Be Automated
• Some Things CAN Be Automated and make
sense to do so:
– Certain established look-and-feel tests that are
repeatedly successful
– Asser*ons can be applied to ensure tests are within
bounded parameters.
Tes*ng and Automa*on
2.3.5 What to Automate (cont.)
67
XBOSo7, Inc. All Rights Reserved.
Based on that, these types of test cases are
good to be automated:
• Have been successfully executed manually
• Stable areas, pages that are not likely to
change frequently
• Transac*ons, workflows that are not likely to
change
Good to Automate
68
36. 6/7/17
36
XBOSo7, Inc. All Rights Reserved.
• Local and Remote Cloud Test Lab Configura*ons
– Both Have Advantages
• Suitable When Support Large Number of
Devices and OS Versions Is Required
– Accomplished by various means:
• Local Real Devices
• Local Simulated Devices
• Remote Real Devices
• Remote Simulated Devices
Tes*ng and Automa*on
2.3.6 Mobile Test Lab
71
XBOSo7, Inc. All Rights Reserved.
Local Device Simulator
• Virtual device
– not actual phone
• Phone emulated through so7ware
• Same OS and so7ware (in large part) as that
loaded on actual mobile hardware
• Performance may vary from real device
– CPU/RAM/Network Speed
• Typically free (for personal use)
Tes*ng and Automa*on
2.3.6 Mobile Test Lab (cont.)
72
38. 6/7/17
38
XBOSo7, Inc. All Rights Reserved.
Typical Local Software Test Lab
Tes*ng and Automa*on
2.3.6 Mobile Test Lab (cont.)
75
XBOSo7, Inc. All Rights Reserved.
Remote Device Farm Server
• Similar to Local So7ware Test Environment
• Majority of Local Test Configura*on Func*on
Moved to Cloud
• Local Tester Does Not Have to Physically
Manage
– Remote test client so7ware
– Growing Device Pool
Tes*ng and Automa*on
2.3.6 Mobile Test Lab (cont.)
76
39. 6/7/17
39
XBOSo7, Inc. All Rights Reserved.
Typical Remote Software Test Environment
Tes*ng and Automa*on
2.3.6 Mobile Test Lab (cont.)
77
XBOSo7, Inc. All Rights Reserved.
Remote “Real” devices
• Typically Most Recently Available Mobile Devices
• Devices Accessed Through Web Browser
– not actually holding phone
– “mirrored image” of real device
Tes*ng and Automa*on
2.3.6 Mobile Test Lab (cont.)
78
43. 6/7/17
43
XBOSo7, Inc. All Rights Reserved.
Remote Test Lab (Device Farm)
• Advantages
– Large assortment of real and simulated devices
– One URL can be displayed against numerous browsers
– No maintenance required for local devices
– Automated Tests are Supported
• Issues
– Automated Tests can get costly if required to run
simultaneously
– Limited Look-and-Feel automated test applicability
Tes*ng and Automa*on
2.3.6 Mobile Test Lab (cont.)
85
XBOSo7, Inc. All Rights Reserved.
Real/Simulator/Cloud Device
When is best to use which one (1/3)
86
Situation Solution Why
During the initial stages of
application development /
coding phase
Simulator Fast debugging
Sanity, smoke testing,
performance,
interoperability and
network feasibility and
regression testing
Real
Device
A series of real devices with high
popularity is always the final gate, real
usage with real situation must be
covered before final release.
Web application through
URL
Simulator It’s much easier to copy url to
simulator than input it to real phone
Situation-based
application
Real
Device
Only real device can answer: is it easy
to use the app on the train, or while
walking down the street? The situation
about in bright sunlight or in the rain?
44. 6/7/17
44
XBOSo7, Inc. All Rights Reserved. 87
Situation Solution Why
Feeling of closeness
towards the real
handheld devices
Real
Device
Look and feel, color resolution of the screen,
whether the picture is bright or not under both day
and night conditions and so on
Capturing
screenshots of the
situations where
defects appear
Simulator Capturing issue of screenshots over simulator is
much easier for manual testing. For automated
testing, screen captures can be configured for
simulators as well as real devices.
Battery/exact color/
incoming interrupts/
Camera / Dynamic
lighting conditions
Real
Device
Simulators are not able to simulate the Battery
status, or the exact color display of the devices
when the real device is in sunlight or in the dark, or
simulating incoming interrupts for SMS or calls and,
no cameras.
Performance Real
Device
The original devices tend to perform faster than the
emulator/simulator.
Memory related
issues
Real
Device
The memory available at the simulator tends to be
far more than the real devices so this may create
misconceptions
When is best to use which one (2/3)
XBOSo7, Inc. All Rights Reserved. 88
Situation Solution Why
Responsive
Design Testing
across Devices
Cloud
Device
No hardware factors as what matters are just width and
ratio, Cloud device farm provide all that.
Cross Browser
Testing
Cloud
Device
Safari, Chrome, IE, Firefox, different version, on
different OS, with different screen size, the cloud service
is designed to manage all of it.
Automated
regression test
script
Cloud
Device
Make sure the script works for 1 real devices locally,
and then have the cloud to multiply it to 20 or even
more, in parallel, and you don’t have to maintain any of
them.
Devices with
lower popularity
Cloud
Device
Cover the devices in your supported list as much as
possible.
Call center,
customer
reported issues
Simulator Troubleshooting the issues with simulators first before a
real device is available.
When is best to use which one (3/3)
46. 6/7/17
46
XBOSo7, Inc. All Rights Reserved.
Con*nuous Integra*on Benefits
• Well suited for Agile Development teams
• Can Ini*ate Test Process Directly A7er Latest
Applica*on Build
• Rapid Feedback
– rather than wai*ng un*l next day
• Iden*fied Problems Can Be Quickly Addressed
Tes*ng and Automa*on
2.3.7 Con*nuous Integra*on (cont.)
91
XBOSo7, Inc. All Rights Reserved.
Mobile Data Security Considera*ons
• Extremely Important, Specialized
• Open-Source as Well as Commercial Tools
Available
– OWASP (Open Web Applica5on Security Project)
• Certain Security Tests can be Performed by
Performance Tools
– e.g., JMeter DDOS, Monkop
Tes*ng and Automa*on
2.3.8 Mobile Data Security
NOTE: Due to Depth and Nature Mobile software security,
XBOSoft covers this topic in a separate presentation.
92