![Page 1: Test Automation on Mobile environnents Eder Figueroa 4/29/203](https://reader033.vdocuments.site/reader033/viewer/2022051314/5518c3e055034638098b4a70/html5/thumbnails/1.jpg)
Test Automation on Mobile environnents
Eder Figueroa4/29/203
![Page 2: Test Automation on Mobile environnents Eder Figueroa 4/29/203](https://reader033.vdocuments.site/reader033/viewer/2022051314/5518c3e055034638098b4a70/html5/thumbnails/2.jpg)
Source http://www.guru99.com/types-of-software-testing.html
Automated Testing:
Testing technique that uses automation testing tools to control the environment set-up, test execution and results reporting. It is performed by a computer and is used inside the testing teams.
![Page 3: Test Automation on Mobile environnents Eder Figueroa 4/29/203](https://reader033.vdocuments.site/reader033/viewer/2022051314/5518c3e055034638098b4a70/html5/thumbnails/3.jpg)
Automation does not require Human intervention
Automation increases speed of test execution
Manual Testing can become tedious and hence error prone
Manual Testing on all possible work flows including: all fields , all combination, all rainy scenarios implies time and cost consuming
![Page 4: Test Automation on Mobile environnents Eder Figueroa 4/29/203](https://reader033.vdocuments.site/reader033/viewer/2022051314/5518c3e055034638098b4a70/html5/thumbnails/4.jpg)
Typical phases in mobile application testing
![Page 5: Test Automation on Mobile environnents Eder Figueroa 4/29/203](https://reader033.vdocuments.site/reader033/viewer/2022051314/5518c3e055034638098b4a70/html5/thumbnails/5.jpg)
Device Diversity
•Multiple platforms•Rendering devices
Hardware
•Multiple network types (e.g., GSM/GPRS/ Wi-Fi/Wi-Max).
•Multiple network operators with customized network features.
Network
•Limitations in processing speed.
•Limitations of mobile memory size.
•Even Limitations in battery life spam
Functionality
•Gaming•Browsing•Business•Communication•Social
Mobile automated testing challenges
![Page 6: Test Automation on Mobile environnents Eder Figueroa 4/29/203](https://reader033.vdocuments.site/reader033/viewer/2022051314/5518c3e055034638098b4a70/html5/thumbnails/6.jpg)
![Page 7: Test Automation on Mobile environnents Eder Figueroa 4/29/203](https://reader033.vdocuments.site/reader033/viewer/2022051314/5518c3e055034638098b4a70/html5/thumbnails/7.jpg)
Examples of automatable Non functional testing for mobile application
• Performance Testing: Response form application
• Stress/ Load Testing
• Usability and UI
![Page 8: Test Automation on Mobile environnents Eder Figueroa 4/29/203](https://reader033.vdocuments.site/reader033/viewer/2022051314/5518c3e055034638098b4a70/html5/thumbnails/8.jpg)
GUI Test Automation Tools for iOS and Android
Platform Specific
Tools
• Instruments•Monkeyrunner
Generic Script Based
Tools
•Sikuli•Robot Framework
Random Event
Generator
•UI/Application Exerciser Monkey
•Automation
Whitebox testing tools
•Android Instrumentation
• Instruments (IOS)
Blackbox testing tools
•Sikuli•Robotium
![Page 9: Test Automation on Mobile environnents Eder Figueroa 4/29/203](https://reader033.vdocuments.site/reader033/viewer/2022051314/5518c3e055034638098b4a70/html5/thumbnails/9.jpg)
Robotium• Used for testing nativeandroid apps• Open source• Active community
Selenium• Open source Supports large number of browsers• Support multiple languages (java, c# ….)• Active community
Sikuli• Image Based test Automation• Visual verification on expected output• Works Windows Mac, Linux• Automates anything on screen, no API
internal support
Instruments• Used for testing native IOS apps• Proprietary • Apple supports it• More closely linked to device and works with device and simulator. • Supports all gestures (pinch, zoom, swipe, flick, long press, scroll, etc.)
![Page 10: Test Automation on Mobile environnents Eder Figueroa 4/29/203](https://reader033.vdocuments.site/reader033/viewer/2022051314/5518c3e055034638098b4a70/html5/thumbnails/10.jpg)
DEMO
![Page 11: Test Automation on Mobile environnents Eder Figueroa 4/29/203](https://reader033.vdocuments.site/reader033/viewer/2022051314/5518c3e055034638098b4a70/html5/thumbnails/11.jpg)
Disadvantages:
• Depends on high resolution
• Can not run in background
• Dynamic path are tricky or even impossible to automate
• Don’t support gestures
![Page 12: Test Automation on Mobile environnents Eder Figueroa 4/29/203](https://reader033.vdocuments.site/reader033/viewer/2022051314/5518c3e055034638098b4a70/html5/thumbnails/12.jpg)
InstrumentsDisadvantages:
• Requires linking with application to produce a special build.
• Tester needs to write custom test script to get consolidated report of all test cases .
![Page 13: Test Automation on Mobile environnents Eder Figueroa 4/29/203](https://reader033.vdocuments.site/reader033/viewer/2022051314/5518c3e055034638098b4a70/html5/thumbnails/13.jpg)
Source: Test automation tools for mobile applications: a brief survey white paper. Huges mystique
Feature comparison
![Page 14: Test Automation on Mobile environnents Eder Figueroa 4/29/203](https://reader033.vdocuments.site/reader033/viewer/2022051314/5518c3e055034638098b4a70/html5/thumbnails/14.jpg)
Test Execution
Test tool selection
Define the scope of Automation
Planning, Design and Development
Conclusions