kamil zieliński - appium – mobile test automation framework

22
1,500,000 (Jun ‘15) Source: http://www.statista.com/statistics/276623/number-of-apps-available-in-leading-app-stores/ 1,200,000 (Jun ’14) 900,000 (Jun ’13)

Upload: trojmiejska-grupa-testerska

Post on 18-Jan-2017

286 views

Category:

Technology


4 download

TRANSCRIPT

Page 1: Kamil Zieliński - Appium – mobile test automation framework

1,500,000 (Jun ‘15)

Source: http://www.statista.com/statistics/276623/number-of-apps-available-in-leading-app-stores/

1,200,000 (Jun ’14)

900,000 (Jun ’13)

Page 2: Kamil Zieliński - Appium – mobile test automation framework

About me My name is Kamil Zieliński.Currently I am working at Kainos as Trainee Software engineer.

At weekends I am doing master studies at University of Gdansk.

My free time I spends on gym and discovering new technologies

Page 3: Kamil Zieliński - Appium – mobile test automation framework

Agenda1. Intro

2. About me

3. Agenda

4. What is Appium?

5. Appium Philosophy

6. Installation

7. How it works in theory

8. How it works in practice

9. Demo

10. My thoughts

11. Questions

12. Thank you & more info

13. Bibliography

Page 4: Kamil Zieliński - Appium – mobile test automation framework

AppiumAppium is an open source test automation framework for use with native and hybrid mobile

apps.

Page 5: Kamil Zieliński - Appium – mobile test automation framework

Native vs hybrid app

Page 6: Kamil Zieliński - Appium – mobile test automation framework

Appium Philosophy

Page 7: Kamil Zieliński - Appium – mobile test automation framework

Rule 1 You shouldn't have to recompile your app or modify it in any way in order to

automate it.*

iOS: Apple's UIAutomation Android 4.2+: Google's UiAutomatorAndroid 2.3+: Google's Instrumentation. (Instrumentation support is provided by bundling a separate project, Selendroid)

Page 8: Kamil Zieliński - Appium – mobile test automation framework

Rule 2 You shouldn't be locked into a specific

language or framework to write and run your tests.

Page 9: Kamil Zieliński - Appium – mobile test automation framework

Rule 3 A mobile automation framework

shouldn't reinvent the wheel when it comes to automation APIs.

Page 10: Kamil Zieliński - Appium – mobile test automation framework

Rule 4 A mobile automation framework should be open source, in spirit and practice as

well as in name!

It’s open source!

Page 11: Kamil Zieliński - Appium – mobile test automation framework
Page 12: Kamil Zieliński - Appium – mobile test automation framework

Appium server installation* > brew install node # get node.js

> npm install -g appium # get appium

> appium & # start appium

> write and run your tests

Page 13: Kamil Zieliński - Appium – mobile test automation framework

How it works cdn

Page 14: Kamil Zieliński - Appium – mobile test automation framework

How it works in practice

Page 15: Kamil Zieliński - Appium – mobile test automation framework

Appium

Page 16: Kamil Zieliński - Appium – mobile test automation framework

Appium inspector

Page 17: Kamil Zieliński - Appium – mobile test automation framework

“Record” option

Page 18: Kamil Zieliński - Appium – mobile test automation framework

DEMO

Page 19: Kamil Zieliński - Appium – mobile test automation framework

SummaryAdvatages Disadventages

Open source Differences between iOS and Andorid API features (iOS and missing API to disable internet on device…)

Easy to understand Still in development ( problems with simulator )

Inherits Selenium features

Can be written in any language

Big community

Good for simple business applications

Page 20: Kamil Zieliński - Appium – mobile test automation framework

Questions?

Page 21: Kamil Zieliński - Appium – mobile test automation framework

Thank [email protected]