Top Banner
Test Automation on Mobile environnents Eder Figueroa 4/29/203
14

Test Automation on Mobile environnents Eder Figueroa 4/29/203.

Mar 30, 2015

Download

Documents

Maggie Bragg
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Test Automation on Mobile environnents Eder Figueroa 4/29/203.

Test Automation on Mobile environnents

Eder Figueroa4/29/203

Page 2: Test Automation on Mobile environnents Eder Figueroa 4/29/203.

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.

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.

Typical phases in mobile application testing

Page 5: Test Automation on Mobile environnents Eder Figueroa 4/29/203.

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.
Page 7: Test Automation on Mobile environnents Eder Figueroa 4/29/203.

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.

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.

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.

DEMO

Page 11: Test Automation on Mobile environnents Eder Figueroa 4/29/203.

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.

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.

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.

Test Execution

Test tool selection

Define the scope of Automation

Planning, Design and Development

Conclusions