maria machlowska i elżbieta sądel - "appium: automatyzacja testów w mobile"

26
Appium Mobile test automation

Upload: kraqa

Post on 26-Jun-2015

617 views

Category:

Engineering


3 download

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

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

AppiumMobile test automation

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

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

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

Where we are

… and more on the way!

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

mobile automation made awesome

Appium

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

Johnattan Lipps

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

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

Johnattan Lipps

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

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

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

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?

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

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

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

Appium philosophy

1 2 3 4

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

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

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

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

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

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

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

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

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

Appium philosophy

1 2 3 4

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

Appium design

1 3 4

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

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

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

32 3 4

iOS - UI Automation

2 3 41

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

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

32 3 4

Android 4.2+ UI Automator

2 3 41

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

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

32 3 4

Android 2.3+ Selendroid

2 3 41

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

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

Appium is wrapping

vendor-provided frameworks in one,

WebDriver API (JSON Wire Protocol).

3

2 3 41

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

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

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

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

Appium demo

1 3 4

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

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

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

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

Appium is an open source!

Why don’t you try it?

3

2 3 41

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

Why don’t you try it?

● one test for iOS and Android

● any programming language you want

● easy to use (http server)

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

Thanks!

Questions?

| [email protected] | [email protected]

Contact us:

MariaEla

@BrainlyLabs