[Binh nguyen] Mobile Application Automation Testing iOS and Android

Preview:

DESCRIPTION

Mobile application testing on iOS or Android can be quite a challenge for a Quality Assurance team. One reason is that mobile applications are often required to function on a variety of devices featuring different hardware capabilities, configurations, and specifications. Many different types of testing including automation are required to cover different areas of the application. Many people believe that automated testing may replace manual testing almost entirely. In reality, however, automated testing is still not able to cover all the types of testing that manual testing does. Automation Mobile Testing: framework, tools, some suggested solutions.

Citation preview

STC 2014

Mobile App Automation Testing On iOS and Android

BINH NGUYEN

Technical Architecture, TesterVN

Agenda

• Overview of Mobile Automation

• Mobile Application Automation Challenges

– Challenges In Mobile Automation Testing

– Open Source Mobile Automation Tools

• Case Study – Amazon

– Mobile Automation Framework Architecture

– Project Structure

• Q&A

2

3

Overview of Mobile Automation

Introduction

4

Mobile Categories

5

6

Mobile Application Automation Challenges

Five Challenges

7

Application Technical

Network Business

Test

Test Challenges

8

Test combinations - platforms, devices and versions.

End to end automation - API to device UI, external databases and systems.

Testing with physical devices - device, network operator and network.

9

Mobile Automation Tools

Open Source Tools

10

IOS ANDROID

Calabash-ios Calabash-ios

Frank MonkeyTalk

UIAutomation Robotium

IOS-Driver UIAutomator

KeepItFunctional Selendroid

Appium

Why Appium?

11

Appium

Support any framework

Support any languages

Real-World approach

Cross Browsers/Devices

Pros and Cons Appium

12

Pros:

Supporting cross-platform testing

Automating Native, Web, Hybrid application

Writing in any frameworks or languages

Developing and supporting by Sauce Labs

Cons:

iOS run one instance per MacOS

Android supports SDK platform API16 or higher

13

Case Study: Amazon Department Online Store

Amazon Approach

14

Tools

(Appium, Webdriver API)

Page Object

Model/Pattern

(POM)

Framework & Project

Structure

How Appium iOS Works?

15

How Appium Android Works?

16

Why POM?

17

18

Mobile Automation Framework Architecture

Framework Architecture

19

Project Structure

20

Am

azo

n P

roje

ct

Configuration File

Libraries/Utilities

Test Data

Object Repository

Test Scripts

Test Reports

Test Logs

Summary

21

Test Challenges in Mobile Automation

Applying appium and Page Object Model (POM) to automated Amazon website on mobile

Mobile Automation Framework Architecture & Project Structure

Q&A

22

© 2014 HCMC Software Testing Club

THANK YOU

Recommended