Test Automation on Mobile environnents

Post on 25-Feb-2016

36 Views

Category:

Documents

1 Downloads

Preview:

Click to see full reader

DESCRIPTION

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

Transcript

Test Automation on Mobile environnents

Eder Figueroa4/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.

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

Typical phases in mobile application testing

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

Examples of automatable Non functional testing for mobile application

• Performance Testing: Response form application

• Stress/ Load Testing

• Usability and UI

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

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.)

DEMO

Disadvantages:

• Depends on high resolution

• Can not run in background

• Dynamic path are tricky or even impossible to automate

• Don’t support gestures

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 .

Source: Test automation tools for mobile applications: a brief survey white paper. Huges mystique

Feature comparison

Test Execution

Test tool selection

Define the scope of Automation

Planning, Design and Development

Conclusions

top related