SlideShare une entreprise Scribd logo
1  sur  22
Learnings –
Mobile Apps Testing
The World of Mobile Apps
Native


         Native: An app build purely
         using the components build
         using the underlying platform
         e.g. objective C, Java

         Native app examples: Calendar,
         Calculator
Hybrid

         Hybrid: An app build using
         combination of HTML 5 with the
          native components.This approach
          helps in making the app platform
         independent in some Way.
         Frameworks based on it
         Calatrava, PhoneGap

         e.g. LinkedIn app, Facebook app
Mobile Web

             It’s a web site which run on Mobile
             phones.

             Many companies go for a mobile
             web instead of building an app as
             its platform independent.

             e.g. m.timesofindia.com,
             m.facebook.com
Challenges in Testing Mobile apps

  Number of Devices & OS versions (Hardware configuration)
    Display density
    Different Browsers
    Network connections
    Installation issues
Challenges in Testing Mobile apps

  Simulating real life scenarios
                                   •   Call Interrupts
                                   •   Low Battery
                                   •   Alarms
                                   •   Network Issues
Challenges in Testing Mobile apps

                          •   Accessibility
  Usability

                          •   Identity

                          •   Navigation

                          •   Content
Challenges in Testing Mobile apps
    Automation                              Developmental
                                            Practices
                 Tools




What to Automate???
                         Effort v/s Value
Non Functional Testing
Key Learnings
Ensure coverage on various devices
                      Select a set of
                      representative devices

                      Test End to End Flow on
                      each device

                      Extensively use Simulators
Ensure testing of real life scenarios


                     Apps can behave erratically
                     when
                     -Multiple process run in the
                     background
                     -Hardware is incompatible
                     -Memory Warnings are thrown
Constant Monitoring of Device Logs


                      Uncover potential problems
                      before they occur.

                      Extremely helpful to understand
                      the API calls the app makes
Showcase Tools

                 IOS – Reflections
                 Android- Android Projector

                 Extremely useful tools to
                 demo your app to clients
Automation Tools

                   Frank
                   Calabash
                   MonkeyTalk
                   Sikuili
                   UIAutomation
Automation Tools

                   Robotium
                   Calabash
                   MonkeyTalk
                   Sikuili
                   Native Driver
                   Android Instrumentation
Automation Tools

                   Android Driver
                   iPhone Driver
                   Watir
Automation Tools

                   MobiTest
                   Google Page Speed
                   Load Runner
                   Jmeter
Key Learning’s

  Use simulators to get the breadth of devices tested.
  Testing on different Display density mobiles
  Keep an eye on smaller details as well
  Simulating real life scenarios
  Constant monitoring of device logs while testing
  Selective automation on Devices/simulators
  Showcase tools
How can we help?
    ThoughtWorks is a global custom software solutions consultancy trusted by
    many of the world’s leading businesses with their most complex and critical
    systems. We deliver consulting grounded in delivery expertise, build custom
      applications and help organisations across all market sectors to drive IT
               efficiency – working to an exceptionally high standard.




                                        Contact us
                     Vikrant.g.chauhan@thoughtworks.com
                          dubinsky@thoughtworks.com




Private and Confidential. © 2012 ThoughtWorks. All rights reserved.

Contenu connexe

Tendances

Programming skills for test automation
Programming skills for test automationProgramming skills for test automation
Programming skills for test automation
Romania Testing
 
Agile Testing Pasadena JUG Aug2009
Agile Testing Pasadena JUG Aug2009Agile Testing Pasadena JUG Aug2009
Agile Testing Pasadena JUG Aug2009
Grig Gheorghiu
 

Tendances (19)

Programming skills for test automation
Programming skills for test automationProgramming skills for test automation
Programming skills for test automation
 
Automation testing introduction for FujiNet
Automation testing introduction for FujiNetAutomation testing introduction for FujiNet
Automation testing introduction for FujiNet
 
Testing Frameworks
Testing FrameworksTesting Frameworks
Testing Frameworks
 
Software testing tools (free and open source)
Software testing tools (free and open source)Software testing tools (free and open source)
Software testing tools (free and open source)
 
Introduction to Automation Testing
Introduction to Automation TestingIntroduction to Automation Testing
Introduction to Automation Testing
 
Test automation methodologies
Test automation methodologiesTest automation methodologies
Test automation methodologies
 
Test automation
Test automationTest automation
Test automation
 
Practical Software Testing Tools
Practical Software Testing ToolsPractical Software Testing Tools
Practical Software Testing Tools
 
Automation Testing
Automation TestingAutomation Testing
Automation Testing
 
Manual testing
Manual testingManual testing
Manual testing
 
Top ten software testing tools
Top ten software testing toolsTop ten software testing tools
Top ten software testing tools
 
Test Automation Best Practices (with SOA test approach)
Test Automation Best Practices (with SOA test approach)Test Automation Best Practices (with SOA test approach)
Test Automation Best Practices (with SOA test approach)
 
Developing a test automation strategy by Brian Bayer
Developing a test automation strategy by Brian BayerDeveloping a test automation strategy by Brian Bayer
Developing a test automation strategy by Brian Bayer
 
Software test automation_overview
Software test automation_overviewSoftware test automation_overview
Software test automation_overview
 
Testing automation in agile environment
Testing automation in agile environmentTesting automation in agile environment
Testing automation in agile environment
 
Types of test tools
Types of test toolsTypes of test tools
Types of test tools
 
Test driven development
Test driven developmentTest driven development
Test driven development
 
Agile Testing Pasadena JUG Aug2009
Agile Testing Pasadena JUG Aug2009Agile Testing Pasadena JUG Aug2009
Agile Testing Pasadena JUG Aug2009
 
Unit tests benefits
Unit tests benefitsUnit tests benefits
Unit tests benefits
 

En vedette

ICT for Automotive Industry
ICT for Automotive IndustryICT for Automotive Industry
ICT for Automotive Industry
Interlatin
 

En vedette (13)

Automation Frame works Instruction Sheet
Automation Frame works Instruction SheetAutomation Frame works Instruction Sheet
Automation Frame works Instruction Sheet
 
Automated Testing vs Manual Testing
Automated Testing vs Manual TestingAutomated Testing vs Manual Testing
Automated Testing vs Manual Testing
 
ICT for Automotive Industry
ICT for Automotive IndustryICT for Automotive Industry
ICT for Automotive Industry
 
Arjuna - Reinventing the Test Automation Wheels
Arjuna - Reinventing the Test Automation WheelsArjuna - Reinventing the Test Automation Wheels
Arjuna - Reinventing the Test Automation Wheels
 
13 Test Automation Practices You Should be Afraid Of
13 Test Automation Practices You Should be Afraid Of13 Test Automation Practices You Should be Afraid Of
13 Test Automation Practices You Should be Afraid Of
 
Tw specifications for-testing1
Tw specifications for-testing1Tw specifications for-testing1
Tw specifications for-testing1
 
Specifications test automation pyramid public
Specifications test automation pyramid   publicSpecifications test automation pyramid   public
Specifications test automation pyramid public
 
Need for automation testing
Need for automation testingNeed for automation testing
Need for automation testing
 
Create the Future - Innovations in Testing
Create the Future - Innovations in TestingCreate the Future - Innovations in Testing
Create the Future - Innovations in Testing
 
Say NO To (More) Selenium Tests
Say NO To (More) Selenium TestsSay NO To (More) Selenium Tests
Say NO To (More) Selenium Tests
 
Introduction to Test Automation
Introduction to Test AutomationIntroduction to Test Automation
Introduction to Test Automation
 
Test Automation - Principles and Practices
Test Automation - Principles and PracticesTest Automation - Principles and Practices
Test Automation - Principles and Practices
 
How to be an awesome test automation professional
How to be an awesome test automation professionalHow to be an awesome test automation professional
How to be an awesome test automation professional
 

Similaire à Learning's from mobile testing

Velocity2013 mobile ci_intuit
Velocity2013 mobile ci_intuitVelocity2013 mobile ci_intuit
Velocity2013 mobile ci_intuit
Tina Su
 
Velocity2013 mobile ci_intuit
Velocity2013 mobile ci_intuitVelocity2013 mobile ci_intuit
Velocity2013 mobile ci_intuit
Tina Su
 
2012 mobile testingsummit-moet
2012 mobile testingsummit-moet2012 mobile testingsummit-moet
2012 mobile testingsummit-moet
Eing Ong
 
Jerry Romanek series mobile development 2012 year end review
Jerry Romanek series   mobile development 2012 year end reviewJerry Romanek series   mobile development 2012 year end review
Jerry Romanek series mobile development 2012 year end review
Leigh Williamson
 
2012 java one-con3648
2012 java one-con36482012 java one-con3648
2012 java one-con3648
Eing Ong
 
Mobile testingartifacts
Mobile testingartifactsMobile testingartifacts
Mobile testingartifacts
Pragya Rastogi
 
Mobile applications and automation testing
Mobile applications and automation testingMobile applications and automation testing
Mobile applications and automation testing
bdipesh
 

Similaire à Learning's from mobile testing (20)

Learnings from Mobile Application Testing
Learnings from Mobile Application TestingLearnings from Mobile Application Testing
Learnings from Mobile Application Testing
 
Velocity Conference: Increasing Speed To Market In Mobile Development Through...
Velocity Conference: Increasing Speed To Market In Mobile Development Through...Velocity Conference: Increasing Speed To Market In Mobile Development Through...
Velocity Conference: Increasing Speed To Market In Mobile Development Through...
 
Velocity2013 mobile ci_intuit
Velocity2013 mobile ci_intuitVelocity2013 mobile ci_intuit
Velocity2013 mobile ci_intuit
 
Speed to Market in Mobile Development
Speed to Market in Mobile DevelopmentSpeed to Market in Mobile Development
Speed to Market in Mobile Development
 
Velocity2013 mobile ci_intuit
Velocity2013 mobile ci_intuitVelocity2013 mobile ci_intuit
Velocity2013 mobile ci_intuit
 
2012 mobile testingsummit-moet
2012 mobile testingsummit-moet2012 mobile testingsummit-moet
2012 mobile testingsummit-moet
 
Jerry Romanek series mobile development 2012 year end review
Jerry Romanek series   mobile development 2012 year end reviewJerry Romanek series   mobile development 2012 year end review
Jerry Romanek series mobile development 2012 year end review
 
Droid con slides 2013 mobileci-v1.0
Droid con slides 2013  mobileci-v1.0Droid con slides 2013  mobileci-v1.0
Droid con slides 2013 mobileci-v1.0
 
100 effective software testing tools that boost your Testing
100 effective software testing tools that boost your Testing100 effective software testing tools that boost your Testing
100 effective software testing tools that boost your Testing
 
Mobile applications and automation testing
Mobile applications and automation testingMobile applications and automation testing
Mobile applications and automation testing
 
Mobile Application Testing
Mobile Application TestingMobile Application Testing
Mobile Application Testing
 
Mobile Application Testing
Mobile Application Testing Mobile Application Testing
Mobile Application Testing
 
IBM Innovate DevOps for Mobile Apps
IBM Innovate DevOps for Mobile Apps IBM Innovate DevOps for Mobile Apps
IBM Innovate DevOps for Mobile Apps
 
2012 java one-con3648
2012 java one-con36482012 java one-con3648
2012 java one-con3648
 
Mobile testingartifacts
Mobile testingartifactsMobile testingartifacts
Mobile testingartifacts
 
Experitest-Infosys Co-Webinar on Mobile Continuous Integration
Experitest-Infosys Co-Webinar on Mobile Continuous IntegrationExperitest-Infosys Co-Webinar on Mobile Continuous Integration
Experitest-Infosys Co-Webinar on Mobile Continuous Integration
 
Mobile applications and automation testing
Mobile applications and automation testingMobile applications and automation testing
Mobile applications and automation testing
 
Windows Phone
Windows PhoneWindows Phone
Windows Phone
 
Learn mobile app testing in simple way
Learn mobile app testing in simple way Learn mobile app testing in simple way
Learn mobile app testing in simple way
 
IBM Presentation for Mobile Developer Summit India
IBM Presentation for Mobile Developer Summit IndiaIBM Presentation for Mobile Developer Summit India
IBM Presentation for Mobile Developer Summit India
 

Dernier

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Dernier (20)

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 

Learning's from mobile testing

  • 2. The World of Mobile Apps
  • 3. Native Native: An app build purely using the components build using the underlying platform e.g. objective C, Java Native app examples: Calendar, Calculator
  • 4. Hybrid Hybrid: An app build using combination of HTML 5 with the native components.This approach helps in making the app platform independent in some Way. Frameworks based on it Calatrava, PhoneGap e.g. LinkedIn app, Facebook app
  • 5. Mobile Web It’s a web site which run on Mobile phones. Many companies go for a mobile web instead of building an app as its platform independent. e.g. m.timesofindia.com, m.facebook.com
  • 6. Challenges in Testing Mobile apps Number of Devices & OS versions (Hardware configuration) Display density Different Browsers Network connections Installation issues
  • 7. Challenges in Testing Mobile apps Simulating real life scenarios • Call Interrupts • Low Battery • Alarms • Network Issues
  • 8. Challenges in Testing Mobile apps • Accessibility Usability • Identity • Navigation • Content
  • 9. Challenges in Testing Mobile apps Automation Developmental Practices Tools What to Automate??? Effort v/s Value
  • 12. Ensure coverage on various devices Select a set of representative devices Test End to End Flow on each device Extensively use Simulators
  • 13. Ensure testing of real life scenarios Apps can behave erratically when -Multiple process run in the background -Hardware is incompatible -Memory Warnings are thrown
  • 14. Constant Monitoring of Device Logs Uncover potential problems before they occur. Extremely helpful to understand the API calls the app makes
  • 15. Showcase Tools IOS – Reflections Android- Android Projector Extremely useful tools to demo your app to clients
  • 16. Automation Tools Frank Calabash MonkeyTalk Sikuili UIAutomation
  • 17. Automation Tools Robotium Calabash MonkeyTalk Sikuili Native Driver Android Instrumentation
  • 18. Automation Tools Android Driver iPhone Driver Watir
  • 19. Automation Tools MobiTest Google Page Speed Load Runner Jmeter
  • 20. Key Learning’s Use simulators to get the breadth of devices tested. Testing on different Display density mobiles Keep an eye on smaller details as well Simulating real life scenarios Constant monitoring of device logs while testing Selective automation on Devices/simulators Showcase tools
  • 21.
  • 22. How can we help? ThoughtWorks is a global custom software solutions consultancy trusted by many of the world’s leading businesses with their most complex and critical systems. We deliver consulting grounded in delivery expertise, build custom applications and help organisations across all market sectors to drive IT efficiency – working to an exceptionally high standard. Contact us Vikrant.g.chauhan@thoughtworks.com dubinsky@thoughtworks.com Private and Confidential. © 2012 ThoughtWorks. All rights reserved.

Notes de l'éditeur

  1. Hi we are going to share experiences and learning we had while working with Mobile Apps.
  2. There are various ways to categorize the mobile apps based on its genre. But we would like to present the categorization of mobile apps based on the development approach taken.
  3. Hybrid: An app build using combination of HTML 5 with the native components.This approach helps in making the app platform independent in some way. Frameworks based on itCalatrava, PhoneGape.g. LinkedIn app, Facebook app
  4. Mobile Web: It’s a web site which run on Mobile phones. Many companies go for a mobile web instead of building an app as its platform independent.e.g. m.timesofindia.com, m.facebook.com
  5. There are various factors that need to be thought before we start with mobile testing350 diff Android based devices +diff osversions+densityThere are numerous phones vendors with different OS’s and their custom implementation (specially Android)Also there are various versions of OS’s availableBrowsers -- Display Density IssuesThe various network connection types supported by the phone e.g. 3G, 4G, WiFi, which affects the user interaction depending on page load. We should strive for optimal load time on every N/WInstallation issues: Not obvious :Provisionong profile like size of app, if anti virus is running
  6. There are many things that can happen while using the app like- When a call comes does the app pause and how it resumes after call completion?-  When battery is low does the app pause and how it resumes after call completion?If multiple apps are running together and we go back to our app it should resume. Alert user if no network…
  7. Apple HIG Compliance.. [Density,screen sizes]Icons –tappable AreaRecovery from unwanted statesError Handling
  8. With automation we always have questions:What to automate ?How much to automate ?Automation is also heavily dependent on the maturity of the tool.Effort v/s ValueNot all apps/projects really follow the standard practice of assigning ids/Accessibility labels to all objects on app making it time consuming to identify and do operations on it.
  9. Performance testing: This is a very important aspect of Mobile apps and it has 2 components to it:Server sideClient side. How quick the UI loads, how easy the navigations are?Security Testing: Many apps specially android assign permissions. These can be used by hackers and get access to your phone.There are many more Non Functions things you can test if required like accessibility, efficiency,
  10. The approach towards identifying the devices & Strategy to ensure coverage across the devicesSelected devices based on Screen size,density, OS versions, slide-in keyboardWherever device not available use Simulators and Emulators e.g we Emulator for Jellybeans. Simulator for IOS 5Simultors- Real life scenarios
  11. People can use the phone in different ways ….Apps can behave erratically when multiple process run in background apps crashHardware incompatibilityMemory Limit
  12. One practice that we followed always as to view the logs while testing the app it helped us uncover potential problems and identify exact problems.e.g. JS failing on iOS
  13. Mention tool namesPeople can use the phone in different ways ….Apps can behave erratically when multiple process run in background apps crashHardware incmpatibility