SlideShare a Scribd company logo
BEST PRACTICES
Mobile App Testing
www.mobignosis.com
Author: Kavitha, Test Training Head, MobiGnosis
© 2013 MobiGnosis
• Is a software application designed to run on smartphones,
tablets and mobile devices.
• Application distribution platforms – appstore, googleplay
• Designed and tested on emulators before the field testing
• Ex. calender, contacts, email, weather, games, banking
etc.
Mobile application or mobile app
© 2013 MobiGnosis
Mobile application or mobile app …
© 2013 MobiGnosis
• Short dev cycle, rapid changes, multiple form factors.
• Native, Web and Hybrid apps.
• Multiple devices and OS.
• Non functional – Security and performance.
• Backward compatibility.
• Popular mobile web browsers.
• Network.
• Graphics, Video, Audio.
• Memory usage.
• Usability .
• What is coming next ?.
Mobile App Challenges
© 2013 MobiGnosis
Mobile app dev cycle
© 2013 MobiGnosis
Mobile app dev process
© 2013 MobiGnosis
Types of mobile applications
• Native app
• Runs on device OS and firmware
• Android, IOS
• Web app
• Browser app, web capable mobile devices
• HTML, javascript
• Hybrid app
• Combination of Native and Web apps
• Has cross platform compatibility
© 2013 MobiGnosis
Multiple devices and OS
Multiple Handsets - i Phone, Android Mobiles,
Blackberry, Nokia, Windows Mobile
Multiple Platforms - Android, IOS, Brew, J2ME,
Windows Mobile and Symbian.
© 2013 MobiGnosis
• Opera mini
• Google chrome
• Safari
• IE mobile browser
• Dolphin
• Skyfire
Popular mobile web browsers
© 2013 MobiGnosis
Mobile ecosystem
© 2013 MobiGnosis
• First impression
• Is anything confusing ?
• Does the app feel slow ?
• Where are you testing it ?
• Hardware device, network, OS version
• Does the app crash or freeze ?
• How’s the weather ?
Start testing….
© 2013 MobiGnosis
• Locate the icon on device home or app screen.
• Tap the icon to start the app.
• Examine the splash screen as the application loads.
• Once the app loads, stop and look at it carefully.
• Cluttered ? Confusing ? Lost ? Quick and easy ? Location and Privacy
data ?
Mobile apps at a glance
© 2013 MobiGnosis
• Installation/uninstallation
• download and delete
• Workflows and feature testing
• Functional – specs and requirements
• Data – different types of data
• Regression
• Performance – quick and responsive
• Localization – handle different langugaes
• Scenarios
• Credible usage stories and workflows
Mobile app testing approach
© 2013 MobiGnosis
• Device interactions (web, network, apps)
• Wifi, Cellular Network, apps, accessories
• Documentation review
• With in app
• Marketing material
Mobile app testing approach
© 2013 MobiGnosis
• Tap
• Double Tap
• Press
• Press and Drag
• Swipe
• Flick
• Shake
• Rotate
• Pinch
• Spread
Gesture Tour
© 2013 MobiGnosis
• Installation
• Application Start/Stop Behavior
• Application Credentials
• Interruptions – Voice calls
• Interruptions – SMS
• Autostart
• No disruption to key device applications (pre installed)
Testcase strategies
© 2013 MobiGnosis
Types of mobile app testing
• UI Testing – Color, menu, style
• Performance and stress – under low resources
• Usability testing
• Certification compliance testing
• Submission guidelines compliance testing
• Interruption testing – voice calls, sms, low memory notification
• Monkey testing
• Low network/no network
© 2013 MobiGnosis
• Singular Approach – one device, one language, one
carrier
• Proportional Approach – narrow combination
• Shotgun Approach – multiple combination
• Outsourced strategy – remote device services, personal
network
Platform test strategies
© 2013 MobiGnosis
Android app testing
© 2013 MobiGnosis
Android apps
• Managing the Activity lifecycle
• Start activity
• Pause and resume activity
• Stopping and restarting
• Recreating
• Fragments
• Nested activity
• Layouts
• Understand the android app – code walkthrough
© 2013 MobiGnosis
Android application life cycle
Activity
• In Android, each application is a process,called activity.
• Android (aka Dalvik VM) maintains an unique activity stack to
observe the status of process, and manage the memory.
• Life cycle of an activity is managed by Android OS, not by
application itself.
http://developer.android.com/training/basics/activity-
lifecycle/index.html
© 2013 MobiGnosis
Status of an activity
• Active - "Active" is the status that an activity is running.
• Paused - "Paused" means an activity is in the background.
• Stopped - The activity has already exit the screen, no other
action is running.
• Dead - The activity has been finished manually, or garbage
collected by system.
© 2013 MobiGnosis
Activity API
• ● OnCreate()
• ● OnStart()
• ● OnResume()
• ● OnPause()
• ● OnStop()
• ● OnRestart()
• ● OnDestroy()
© 2013 MobiGnosis
Service
• Four components in Android:
• Activity,
• Service,
• BroadcastReceiver,
• ContentProvider
• Except ContentProvider, the others main objects are running in the
main thread.
• The life cycle of Service is most persistent (longest).
https://marakana.com/static/slides/AndroidMainBuildingBlocks.html
#(1)
© 2013 MobiGnosis
Automation
Automation is a process, which includes the development of
scripts to run the testcases automatically with out manual
intervention and to log results.
• Rregression testing - automation.
• Repetitive testing and time consuming.
• Reduce time, cost. Increase productivity and test coverage
Why Automation ?
© 2013 MobiGnosis
Steps to automate
1. Understanding the application (Technology Used).
2. Choosing a suitable tool for the automation.
3. Identifying functions (like login, register new users).
4. Identification of the Scenarios (Test Cases) for automation.
5. Writing user defined functions for Unit functions and scenarios.
6. Adding verification fuctions (more the merrier).
7. Scenarios should be independent of eachother.
8. Combine all the scenarios and run end-end (test suites).
© 2013 MobiGnosis
Automation tools for Android based app
• Selenium - Android driver
• Installing android emulator and configuring
• Configuring webdriver apk in emulator
• Identifying objects
• Parameterization
• Implicit and explicit wait
• Do’s and don’ts with android driver
• Andriod test framework
https://code.google.com/p/selenium/wiki/AndroidDriver
© 2013 MobiGnosis
Robotium
• Is an open source test framework
• Robust automatic black-box test cases for Android
applications.
• Functional , system and acceptance test scenarios can be
automated.
• https://code.google.com/p/robotium/
© 2013 MobiGnosis
Thank You – Team MobiGnosis
© 2013 MobiGnosis
Ad

More Related Content

What's hot (20)

Mobile application testing tutorial
Mobile application testing tutorialMobile application testing tutorial
Mobile application testing tutorial
Lokesh Agrawal
 
Mobile Application Testing by Javed Ansari
Mobile Application Testing by Javed AnsariMobile Application Testing by Javed Ansari
Mobile Application Testing by Javed Ansari
Javed Ansari
 
Mobile Application Testing
Mobile Application TestingMobile Application Testing
Mobile Application Testing
Noor Orfahly
 
Mobile App Testing
Mobile App TestingMobile App Testing
Mobile App Testing
Geekit |Software Testing Services and Consultancy
 
Mobile Application Testing
Mobile Application TestingMobile Application Testing
Mobile Application Testing
SWAAM Tech
 
Mobile Application Testing
Mobile Application TestingMobile Application Testing
Mobile Application Testing
Ramakrishna Telapolu
 
Mobile App Testing Strategy
Mobile App Testing StrategyMobile App Testing Strategy
Mobile App Testing Strategy
Software Assurance LLC
 
Mobile App Testing Strategy by RapidValue Solutions
Mobile App Testing Strategy by RapidValue SolutionsMobile App Testing Strategy by RapidValue Solutions
Mobile App Testing Strategy by RapidValue Solutions
RapidValue
 
Mobile Automation with Appium
Mobile Automation with AppiumMobile Automation with Appium
Mobile Automation with Appium
Manoj Kumar Kumar
 
Basic Guide For Mobile Application Testing
Basic Guide For Mobile Application TestingBasic Guide For Mobile Application Testing
Basic Guide For Mobile Application Testing
Sourabh Kasliwal
 
Mobile application testing
Mobile application testingMobile application testing
Mobile application testing
Tharindra Jayamaha
 
Mobile Application Testing
Mobile Application Testing Mobile Application Testing
Mobile Application Testing
Shivaraj R
 
Mobile application testing
Mobile application testingMobile application testing
Mobile application testing
vodQA
 
Manual testing ppt
Manual testing pptManual testing ppt
Manual testing ppt
Santosh Maranabasari
 
Presentation on mobile app testing
Presentation on mobile app testingPresentation on mobile app testing
Presentation on mobile app testing
Uttam Shrestha
 
Mobile testing practices
Mobile testing practicesMobile testing practices
Mobile testing practices
Rakesh Jha
 
iOS Application Testing
iOS Application TestingiOS Application Testing
iOS Application Testing
Mreetyunjaya Daas
 
Software Testing
Software TestingSoftware Testing
Software Testing
Sengu Msc
 
Manual testing concepts course 1
Manual testing concepts course 1Manual testing concepts course 1
Manual testing concepts course 1
Raghu Kiran
 
Types of Software Testing | Edureka
Types of Software Testing | EdurekaTypes of Software Testing | Edureka
Types of Software Testing | Edureka
Edureka!
 
Mobile application testing tutorial
Mobile application testing tutorialMobile application testing tutorial
Mobile application testing tutorial
Lokesh Agrawal
 
Mobile Application Testing by Javed Ansari
Mobile Application Testing by Javed AnsariMobile Application Testing by Javed Ansari
Mobile Application Testing by Javed Ansari
Javed Ansari
 
Mobile Application Testing
Mobile Application TestingMobile Application Testing
Mobile Application Testing
Noor Orfahly
 
Mobile Application Testing
Mobile Application TestingMobile Application Testing
Mobile Application Testing
SWAAM Tech
 
Mobile App Testing Strategy by RapidValue Solutions
Mobile App Testing Strategy by RapidValue SolutionsMobile App Testing Strategy by RapidValue Solutions
Mobile App Testing Strategy by RapidValue Solutions
RapidValue
 
Mobile Automation with Appium
Mobile Automation with AppiumMobile Automation with Appium
Mobile Automation with Appium
Manoj Kumar Kumar
 
Basic Guide For Mobile Application Testing
Basic Guide For Mobile Application TestingBasic Guide For Mobile Application Testing
Basic Guide For Mobile Application Testing
Sourabh Kasliwal
 
Mobile Application Testing
Mobile Application Testing Mobile Application Testing
Mobile Application Testing
Shivaraj R
 
Mobile application testing
Mobile application testingMobile application testing
Mobile application testing
vodQA
 
Presentation on mobile app testing
Presentation on mobile app testingPresentation on mobile app testing
Presentation on mobile app testing
Uttam Shrestha
 
Mobile testing practices
Mobile testing practicesMobile testing practices
Mobile testing practices
Rakesh Jha
 
Software Testing
Software TestingSoftware Testing
Software Testing
Sengu Msc
 
Manual testing concepts course 1
Manual testing concepts course 1Manual testing concepts course 1
Manual testing concepts course 1
Raghu Kiran
 
Types of Software Testing | Edureka
Types of Software Testing | EdurekaTypes of Software Testing | Edureka
Types of Software Testing | Edureka
Edureka!
 

Similar to Mobile Application Testing Training Presentation (20)

03 - Membangun Aplikasi Mobile Berkualitas (Herman Tolle)
03 - Membangun Aplikasi Mobile Berkualitas (Herman Tolle)03 - Membangun Aplikasi Mobile Berkualitas (Herman Tolle)
03 - Membangun Aplikasi Mobile Berkualitas (Herman Tolle)
Lab Mobile Filkom UB
 
MobileApplicationTestingTypeofMobileapps.pptx
MobileApplicationTestingTypeofMobileapps.pptxMobileApplicationTestingTypeofMobileapps.pptx
MobileApplicationTestingTypeofMobileapps.pptx
preetsukhman1
 
Mobile Application testing
Mobile Application testingMobile Application testing
Mobile Application testing
Mukta Gupta
 
Mobile Testing : Brief OverView
Mobile Testing : Brief OverViewMobile Testing : Brief OverView
Mobile Testing : Brief OverView
G Srinivasan
 
Mobile Application Testing
Mobile Application TestingMobile Application Testing
Mobile Application Testing
Sun Technlogies
 
Addressing Mobile App Testing Challenges
Addressing Mobile App Testing ChallengesAddressing Mobile App Testing Challenges
Addressing Mobile App Testing Challenges
Lee Barnes
 
Mobile Application Testing af Frederik Carlier, Jamo Solutions
Mobile Application Testing af Frederik Carlier, Jamo SolutionsMobile Application Testing af Frederik Carlier, Jamo Solutions
Mobile Application Testing af Frederik Carlier, Jamo Solutions
InfinIT - Innovationsnetværket for it
 
Mobile App Testing: Importance, Strategies, and Best Practices
Mobile App Testing: Importance, Strategies, and Best PracticesMobile App Testing: Importance, Strategies, and Best Practices
Mobile App Testing: Importance, Strategies, and Best Practices
StudySection
 
HienVo_Mobile Testing_v.1.2
HienVo_Mobile Testing_v.1.2HienVo_Mobile Testing_v.1.2
HienVo_Mobile Testing_v.1.2
Hien Vo
 
Mobile Compatibility Testing at Astarios
Mobile Compatibility Testing at AstariosMobile Compatibility Testing at Astarios
Mobile Compatibility Testing at Astarios
Astarios
 
ATAGTR2017 Wearable App Testing
ATAGTR2017 Wearable App TestingATAGTR2017 Wearable App Testing
ATAGTR2017 Wearable App Testing
Agile Testing Alliance
 
The Essentials of Mobile App Testing and Monitoring
The Essentials of Mobile App Testing and MonitoringThe Essentials of Mobile App Testing and Monitoring
The Essentials of Mobile App Testing and Monitoring
MobilePundits
 
Mobile application-testing for shanethatech
Mobile application-testing for shanethatechMobile application-testing for shanethatech
Mobile application-testing for shanethatech
shanethatech
 
A Guided Approach to Testing - A Mobile First Strategy for your Enterprise!
A Guided Approach to Testing - A Mobile First Strategy for your Enterprise! A Guided Approach to Testing - A Mobile First Strategy for your Enterprise!
A Guided Approach to Testing - A Mobile First Strategy for your Enterprise!
Infostretch
 
Four best practices for performance testing mobile apps soasta and utopia
Four best practices for performance testing mobile apps   soasta and utopiaFour best practices for performance testing mobile apps   soasta and utopia
Four best practices for performance testing mobile apps soasta and utopia
SOASTA
 
Mobile app testing
Mobile app testingMobile app testing
Mobile app testing
sanpalan
 
Mobile testing
Mobile testingMobile testing
Mobile testing
sanpalan
 
Mobile testing and its part in testing tools
Mobile testing and its part in testing toolsMobile testing and its part in testing tools
Mobile testing and its part in testing tools
Kari Kakkonen
 
Automating things you didn't know you could automate
Automating things you didn't know you could automateAutomating things you didn't know you could automate
Automating things you didn't know you could automate
Lizzy Guido (she/her)
 
[TTT Meetup] Enhance mobile app testing with performance-centric strategies (...
[TTT Meetup] Enhance mobile app testing with performance-centric strategies (...[TTT Meetup] Enhance mobile app testing with performance-centric strategies (...
[TTT Meetup] Enhance mobile app testing with performance-centric strategies (...
NITHIN S.S
 
03 - Membangun Aplikasi Mobile Berkualitas (Herman Tolle)
03 - Membangun Aplikasi Mobile Berkualitas (Herman Tolle)03 - Membangun Aplikasi Mobile Berkualitas (Herman Tolle)
03 - Membangun Aplikasi Mobile Berkualitas (Herman Tolle)
Lab Mobile Filkom UB
 
MobileApplicationTestingTypeofMobileapps.pptx
MobileApplicationTestingTypeofMobileapps.pptxMobileApplicationTestingTypeofMobileapps.pptx
MobileApplicationTestingTypeofMobileapps.pptx
preetsukhman1
 
Mobile Application testing
Mobile Application testingMobile Application testing
Mobile Application testing
Mukta Gupta
 
Mobile Testing : Brief OverView
Mobile Testing : Brief OverViewMobile Testing : Brief OverView
Mobile Testing : Brief OverView
G Srinivasan
 
Mobile Application Testing
Mobile Application TestingMobile Application Testing
Mobile Application Testing
Sun Technlogies
 
Addressing Mobile App Testing Challenges
Addressing Mobile App Testing ChallengesAddressing Mobile App Testing Challenges
Addressing Mobile App Testing Challenges
Lee Barnes
 
Mobile App Testing: Importance, Strategies, and Best Practices
Mobile App Testing: Importance, Strategies, and Best PracticesMobile App Testing: Importance, Strategies, and Best Practices
Mobile App Testing: Importance, Strategies, and Best Practices
StudySection
 
HienVo_Mobile Testing_v.1.2
HienVo_Mobile Testing_v.1.2HienVo_Mobile Testing_v.1.2
HienVo_Mobile Testing_v.1.2
Hien Vo
 
Mobile Compatibility Testing at Astarios
Mobile Compatibility Testing at AstariosMobile Compatibility Testing at Astarios
Mobile Compatibility Testing at Astarios
Astarios
 
The Essentials of Mobile App Testing and Monitoring
The Essentials of Mobile App Testing and MonitoringThe Essentials of Mobile App Testing and Monitoring
The Essentials of Mobile App Testing and Monitoring
MobilePundits
 
Mobile application-testing for shanethatech
Mobile application-testing for shanethatechMobile application-testing for shanethatech
Mobile application-testing for shanethatech
shanethatech
 
A Guided Approach to Testing - A Mobile First Strategy for your Enterprise!
A Guided Approach to Testing - A Mobile First Strategy for your Enterprise! A Guided Approach to Testing - A Mobile First Strategy for your Enterprise!
A Guided Approach to Testing - A Mobile First Strategy for your Enterprise!
Infostretch
 
Four best practices for performance testing mobile apps soasta and utopia
Four best practices for performance testing mobile apps   soasta and utopiaFour best practices for performance testing mobile apps   soasta and utopia
Four best practices for performance testing mobile apps soasta and utopia
SOASTA
 
Mobile app testing
Mobile app testingMobile app testing
Mobile app testing
sanpalan
 
Mobile testing
Mobile testingMobile testing
Mobile testing
sanpalan
 
Mobile testing and its part in testing tools
Mobile testing and its part in testing toolsMobile testing and its part in testing tools
Mobile testing and its part in testing tools
Kari Kakkonen
 
Automating things you didn't know you could automate
Automating things you didn't know you could automateAutomating things you didn't know you could automate
Automating things you didn't know you could automate
Lizzy Guido (she/her)
 
[TTT Meetup] Enhance mobile app testing with performance-centric strategies (...
[TTT Meetup] Enhance mobile app testing with performance-centric strategies (...[TTT Meetup] Enhance mobile app testing with performance-centric strategies (...
[TTT Meetup] Enhance mobile app testing with performance-centric strategies (...
NITHIN S.S
 
Ad

Recently uploaded (20)

YSPH VMOC Special Report - Measles Outbreak Southwest US 4-30-2025.pptx
YSPH VMOC Special Report - Measles Outbreak  Southwest US 4-30-2025.pptxYSPH VMOC Special Report - Measles Outbreak  Southwest US 4-30-2025.pptx
YSPH VMOC Special Report - Measles Outbreak Southwest US 4-30-2025.pptx
Yale School of Public Health - The Virtual Medical Operations Center (VMOC)
 
Introduction to Vibe Coding and Vibe Engineering
Introduction to Vibe Coding and Vibe EngineeringIntroduction to Vibe Coding and Vibe Engineering
Introduction to Vibe Coding and Vibe Engineering
Damian T. Gordon
 
LDMMIA Reiki Master Spring 2025 Mini Updates
LDMMIA Reiki Master Spring 2025 Mini UpdatesLDMMIA Reiki Master Spring 2025 Mini Updates
LDMMIA Reiki Master Spring 2025 Mini Updates
LDM Mia eStudios
 
The ever evoilving world of science /7th class science curiosity /samyans aca...
The ever evoilving world of science /7th class science curiosity /samyans aca...The ever evoilving world of science /7th class science curiosity /samyans aca...
The ever evoilving world of science /7th class science curiosity /samyans aca...
Sandeep Swamy
 
Sinhala_Male_Names.pdf Sinhala_Male_Name
Sinhala_Male_Names.pdf Sinhala_Male_NameSinhala_Male_Names.pdf Sinhala_Male_Name
Sinhala_Male_Names.pdf Sinhala_Male_Name
keshanf79
 
Anti-Depressants pharmacology 1slide.pptx
Anti-Depressants pharmacology 1slide.pptxAnti-Depressants pharmacology 1slide.pptx
Anti-Depressants pharmacology 1slide.pptx
Mayuri Chavan
 
To study the nervous system of insect.pptx
To study the nervous system of insect.pptxTo study the nervous system of insect.pptx
To study the nervous system of insect.pptx
Arshad Shaikh
 
Metamorphosis: Life's Transformative Journey
Metamorphosis: Life's Transformative JourneyMetamorphosis: Life's Transformative Journey
Metamorphosis: Life's Transformative Journey
Arshad Shaikh
 
apa-style-referencing-visual-guide-2025.pdf
apa-style-referencing-visual-guide-2025.pdfapa-style-referencing-visual-guide-2025.pdf
apa-style-referencing-visual-guide-2025.pdf
Ishika Ghosh
 
How to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
How to Customize Your Financial Reports & Tax Reports With Odoo 17 AccountingHow to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
How to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
Celine George
 
Social Problem-Unemployment .pptx notes for Physiotherapy Students
Social Problem-Unemployment .pptx notes for Physiotherapy StudentsSocial Problem-Unemployment .pptx notes for Physiotherapy Students
Social Problem-Unemployment .pptx notes for Physiotherapy Students
DrNidhiAgarwal
 
Understanding P–N Junction Semiconductors: A Beginner’s Guide
Understanding P–N Junction Semiconductors: A Beginner’s GuideUnderstanding P–N Junction Semiconductors: A Beginner’s Guide
Understanding P–N Junction Semiconductors: A Beginner’s Guide
GS Virdi
 
One Hot encoding a revolution in Machine learning
One Hot encoding a revolution in Machine learningOne Hot encoding a revolution in Machine learning
One Hot encoding a revolution in Machine learning
momer9505
 
Exploring-Substances-Acidic-Basic-and-Neutral.pdf
Exploring-Substances-Acidic-Basic-and-Neutral.pdfExploring-Substances-Acidic-Basic-and-Neutral.pdf
Exploring-Substances-Acidic-Basic-and-Neutral.pdf
Sandeep Swamy
 
pulse ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulse
pulse  ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulsepulse  ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulse
pulse ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulse
sushreesangita003
 
Presentation of the MIPLM subject matter expert Erdem Kaya
Presentation of the MIPLM subject matter expert Erdem KayaPresentation of the MIPLM subject matter expert Erdem Kaya
Presentation of the MIPLM subject matter expert Erdem Kaya
MIPLM
 
Handling Multiple Choice Responses: Fortune Effiong.pptx
Handling Multiple Choice Responses: Fortune Effiong.pptxHandling Multiple Choice Responses: Fortune Effiong.pptx
Handling Multiple Choice Responses: Fortune Effiong.pptx
AuthorAIDNationalRes
 
2541William_McCollough_DigitalDetox.docx
2541William_McCollough_DigitalDetox.docx2541William_McCollough_DigitalDetox.docx
2541William_McCollough_DigitalDetox.docx
contactwilliamm2546
 
Presentation on Tourism Product Development By Md Shaifullar Rabbi
Presentation on Tourism Product Development By Md Shaifullar RabbiPresentation on Tourism Product Development By Md Shaifullar Rabbi
Presentation on Tourism Product Development By Md Shaifullar Rabbi
Md Shaifullar Rabbi
 
Biophysics Chapter 3 Methods of Studying Macromolecules.pdf
Biophysics Chapter 3 Methods of Studying Macromolecules.pdfBiophysics Chapter 3 Methods of Studying Macromolecules.pdf
Biophysics Chapter 3 Methods of Studying Macromolecules.pdf
PKLI-Institute of Nursing and Allied Health Sciences Lahore , Pakistan.
 
Introduction to Vibe Coding and Vibe Engineering
Introduction to Vibe Coding and Vibe EngineeringIntroduction to Vibe Coding and Vibe Engineering
Introduction to Vibe Coding and Vibe Engineering
Damian T. Gordon
 
LDMMIA Reiki Master Spring 2025 Mini Updates
LDMMIA Reiki Master Spring 2025 Mini UpdatesLDMMIA Reiki Master Spring 2025 Mini Updates
LDMMIA Reiki Master Spring 2025 Mini Updates
LDM Mia eStudios
 
The ever evoilving world of science /7th class science curiosity /samyans aca...
The ever evoilving world of science /7th class science curiosity /samyans aca...The ever evoilving world of science /7th class science curiosity /samyans aca...
The ever evoilving world of science /7th class science curiosity /samyans aca...
Sandeep Swamy
 
Sinhala_Male_Names.pdf Sinhala_Male_Name
Sinhala_Male_Names.pdf Sinhala_Male_NameSinhala_Male_Names.pdf Sinhala_Male_Name
Sinhala_Male_Names.pdf Sinhala_Male_Name
keshanf79
 
Anti-Depressants pharmacology 1slide.pptx
Anti-Depressants pharmacology 1slide.pptxAnti-Depressants pharmacology 1slide.pptx
Anti-Depressants pharmacology 1slide.pptx
Mayuri Chavan
 
To study the nervous system of insect.pptx
To study the nervous system of insect.pptxTo study the nervous system of insect.pptx
To study the nervous system of insect.pptx
Arshad Shaikh
 
Metamorphosis: Life's Transformative Journey
Metamorphosis: Life's Transformative JourneyMetamorphosis: Life's Transformative Journey
Metamorphosis: Life's Transformative Journey
Arshad Shaikh
 
apa-style-referencing-visual-guide-2025.pdf
apa-style-referencing-visual-guide-2025.pdfapa-style-referencing-visual-guide-2025.pdf
apa-style-referencing-visual-guide-2025.pdf
Ishika Ghosh
 
How to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
How to Customize Your Financial Reports & Tax Reports With Odoo 17 AccountingHow to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
How to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
Celine George
 
Social Problem-Unemployment .pptx notes for Physiotherapy Students
Social Problem-Unemployment .pptx notes for Physiotherapy StudentsSocial Problem-Unemployment .pptx notes for Physiotherapy Students
Social Problem-Unemployment .pptx notes for Physiotherapy Students
DrNidhiAgarwal
 
Understanding P–N Junction Semiconductors: A Beginner’s Guide
Understanding P–N Junction Semiconductors: A Beginner’s GuideUnderstanding P–N Junction Semiconductors: A Beginner’s Guide
Understanding P–N Junction Semiconductors: A Beginner’s Guide
GS Virdi
 
One Hot encoding a revolution in Machine learning
One Hot encoding a revolution in Machine learningOne Hot encoding a revolution in Machine learning
One Hot encoding a revolution in Machine learning
momer9505
 
Exploring-Substances-Acidic-Basic-and-Neutral.pdf
Exploring-Substances-Acidic-Basic-and-Neutral.pdfExploring-Substances-Acidic-Basic-and-Neutral.pdf
Exploring-Substances-Acidic-Basic-and-Neutral.pdf
Sandeep Swamy
 
pulse ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulse
pulse  ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulsepulse  ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulse
pulse ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulse
sushreesangita003
 
Presentation of the MIPLM subject matter expert Erdem Kaya
Presentation of the MIPLM subject matter expert Erdem KayaPresentation of the MIPLM subject matter expert Erdem Kaya
Presentation of the MIPLM subject matter expert Erdem Kaya
MIPLM
 
Handling Multiple Choice Responses: Fortune Effiong.pptx
Handling Multiple Choice Responses: Fortune Effiong.pptxHandling Multiple Choice Responses: Fortune Effiong.pptx
Handling Multiple Choice Responses: Fortune Effiong.pptx
AuthorAIDNationalRes
 
2541William_McCollough_DigitalDetox.docx
2541William_McCollough_DigitalDetox.docx2541William_McCollough_DigitalDetox.docx
2541William_McCollough_DigitalDetox.docx
contactwilliamm2546
 
Presentation on Tourism Product Development By Md Shaifullar Rabbi
Presentation on Tourism Product Development By Md Shaifullar RabbiPresentation on Tourism Product Development By Md Shaifullar Rabbi
Presentation on Tourism Product Development By Md Shaifullar Rabbi
Md Shaifullar Rabbi
 
Ad

Mobile Application Testing Training Presentation

  • 1. BEST PRACTICES Mobile App Testing www.mobignosis.com Author: Kavitha, Test Training Head, MobiGnosis © 2013 MobiGnosis
  • 2. • Is a software application designed to run on smartphones, tablets and mobile devices. • Application distribution platforms – appstore, googleplay • Designed and tested on emulators before the field testing • Ex. calender, contacts, email, weather, games, banking etc. Mobile application or mobile app © 2013 MobiGnosis
  • 3. Mobile application or mobile app … © 2013 MobiGnosis
  • 4. • Short dev cycle, rapid changes, multiple form factors. • Native, Web and Hybrid apps. • Multiple devices and OS. • Non functional – Security and performance. • Backward compatibility. • Popular mobile web browsers. • Network. • Graphics, Video, Audio. • Memory usage. • Usability . • What is coming next ?. Mobile App Challenges © 2013 MobiGnosis
  • 5. Mobile app dev cycle © 2013 MobiGnosis
  • 6. Mobile app dev process © 2013 MobiGnosis
  • 7. Types of mobile applications • Native app • Runs on device OS and firmware • Android, IOS • Web app • Browser app, web capable mobile devices • HTML, javascript • Hybrid app • Combination of Native and Web apps • Has cross platform compatibility © 2013 MobiGnosis
  • 8. Multiple devices and OS Multiple Handsets - i Phone, Android Mobiles, Blackberry, Nokia, Windows Mobile Multiple Platforms - Android, IOS, Brew, J2ME, Windows Mobile and Symbian. © 2013 MobiGnosis
  • 9. • Opera mini • Google chrome • Safari • IE mobile browser • Dolphin • Skyfire Popular mobile web browsers © 2013 MobiGnosis
  • 11. • First impression • Is anything confusing ? • Does the app feel slow ? • Where are you testing it ? • Hardware device, network, OS version • Does the app crash or freeze ? • How’s the weather ? Start testing…. © 2013 MobiGnosis
  • 12. • Locate the icon on device home or app screen. • Tap the icon to start the app. • Examine the splash screen as the application loads. • Once the app loads, stop and look at it carefully. • Cluttered ? Confusing ? Lost ? Quick and easy ? Location and Privacy data ? Mobile apps at a glance © 2013 MobiGnosis
  • 13. • Installation/uninstallation • download and delete • Workflows and feature testing • Functional – specs and requirements • Data – different types of data • Regression • Performance – quick and responsive • Localization – handle different langugaes • Scenarios • Credible usage stories and workflows Mobile app testing approach © 2013 MobiGnosis
  • 14. • Device interactions (web, network, apps) • Wifi, Cellular Network, apps, accessories • Documentation review • With in app • Marketing material Mobile app testing approach © 2013 MobiGnosis
  • 15. • Tap • Double Tap • Press • Press and Drag • Swipe • Flick • Shake • Rotate • Pinch • Spread Gesture Tour © 2013 MobiGnosis
  • 16. • Installation • Application Start/Stop Behavior • Application Credentials • Interruptions – Voice calls • Interruptions – SMS • Autostart • No disruption to key device applications (pre installed) Testcase strategies © 2013 MobiGnosis
  • 17. Types of mobile app testing • UI Testing – Color, menu, style • Performance and stress – under low resources • Usability testing • Certification compliance testing • Submission guidelines compliance testing • Interruption testing – voice calls, sms, low memory notification • Monkey testing • Low network/no network © 2013 MobiGnosis
  • 18. • Singular Approach – one device, one language, one carrier • Proportional Approach – narrow combination • Shotgun Approach – multiple combination • Outsourced strategy – remote device services, personal network Platform test strategies © 2013 MobiGnosis
  • 19. Android app testing © 2013 MobiGnosis
  • 20. Android apps • Managing the Activity lifecycle • Start activity • Pause and resume activity • Stopping and restarting • Recreating • Fragments • Nested activity • Layouts • Understand the android app – code walkthrough © 2013 MobiGnosis
  • 21. Android application life cycle Activity • In Android, each application is a process,called activity. • Android (aka Dalvik VM) maintains an unique activity stack to observe the status of process, and manage the memory. • Life cycle of an activity is managed by Android OS, not by application itself. http://developer.android.com/training/basics/activity- lifecycle/index.html © 2013 MobiGnosis
  • 22. Status of an activity • Active - "Active" is the status that an activity is running. • Paused - "Paused" means an activity is in the background. • Stopped - The activity has already exit the screen, no other action is running. • Dead - The activity has been finished manually, or garbage collected by system. © 2013 MobiGnosis
  • 23. Activity API • ● OnCreate() • ● OnStart() • ● OnResume() • ● OnPause() • ● OnStop() • ● OnRestart() • ● OnDestroy() © 2013 MobiGnosis
  • 24. Service • Four components in Android: • Activity, • Service, • BroadcastReceiver, • ContentProvider • Except ContentProvider, the others main objects are running in the main thread. • The life cycle of Service is most persistent (longest). https://marakana.com/static/slides/AndroidMainBuildingBlocks.html #(1) © 2013 MobiGnosis
  • 25. Automation Automation is a process, which includes the development of scripts to run the testcases automatically with out manual intervention and to log results. • Rregression testing - automation. • Repetitive testing and time consuming. • Reduce time, cost. Increase productivity and test coverage Why Automation ? © 2013 MobiGnosis
  • 26. Steps to automate 1. Understanding the application (Technology Used). 2. Choosing a suitable tool for the automation. 3. Identifying functions (like login, register new users). 4. Identification of the Scenarios (Test Cases) for automation. 5. Writing user defined functions for Unit functions and scenarios. 6. Adding verification fuctions (more the merrier). 7. Scenarios should be independent of eachother. 8. Combine all the scenarios and run end-end (test suites). © 2013 MobiGnosis
  • 27. Automation tools for Android based app • Selenium - Android driver • Installing android emulator and configuring • Configuring webdriver apk in emulator • Identifying objects • Parameterization • Implicit and explicit wait • Do’s and don’ts with android driver • Andriod test framework https://code.google.com/p/selenium/wiki/AndroidDriver © 2013 MobiGnosis
  • 28. Robotium • Is an open source test framework • Robust automatic black-box test cases for Android applications. • Functional , system and acceptance test scenarios can be automated. • https://code.google.com/p/robotium/ © 2013 MobiGnosis
  • 29. Thank You – Team MobiGnosis © 2013 MobiGnosis