mobile test automation - appium

26
Appium Mobile test automation

Upload: maria-machlowska

Post on 15-Jan-2015

661 views

Category:

Technology


6 download

DESCRIPTION

This is presentation from the QA meetup - #4 KraQA, where we have presented the Appium as a key to easy automation in mobile.

TRANSCRIPT

Page 1: Mobile Test Automation - Appium

AppiumMobile test automation

Page 2: Mobile Test Automation - Appium

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: Mobile Test Automation - Appium

Where we are

… and more on the way!

Page 4: Mobile Test Automation - Appium

mobile automation made awesome

Appium

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

Johnattan Lipps

Page 5: Mobile Test Automation - Appium

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

Johnattan Lipps

Page 6: Mobile Test Automation - Appium

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: Mobile Test Automation - Appium

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: Mobile Test Automation - Appium

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: Mobile Test Automation - Appium

Appium philosophy

1 2 3 4

Page 10: Mobile Test Automation - Appium

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: Mobile Test Automation - Appium

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: Mobile Test Automation - Appium

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: Mobile Test Automation - Appium

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: Mobile Test Automation - Appium

Appium philosophy

1 2 3 4

Page 15: Mobile Test Automation - Appium

Appium design

1 3 4

Page 16: Mobile Test Automation - Appium

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: Mobile Test Automation - Appium

32 3 4

iOS - UI Automation

2 3 41

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

Page 18: Mobile Test Automation - Appium

32 3 4

Android 4.2+ UI Automator

2 3 41

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

Page 19: Mobile Test Automation - Appium

32 3 4

Android 2.3+ Selendroid

2 3 41

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

Page 20: Mobile Test Automation - Appium

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: Mobile Test Automation - Appium

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: Mobile Test Automation - Appium

Appium demo

1 3 4

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

Page 23: Mobile Test Automation - Appium

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: Mobile Test Automation - Appium

Appium is an open source!

Why don’t you try it?

3

2 3 41

Page 25: Mobile Test Automation - Appium

Why don’t you try it?

● one test for iOS and Android

● any programming language you want

● easy to use (http server)

Page 26: Mobile Test Automation - Appium

Thanks!

Questions?

| [email protected] | [email protected]

Contact us:

MariaEla

@BrainlyLabs