Maria Machlowska i Elżbieta Sądel - "Appium: automatyzacja testów w Mobile"

Post on 26-Jun-2015

615 views 3 download

Tags:

description

Prezentacja Marii Machlowskiej i Elżbiety Sądel - "Appium: automatyzacja testów w Mobile" wygłoszona na IV spotkaniu KraQA, 16 czerwca 2014r. Kod z testem w pythonie: https://github.com/mayha/BrainlyLabs

Transcript of Maria Machlowska i Elżbieta Sądel - "Appium: automatyzacja testów w Mobile"

AppiumMobile test automation

Brainly - EdTech platform, crowdsourced homework helper.Both website and mobile app.

Who we are

Maria - Mobile QA Coordinator at Brainlyformer mobile tester

Ela - Web QA Coordinator at Brainlyformer marketing manager (just not my thing I guess...)

Where we are

… and more on the way!

mobile automation made awesome

Appium

“Necessity is the mother of invention.““The most awesome thing will win.”

Johnattan Lipps

“Why can’t we automate mobile testing, like we do with websites?”

Johnattan Lipps

Developer’s problems with mobile testing

● create one application for Android and iOS

● prepare automation tests for mobile apps

● find easy to use framework for tests

● develop one tests for both iOS and Android app version

Mobile is taking over the world

● It’s a multi-platform age. Mass adoption requires cross-platform apps.

● Where is our mobile automation? Our mobile CI?

Here comes Appium

● Appium is a cross-platform solution for native apps

and hybrid mobile solution

● The philosophy of Appium is based on 4 rules

Appium philosophy

1 2 3 4

You shouldn’t have to

recompile your app or modify it

in any way in order to automate it.

1 2 3 4

source: http://appium.io/introduction.html

You shouldn’t be locked into

a specific language or framework

to write and run your tests.

1 2 3 4

source: http://appium.io/introduction.html

A mobile automation framework shouldn’t

reinvent the wheel when it

comes to automation API’s.

1 2 3 4

source: http://appium.io/introduction.html

A mobile automation framework

should be an open source,

in spirit and practice as well as in name!

1 2 3 4

source: http://appium.io/introduction.html

Appium philosophy

1 2 3 4

Appium design

1 3 4

Appium is using vendor-provided automation frameworks.

That way you don’t need to compile in any third-party code

|or frameworks to your app.

3

2 3 41

source: http://appium.io/introduction.html

32 3 4

iOS - UI Automation

2 3 41

source: http://www.slideshare.net/saucelabs/appium-basic-20296603

32 3 4

Android 4.2+ UI Automator

2 3 41

source: http://www.slideshare.net/saucelabs/appium-basic-20296603

32 3 4

Android 2.3+ Selendroid

2 3 41

source: http://www.slideshare.net/saucelabs/appium-basic-20296603

Appium is wrapping

vendor-provided frameworks in one,

WebDriver API (JSON Wire Protocol).

3

2 3 41

source: http://appium.io/introduction.html

Appium is a HTTP server.

You can use whatever test runner

and test framework you want!

3

2 3 41

source: http://appium.io/introduction.html

Appium demo

1 3 4

source: http://appium.io/introduction.html

WebDriver has become the standard

for automating web browsers.

Why do something totally

different for mobile?

2 3 41

source: http://appium.io/introduction.html

Appium is an open source!

Why don’t you try it?

3

2 3 41

Why don’t you try it?

● one test for iOS and Android

● any programming language you want

● easy to use (http server)

Thanks!

Questions?

| maria.machlowska@brainly.com | ela.sadel@brainly.com

Contact us:

MariaEla

@BrainlyLabs