20
©2015 InfoStretch Corporation. All rights reserved.

Getting Started with Mobile Test Automation & Appium

Embed Size (px)

Citation preview

Page 1: Getting Started with Mobile Test Automation & Appium

©2015 InfoStretch Corporation. All rights reserved.

Page 2: Getting Started with Mobile Test Automation & Appium

©2015 InfoStretch Corporation. All rights reserved.

InfoStretch – Enabling the Mobile Lifecycle for Enterprises Intelligently

Apps Tested

Employees

100+Apps developed and deployed

Real devices in mobile labs3000+

Global Footprint

A leading provider of next-gen mobile application lifecycle services ranging

from design and development to testing and sustenance.

About us

LocationsCorporate HQ: Silicon Valley

Offices: Conshohocken (PA), Ahmedabad(India), Pune(India), London(UK)

600+

250K

Active Mobile Customers Engagements60+

Page 3: Getting Started with Mobile Test Automation & Appium

© Sauce Labs, Inc.

Sauce Labs Overview

• Largest cloud for automated testing

• Test web + mobile apps across more than 500 browser/OS/platforms

• Uses the industry standard Selenium WebDriverprotocol

• Enterprise scalability + industry standard SLA

• Capture screencasts, logs and test metadata

Page 4: Getting Started with Mobile Test Automation & Appium

©2015 InfoStretch Corporation. All rights reserved.

Sauce Labs - Overview

4

Page 5: Getting Started with Mobile Test Automation & Appium

©2015 InfoStretch Corporation. All rights reserved.

Mobile Solutions Overview

2 Appium – Overview, Demo

3 Sauce Labs – Demo

1

4 Q & A

Page 6: Getting Started with Mobile Test Automation & Appium

©2015 InfoStretch Corporation. All rights reserved.

Mobile Applications : Delivery Platform

Page 7: Getting Started with Mobile Test Automation & Appium

©2015 InfoStretch Corporation. All rights reserved.

Mobile QA Solutions

ON-DEMAND CLOUD AUTOMATION SUPPORT

INTEGRATION WITH SUPPORT SYSTEMS

Page 8: Getting Started with Mobile Test Automation & Appium

©2015 InfoStretch Corporation. All rights reserved.

Mobile Automation Tool

OBJECT RECOGNITION

IDE Support CROSS PLATFORM EMULATOR / DEVICE

SCALABILITY SUPPORT

Page 9: Getting Started with Mobile Test Automation & Appium

©2015 InfoStretch Corporation. All rights reserved.

Mobile Solutions Overview

2 Appium – Overview, Demo

3 SauceLabs – Demo

1

4 Q & A

Page 10: Getting Started with Mobile Test Automation & Appium

Appium is an open source test automation framework which automates, native, hybrid and mobile apps.

Page 11: Getting Started with Mobile Test Automation & Appium

Android UiAutomator!

Architecture!WebDriver Interface

iOS UIAutomation!Powered by Instruments

Selendroid!For older Android devices

Page 12: Getting Started with Mobile Test Automation & Appium

Selenium Architecture

Selenium Builder

Appium test

Sauce Connect

Real devices

Simulators

Native Apps

Hybrid Apps

Platform Support!

Mobile Web Apps

Page 13: Getting Started with Mobile Test Automation & Appium

©2015 InfoStretch Corporation. All rights reserved.

Appium Development Environment

Appium

http://appium.iohttp://developer.android.com/tools/studio/index.html https://eclipse.org/

13

Page 14: Getting Started with Mobile Test Automation & Appium

©2015 InfoStretch Corporation. All rights reserved.

Settings Parameter for Android Native AppUI Version

1. APP PATH

2. LAUNCH DEVICE

3. ANDROID SETTING

Page 15: Getting Started with Mobile Test Automation & Appium

©2015 InfoStretch Corporation. All rights reserved.

Mobile Automation: Architecture Blueprint

Device Type – Enhanced Device OS – Android , IOSApp Category – Native, Browser

(AUTOMATION FRAMEWORK)

15

• Test Case Scripts• Automation Framework• Pages• Navigation / Utilities /

Assertions

1

2 3

(JENKINS)

APPIUM API

(TEST MANAGEMENT SYSTEM)

4

(NATIVE BROWSER) (AUTOMATION REPORT)

5

REUSABILITY

Page 16: Getting Started with Mobile Test Automation & Appium

©2015 InfoStretch Corporation. All rights reserved. 16

Android Virtual Device (AVD)

Appium Settings

Object Inspector

App Interaction

Recorded Scripts

Page 17: Getting Started with Mobile Test Automation & Appium

©2015 InfoStretch Corporation. All rights reserved.

DemoAppium & Sauce Labs

17

Page 18: Getting Started with Mobile Test Automation & Appium

©2015 InfoStretch Corporation. All rights reserved.

Doing Mobile Automation

#1 Automate Early with Continuous Integration

#2 Right Level of Automation

#3 Distribute Automation across Emulators and Real Devices

#4 Define Framework with Right Level of Layering

#5 Ensure Right Level of Logging and Reporting

18

Right

Page 19: Getting Started with Mobile Test Automation & Appium

©2015 InfoStretch Corporation. All rights reserved.

Take Away

Getting Started

•Appium Requirements

•Walk Through Basic Features

• Play with Appium & SauceLabs

Validate with POC

•Validate Tool with some real Proof-of-Concept

• Try with multiple tools, if necessary

Leverage Industry Experts

• Jump Start with Automation Services

•Get Training on Appium & SauceLabs

20

InfoStretch provides Jump Start & Training on Appium and related Automation Tools

Page 20: Getting Started with Mobile Test Automation & Appium

Thank You

©2015 InfoStretch Corporation. All rights reserved. 21

[email protected]

408.727.1100