SlideShare uma empresa Scribd logo
1 de 24
© Sun Technologies Inc. 1
MOBILE APPLICATION TESTING
MOBILE APPLICATION TESTING
• is a process by which a developed application of a mobile
device is tested for its functionality , consistency and
usability.
• Application distribution platforms-app store, google play
• Designed and tested on emulators before the field testing
• Ex calendar , contacts, email, games …..
© Sun Technologies Inc. 2
© Sun Technologies Inc. 3
Mobile App Challenges
Mobile application testing is a quite different which
involves many things like,
• Wide varieties of mobile devices
• Different mobile operating system
• Different mobile network operators
• Input method
• Memory usage
• Usability
© Sun Technologies Inc. 4
Mobile Platforms
• Android
• iOS
• Symbian(Nokia)
• J2ME
• RIM(Blackberry)
• BREW
• Windows Mobile
• Bada(Samsung)
© Sun Technologies Inc. 5
Types of mobile devices
• Candy bar phones
• Touch Screen phones
• Slider phones
• Clamshell devices(flip phones)
• Phones with QWERTY keyboard
© Sun Technologies Inc. 6
Types of mobile application
Native apps
•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 comptability
© Sun Technologies Inc. 7
Mobile App Testing Approach
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 languages
Scenarios
•Credible usage stories and workflows
Device interactions(web , network , apps)
•Wi-Fi, Cellular Network ,apps
© Sun Technologies Inc. 8
• Installation
• Application Start/stop Behavior
• Application Credentials
• Interruptions-Voice calls
• Interruptions-SMS
• Auto start
• No disruption to key device applications
Testcase Strategies
© Sun Technologies Inc. 9
• UI testing-color ,menu , style
• Performance and stress-under low resources
• compatibility testing
• Interruption testing-voice calls,sms,low memory
notification
• Adhoc testing
• Low network/no network Usability testing
• Security testing
Types Of Mobile App Testing
© Sun Technologies Inc. 10
• Automation is a process ,which includes the development of
scripts to run the test cases automatically with out manual
intervention and to log results.
Why Automation?
• Manual Testing of all workflow ,all negative scenarios is
time and cost consuming
• It does not require human intervention.
• It increases speed of test execution and test coverage.
Automation
© Sun Technologies Inc. 11
Aagfyhjc
sccAAuto
Growing
mobile apps
Agile
development
cycle
Mobile
Landscape
Complexities
Globalization:
Apps
releasing in
multiple
languages
Need of Automation in Mobile Testing
Automation
Is the key
© Sun Technologies Inc.
Mobile Automation Tools
12
© Sun Technologies Inc. 13
RIGHT TOOL
Preference
to free/paid
tool
Which app
to automate:
Android/iOS
or both?
Time Crunch
Flexibility of
tester with
the scripting
languages
Community
support
First
party/Third
Party
Choose The Right Tool
© Sun Technologies Inc. 14
Monkey
Runner
Android app only Basic UI testing Time Crunch
Low
effort/investment
UI
Automator
Android app only
Intensive UI
testing.
Don’t want to use
third party tool.
Have time to
build a stable
automation
solution.
Monkey
Talk
Android & iOS
app
app doesn’t
supports web
view.
Image
comparison
requirement.
Can install agents
in your app / can
invest money per
month
Appium
Android & iOS
app
Intensive UI
testing
Don’t have code /
Don’t want to
install any agent.
Stable
automation
solution (free) for
suite of apps
Use case scenario
© Sun Technologies Inc. 14
Key Features
Components of this tool
• Provides an API for writing programs to control an
Android device/emulator.
• Can be used for both functional and UI testing.
• Entirely based on coordinates based automation.
• MonkeyRunner
• MonkeyDevice
• MonkeyImage
Monkey Runner
Monkey Runner
© Sun Technologies Inc. 16
Strengths
Easy to set-up.
Test multiple devices at a
time.
Appropriate for regression
testing of a basic app.
Random testing.
Limitations
Only supports Android.
Different script for different
device.
Even slight change in UI
breaks the script.
UI Automator
Key Features
© Sun Technologies Inc. 17
• It is a java library containing API’s to create customized
functional UI tests.
• Integrated with Google’s own Android development IDE
• Entirely based on object based automation.
Components of this tool
• Uiautomatorviewer
• API framework
© Sun Technologies Inc. 18
Strengths
One of the best tools for
testing android apps.
Comes bundled with
Android Studio IDE.
Appropriate for UI testing
of any android app.
Limitations
Only supports Android
(versions > 4.3).
Lack of support for Web
view.
Lack methods for some
gestures like long press on
an element.
UI Automator
Monkey Talk
© Sun Technologies Inc. 19
• MonkeyTalk IDE
• MonkeyTalk Agent
• It is an integrated environment for recording, customizing
and managing test suites.
• Open source, eclipse based IDE.
• Used for automation of both iOS & Android apps.
• Limited features are available in the free version of this
tool. Paid version is costly.
Components of this tool
Key Features
Monkey Talk
© Sun Technologies Inc. 20
Strengths
Supports both iOS and Android
apps.
Test multiple devices at a time.
Open source
Image comparison is supported
Limitations
The essential features are available
in the paid version.
Doesn’t support web view.
Agent needs to be installed in the
app which needs to be tested.
Limited Xpath support.
APPIUM
© Sun Technologies Inc. 21
• It is a HTTP server that takes HTTP commands from the
test script and executes the command on the device.
• Based on WebDriver JSON protocol.
• Used for automation of both iOS & Android apps.
• Totally derived from selenium code + mobile gesture
handling
Key Features
Components of this tool
• Appium Server
• Appium Client libraries
• Appium Inspector
APPIUM
© Sun Technologies Inc. 22
Strengths
Supports both iOS and Android apps.
One of the most versatile tools for testing
any native, hybrid and mobile web apps.
Doesn’t require code access or
recompiling the app.
Test multiple android devices at a time.
Limitations
No support for parallel test for iOS apps.
No support for Android version < 4.1
(selendroid can be used)
No Image comparison.
No option to switch off network
connection.
The Process: Recipe of Success
© Sun Technologies Inc. 23
Know your
mobile app.
Identify the
right
automation
tool.
Write test
script to
cover all the
testing
workflows
in the app.
Run the
script for
the test
pass.
Next
Release:
Update the
script.
Repeat until
the app
lives on the
app store.
Test cases which are not suitable for automation are as
follows:
• Test cases that are newly designed and not executed manually at
least once
• Test cases for which the requirements are changing frequently
• Test cases which are executed on adhoc basis
24© Sun Technologies Inc.

Mais conteúdo relacionado

Mais procurados

Mobile Testing Service Desk_Own.ppt
Mobile Testing Service Desk_Own.pptMobile Testing Service Desk_Own.ppt
Mobile Testing Service Desk_Own.ppt
QA Programmer
 

Mais procurados (20)

Mobile Application Testing Strategy
Mobile Application Testing StrategyMobile Application Testing Strategy
Mobile Application Testing Strategy
 
Mobile application testing
Mobile application testingMobile application testing
Mobile application testing
 
Mobile testing practices
Mobile testing practicesMobile testing practices
Mobile testing practices
 
Mobile App Testing Strategy
Mobile App Testing StrategyMobile App Testing Strategy
Mobile App Testing Strategy
 
Basic Guide For Mobile Application Testing
Basic Guide For Mobile Application TestingBasic Guide For Mobile Application Testing
Basic Guide For Mobile Application Testing
 
Mobile App Testing
Mobile App TestingMobile App Testing
Mobile App Testing
 
Mobile Testing Service Desk_Own.ppt
Mobile Testing Service Desk_Own.pptMobile Testing Service Desk_Own.ppt
Mobile Testing Service Desk_Own.ppt
 
Mobile application testing
Mobile application testingMobile application testing
Mobile application testing
 
Mobile Testing with Appium
Mobile Testing with AppiumMobile Testing with Appium
Mobile Testing with Appium
 
Introduction & Manual Testing
Introduction & Manual TestingIntroduction & Manual Testing
Introduction & Manual Testing
 
Types of Software Testing | Edureka
Types of Software Testing | EdurekaTypes of Software Testing | Edureka
Types of Software Testing | Edureka
 
Manual testing ppt
Manual testing pptManual testing ppt
Manual testing ppt
 
Manual testing
Manual testingManual testing
Manual testing
 
Presentation on mobile app testing
Presentation on mobile app testingPresentation on mobile app testing
Presentation on mobile app testing
 
Functional Testing Tutorial | Edureka
Functional Testing Tutorial | EdurekaFunctional Testing Tutorial | Edureka
Functional Testing Tutorial | Edureka
 
Automation Testing
Automation TestingAutomation Testing
Automation Testing
 
Basic Guide to Manual Testing
Basic Guide to Manual TestingBasic Guide to Manual Testing
Basic Guide to Manual Testing
 
Browser_Stack_Intro
Browser_Stack_IntroBrowser_Stack_Intro
Browser_Stack_Intro
 
A Taste of Exploratory Testing
A Taste of Exploratory TestingA Taste of Exploratory Testing
A Taste of Exploratory Testing
 
Hands-On Mobile App Testing
Hands-On Mobile App TestingHands-On Mobile App Testing
Hands-On Mobile App Testing
 

Destaque

Efficiency of mobile application testing with effectiveness of tools
Efficiency of mobile application testing with effectiveness of toolsEfficiency of mobile application testing with effectiveness of tools
Efficiency of mobile application testing with effectiveness of tools
Indium Software
 
Software Quality Framework Introduction
Software Quality Framework IntroductionSoftware Quality Framework Introduction
Software Quality Framework Introduction
Don Hough
 
Software quality requirements and evaluation
Software quality requirements and evaluationSoftware quality requirements and evaluation
Software quality requirements and evaluation
Eric Lai
 
Mobile App Testing Checklist
Mobile App Testing ChecklistMobile App Testing Checklist
Mobile App Testing Checklist
Manoj Lonar
 

Destaque (20)

Selenium training
Selenium trainingSelenium training
Selenium training
 
Monkey Talk - кросс-платформенное средство автоматизации тестирования мобильн...
Monkey Talk - кросс-платформенное средство автоматизации тестирования мобильн...Monkey Talk - кросс-платформенное средство автоматизации тестирования мобильн...
Monkey Talk - кросс-платформенное средство автоматизации тестирования мобильн...
 
Ch04
Ch04Ch04
Ch04
 
Efficiency of mobile application testing with effectiveness of tools
Efficiency of mobile application testing with effectiveness of toolsEfficiency of mobile application testing with effectiveness of tools
Efficiency of mobile application testing with effectiveness of tools
 
Software Quality Framework Introduction
Software Quality Framework IntroductionSoftware Quality Framework Introduction
Software Quality Framework Introduction
 
Software Quality Metrics Do's and Don'ts - QAI-Quest 1 Hour Presentation
Software Quality Metrics Do's and Don'ts - QAI-Quest 1 Hour PresentationSoftware Quality Metrics Do's and Don'ts - QAI-Quest 1 Hour Presentation
Software Quality Metrics Do's and Don'ts - QAI-Quest 1 Hour Presentation
 
A suite of rules for developing and evaluating software quality models jean...
A suite of rules for developing and evaluating software quality models   jean...A suite of rules for developing and evaluating software quality models   jean...
A suite of rules for developing and evaluating software quality models jean...
 
Main Challenges of Mobile Testing
Main Challenges of Mobile TestingMain Challenges of Mobile Testing
Main Challenges of Mobile Testing
 
The Art and Science of Mobile App Testing
The Art and Science of Mobile App TestingThe Art and Science of Mobile App Testing
The Art and Science of Mobile App Testing
 
Addressing Mobile App Testing Challenges
Addressing Mobile App Testing ChallengesAddressing Mobile App Testing Challenges
Addressing Mobile App Testing Challenges
 
Techniques, Tips & Tools For Mobile App Testing
Techniques, Tips & Tools For Mobile App TestingTechniques, Tips & Tools For Mobile App Testing
Techniques, Tips & Tools For Mobile App Testing
 
Software Development Life Cycle.
Software Development Life Cycle.Software Development Life Cycle.
Software Development Life Cycle.
 
Software quality requirements and evaluation
Software quality requirements and evaluationSoftware quality requirements and evaluation
Software quality requirements and evaluation
 
Software Quality Metrics for Testers - StarWest 2013
Software Quality Metrics for Testers - StarWest 2013Software Quality Metrics for Testers - StarWest 2013
Software Quality Metrics for Testers - StarWest 2013
 
Android & iPhone App Testing
 Android & iPhone App Testing Android & iPhone App Testing
Android & iPhone App Testing
 
Testing Checklist for Mobile Applications-By Anurag Khode
Testing Checklist for Mobile Applications-By Anurag KhodeTesting Checklist for Mobile Applications-By Anurag Khode
Testing Checklist for Mobile Applications-By Anurag Khode
 
Testing & Quality Assurance
Testing & Quality AssuranceTesting & Quality Assurance
Testing & Quality Assurance
 
Mobile App Testing Checklist
Mobile App Testing ChecklistMobile App Testing Checklist
Mobile App Testing Checklist
 
Testing Techniques for Mobile Applications
Testing Techniques for Mobile ApplicationsTesting Techniques for Mobile Applications
Testing Techniques for Mobile Applications
 
Test cases for testing mobile phone
Test cases for testing mobile phoneTest cases for testing mobile phone
Test cases for testing mobile phone
 

Semelhante a Mobile Application Testing

Automation Proposal_V1.0
Automation Proposal_V1.0Automation Proposal_V1.0
Automation Proposal_V1.0
Dao Nhỏ
 
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 testing
Mobile testingMobile testing
Mobile testing
Alex Hung
 
Automated Mobile Testing using Appium.pdf
Automated Mobile Testing using Appium.pdfAutomated Mobile Testing using Appium.pdf
Automated Mobile Testing using Appium.pdf
Anand722237
 
Mobile testing
Mobile testingMobile testing
Mobile testing
Alex Hung
 
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
 

Semelhante a Mobile Application Testing (20)

Automation Proposal_V1.0
Automation Proposal_V1.0Automation Proposal_V1.0
Automation Proposal_V1.0
 
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)
 
HienVo_Mobile Testing_v.1.2
HienVo_Mobile Testing_v.1.2HienVo_Mobile Testing_v.1.2
HienVo_Mobile Testing_v.1.2
 
Mobile app testing
Mobile app testingMobile app testing
Mobile app testing
 
Mobile testing
Mobile testingMobile testing
Mobile testing
 
Automated Mobile Testing using Appium.pdf
Automated Mobile Testing using Appium.pdfAutomated Mobile Testing using Appium.pdf
Automated Mobile Testing using Appium.pdf
 
Testing the UI of Mobile Applications
Testing the UI of Mobile ApplicationsTesting the UI of Mobile Applications
Testing the UI of Mobile Applications
 
mohit anand
 mohit anand mohit anand
mohit anand
 
Mobile testing
Mobile testingMobile testing
Mobile testing
 
Mobile Testing
Mobile TestingMobile Testing
Mobile Testing
 
Mobile Automation Meetup Presentation [English]
Mobile Automation Meetup Presentation [English]Mobile Automation Meetup Presentation [English]
Mobile Automation Meetup Presentation [English]
 
Best Practices in Mobile CI (webinar)
Best Practices in Mobile CI (webinar)Best Practices in Mobile CI (webinar)
Best Practices in Mobile CI (webinar)
 
Mobile Automation with Appium
Mobile Automation with AppiumMobile Automation with Appium
Mobile Automation with Appium
 
Appium - test automation for mobile apps
Appium - test automation for mobile appsAppium - test automation for mobile apps
Appium - test automation for mobile apps
 
Mobile App Testing: Methods and Benefits
Mobile App Testing: Methods and BenefitsMobile App Testing: Methods and Benefits
Mobile App Testing: Methods and Benefits
 
Advanced Appium
Advanced AppiumAdvanced Appium
Advanced Appium
 
Mobile Application Test automation using MonkeyTalk Tool
Mobile Application Test automation using MonkeyTalk ToolMobile Application Test automation using MonkeyTalk Tool
Mobile Application Test automation using MonkeyTalk Tool
 
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
 

Último

TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
mohitmore19
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Último (20)

Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
LEVEL 5 - SESSION 1 2023 (1).pptx - PDF 123456
LEVEL 5   - SESSION 1 2023 (1).pptx - PDF 123456LEVEL 5   - SESSION 1 2023 (1).pptx - PDF 123456
LEVEL 5 - SESSION 1 2023 (1).pptx - PDF 123456
 
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfThe Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verifiedSector 18, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verified
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
ManageIQ - Sprint 236 Review - Slide Deck
ManageIQ - Sprint 236 Review - Slide DeckManageIQ - Sprint 236 Review - Slide Deck
ManageIQ - Sprint 236 Review - Slide Deck
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
 
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
 

Mobile Application Testing

  • 1. © Sun Technologies Inc. 1 MOBILE APPLICATION TESTING
  • 2. MOBILE APPLICATION TESTING • is a process by which a developed application of a mobile device is tested for its functionality , consistency and usability. • Application distribution platforms-app store, google play • Designed and tested on emulators before the field testing • Ex calendar , contacts, email, games ….. © Sun Technologies Inc. 2
  • 3. © Sun Technologies Inc. 3 Mobile App Challenges Mobile application testing is a quite different which involves many things like, • Wide varieties of mobile devices • Different mobile operating system • Different mobile network operators • Input method • Memory usage • Usability
  • 4. © Sun Technologies Inc. 4 Mobile Platforms • Android • iOS • Symbian(Nokia) • J2ME • RIM(Blackberry) • BREW • Windows Mobile • Bada(Samsung)
  • 5. © Sun Technologies Inc. 5 Types of mobile devices • Candy bar phones • Touch Screen phones • Slider phones • Clamshell devices(flip phones) • Phones with QWERTY keyboard
  • 6. © Sun Technologies Inc. 6 Types of mobile application Native apps •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 comptability
  • 7. © Sun Technologies Inc. 7 Mobile App Testing Approach 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 languages Scenarios •Credible usage stories and workflows Device interactions(web , network , apps) •Wi-Fi, Cellular Network ,apps
  • 8. © Sun Technologies Inc. 8 • Installation • Application Start/stop Behavior • Application Credentials • Interruptions-Voice calls • Interruptions-SMS • Auto start • No disruption to key device applications Testcase Strategies
  • 9. © Sun Technologies Inc. 9 • UI testing-color ,menu , style • Performance and stress-under low resources • compatibility testing • Interruption testing-voice calls,sms,low memory notification • Adhoc testing • Low network/no network Usability testing • Security testing Types Of Mobile App Testing
  • 10. © Sun Technologies Inc. 10 • Automation is a process ,which includes the development of scripts to run the test cases automatically with out manual intervention and to log results. Why Automation? • Manual Testing of all workflow ,all negative scenarios is time and cost consuming • It does not require human intervention. • It increases speed of test execution and test coverage. Automation
  • 11. © Sun Technologies Inc. 11 Aagfyhjc sccAAuto Growing mobile apps Agile development cycle Mobile Landscape Complexities Globalization: Apps releasing in multiple languages Need of Automation in Mobile Testing Automation Is the key
  • 12. © Sun Technologies Inc. Mobile Automation Tools 12
  • 13. © Sun Technologies Inc. 13 RIGHT TOOL Preference to free/paid tool Which app to automate: Android/iOS or both? Time Crunch Flexibility of tester with the scripting languages Community support First party/Third Party Choose The Right Tool
  • 14. © Sun Technologies Inc. 14 Monkey Runner Android app only Basic UI testing Time Crunch Low effort/investment UI Automator Android app only Intensive UI testing. Don’t want to use third party tool. Have time to build a stable automation solution. Monkey Talk Android & iOS app app doesn’t supports web view. Image comparison requirement. Can install agents in your app / can invest money per month Appium Android & iOS app Intensive UI testing Don’t have code / Don’t want to install any agent. Stable automation solution (free) for suite of apps Use case scenario
  • 15. © Sun Technologies Inc. 14 Key Features Components of this tool • Provides an API for writing programs to control an Android device/emulator. • Can be used for both functional and UI testing. • Entirely based on coordinates based automation. • MonkeyRunner • MonkeyDevice • MonkeyImage Monkey Runner
  • 16. Monkey Runner © Sun Technologies Inc. 16 Strengths Easy to set-up. Test multiple devices at a time. Appropriate for regression testing of a basic app. Random testing. Limitations Only supports Android. Different script for different device. Even slight change in UI breaks the script.
  • 17. UI Automator Key Features © Sun Technologies Inc. 17 • It is a java library containing API’s to create customized functional UI tests. • Integrated with Google’s own Android development IDE • Entirely based on object based automation. Components of this tool • Uiautomatorviewer • API framework
  • 18. © Sun Technologies Inc. 18 Strengths One of the best tools for testing android apps. Comes bundled with Android Studio IDE. Appropriate for UI testing of any android app. Limitations Only supports Android (versions > 4.3). Lack of support for Web view. Lack methods for some gestures like long press on an element. UI Automator
  • 19. Monkey Talk © Sun Technologies Inc. 19 • MonkeyTalk IDE • MonkeyTalk Agent • It is an integrated environment for recording, customizing and managing test suites. • Open source, eclipse based IDE. • Used for automation of both iOS & Android apps. • Limited features are available in the free version of this tool. Paid version is costly. Components of this tool Key Features
  • 20. Monkey Talk © Sun Technologies Inc. 20 Strengths Supports both iOS and Android apps. Test multiple devices at a time. Open source Image comparison is supported Limitations The essential features are available in the paid version. Doesn’t support web view. Agent needs to be installed in the app which needs to be tested. Limited Xpath support.
  • 21. APPIUM © Sun Technologies Inc. 21 • It is a HTTP server that takes HTTP commands from the test script and executes the command on the device. • Based on WebDriver JSON protocol. • Used for automation of both iOS & Android apps. • Totally derived from selenium code + mobile gesture handling Key Features Components of this tool • Appium Server • Appium Client libraries • Appium Inspector
  • 22. APPIUM © Sun Technologies Inc. 22 Strengths Supports both iOS and Android apps. One of the most versatile tools for testing any native, hybrid and mobile web apps. Doesn’t require code access or recompiling the app. Test multiple android devices at a time. Limitations No support for parallel test for iOS apps. No support for Android version < 4.1 (selendroid can be used) No Image comparison. No option to switch off network connection.
  • 23. The Process: Recipe of Success © Sun Technologies Inc. 23 Know your mobile app. Identify the right automation tool. Write test script to cover all the testing workflows in the app. Run the script for the test pass. Next Release: Update the script. Repeat until the app lives on the app store.
  • 24. Test cases which are not suitable for automation are as follows: • Test cases that are newly designed and not executed manually at least once • Test cases for which the requirements are changing frequently • Test cases which are executed on adhoc basis 24© Sun Technologies Inc.