Mobile Test Automation - Appium
-
Upload
maria-machlowska -
Category
Technology
-
view
637 -
download
6
description
Transcript of Mobile Test Automation - Appium
![Page 1: Mobile Test Automation - Appium](https://reader031.fdocuments.us/reader031/viewer/2022012319/54b770ae4a79596d3a8b4746/html5/thumbnails/1.jpg)
AppiumMobile test automation
![Page 2: Mobile Test Automation - Appium](https://reader031.fdocuments.us/reader031/viewer/2022012319/54b770ae4a79596d3a8b4746/html5/thumbnails/2.jpg)
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](https://reader031.fdocuments.us/reader031/viewer/2022012319/54b770ae4a79596d3a8b4746/html5/thumbnails/3.jpg)
Where we are
… and more on the way!
![Page 4: Mobile Test Automation - Appium](https://reader031.fdocuments.us/reader031/viewer/2022012319/54b770ae4a79596d3a8b4746/html5/thumbnails/4.jpg)
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](https://reader031.fdocuments.us/reader031/viewer/2022012319/54b770ae4a79596d3a8b4746/html5/thumbnails/5.jpg)
“Why can’t we automate mobile testing, like we do with websites?”
Johnattan Lipps
![Page 6: Mobile Test Automation - Appium](https://reader031.fdocuments.us/reader031/viewer/2022012319/54b770ae4a79596d3a8b4746/html5/thumbnails/6.jpg)
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](https://reader031.fdocuments.us/reader031/viewer/2022012319/54b770ae4a79596d3a8b4746/html5/thumbnails/7.jpg)
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](https://reader031.fdocuments.us/reader031/viewer/2022012319/54b770ae4a79596d3a8b4746/html5/thumbnails/8.jpg)
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](https://reader031.fdocuments.us/reader031/viewer/2022012319/54b770ae4a79596d3a8b4746/html5/thumbnails/9.jpg)
Appium philosophy
1 2 3 4
![Page 10: Mobile Test Automation - Appium](https://reader031.fdocuments.us/reader031/viewer/2022012319/54b770ae4a79596d3a8b4746/html5/thumbnails/10.jpg)
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](https://reader031.fdocuments.us/reader031/viewer/2022012319/54b770ae4a79596d3a8b4746/html5/thumbnails/11.jpg)
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](https://reader031.fdocuments.us/reader031/viewer/2022012319/54b770ae4a79596d3a8b4746/html5/thumbnails/12.jpg)
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](https://reader031.fdocuments.us/reader031/viewer/2022012319/54b770ae4a79596d3a8b4746/html5/thumbnails/13.jpg)
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](https://reader031.fdocuments.us/reader031/viewer/2022012319/54b770ae4a79596d3a8b4746/html5/thumbnails/14.jpg)
Appium philosophy
1 2 3 4
![Page 15: Mobile Test Automation - Appium](https://reader031.fdocuments.us/reader031/viewer/2022012319/54b770ae4a79596d3a8b4746/html5/thumbnails/15.jpg)
Appium design
1 3 4
![Page 16: Mobile Test Automation - Appium](https://reader031.fdocuments.us/reader031/viewer/2022012319/54b770ae4a79596d3a8b4746/html5/thumbnails/16.jpg)
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](https://reader031.fdocuments.us/reader031/viewer/2022012319/54b770ae4a79596d3a8b4746/html5/thumbnails/17.jpg)
32 3 4
iOS - UI Automation
2 3 41
source: http://www.slideshare.net/saucelabs/appium-basic-20296603
![Page 18: Mobile Test Automation - Appium](https://reader031.fdocuments.us/reader031/viewer/2022012319/54b770ae4a79596d3a8b4746/html5/thumbnails/18.jpg)
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](https://reader031.fdocuments.us/reader031/viewer/2022012319/54b770ae4a79596d3a8b4746/html5/thumbnails/19.jpg)
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](https://reader031.fdocuments.us/reader031/viewer/2022012319/54b770ae4a79596d3a8b4746/html5/thumbnails/20.jpg)
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](https://reader031.fdocuments.us/reader031/viewer/2022012319/54b770ae4a79596d3a8b4746/html5/thumbnails/21.jpg)
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](https://reader031.fdocuments.us/reader031/viewer/2022012319/54b770ae4a79596d3a8b4746/html5/thumbnails/22.jpg)
Appium demo
1 3 4
source: http://appium.io/introduction.html
![Page 23: Mobile Test Automation - Appium](https://reader031.fdocuments.us/reader031/viewer/2022012319/54b770ae4a79596d3a8b4746/html5/thumbnails/23.jpg)
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](https://reader031.fdocuments.us/reader031/viewer/2022012319/54b770ae4a79596d3a8b4746/html5/thumbnails/24.jpg)
Appium is an open source!
Why don’t you try it?
3
2 3 41
![Page 25: Mobile Test Automation - Appium](https://reader031.fdocuments.us/reader031/viewer/2022012319/54b770ae4a79596d3a8b4746/html5/thumbnails/25.jpg)
Why don’t you try it?
● one test for iOS and Android
● any programming language you want
● easy to use (http server)