Appium Mobile Test Automation like WebDriver
-
Upload
andrii-dzynia -
Category
Technology
-
view
9.837 -
download
5
Transcript of Appium Mobile Test Automation like WebDriver
![Page 1: Appium Mobile Test Automation like WebDriver](https://reader033.fdocuments.us/reader033/viewer/2022052307/554d1fdcb4c905c5208b4a14/html5/thumbnails/1.jpg)
Automating mobile testing in Webdriver API style
![Page 2: Appium Mobile Test Automation like WebDriver](https://reader033.fdocuments.us/reader033/viewer/2022052307/554d1fdcb4c905c5208b4a14/html5/thumbnails/2.jpg)
![Page 3: Appium Mobile Test Automation like WebDriver](https://reader033.fdocuments.us/reader033/viewer/2022052307/554d1fdcb4c905c5208b4a14/html5/thumbnails/3.jpg)
Testing Mobile Apps
![Page 4: Appium Mobile Test Automation like WebDriver](https://reader033.fdocuments.us/reader033/viewer/2022052307/554d1fdcb4c905c5208b4a14/html5/thumbnails/4.jpg)
What types of app do you know?
![Page 5: Appium Mobile Test Automation like WebDriver](https://reader033.fdocuments.us/reader033/viewer/2022052307/554d1fdcb4c905c5208b4a14/html5/thumbnails/5.jpg)
Hybrid app
![Page 6: Appium Mobile Test Automation like WebDriver](https://reader033.fdocuments.us/reader033/viewer/2022052307/554d1fdcb4c905c5208b4a14/html5/thumbnails/6.jpg)
Robotium
MonkeyTalk
UI Automator
selendroid
-android
Android Test Automation
![Page 7: Appium Mobile Test Automation like WebDriver](https://reader033.fdocuments.us/reader033/viewer/2022052307/554d1fdcb4c905c5208b4a14/html5/thumbnails/7.jpg)
iOS Test Automation
UI Automation Frank
ios-driver KIF -ios
![Page 8: Appium Mobile Test Automation like WebDriver](https://reader033.fdocuments.us/reader033/viewer/2022052307/554d1fdcb4c905c5208b4a14/html5/thumbnails/8.jpg)
is cross-platform solution
for
native and hybrid mobile Test automation
![Page 9: Appium Mobile Test Automation like WebDriver](https://reader033.fdocuments.us/reader033/viewer/2022052307/554d1fdcb4c905c5208b4a14/html5/thumbnails/9.jpg)
History of Appium
Jason HugginsJonathan Lipps
Dan Cuellar
![Page 10: Appium Mobile Test Automation like WebDriver](https://reader033.fdocuments.us/reader033/viewer/2022052307/554d1fdcb4c905c5208b4a14/html5/thumbnails/10.jpg)
Appium installation
npm install -g appium
npm install wd
appium &
node your-appium-test.js
![Page 11: Appium Mobile Test Automation like WebDriver](https://reader033.fdocuments.us/reader033/viewer/2022052307/554d1fdcb4c905c5208b4a14/html5/thumbnails/11.jpg)
Appium Test Example
![Page 12: Appium Mobile Test Automation like WebDriver](https://reader033.fdocuments.us/reader033/viewer/2022052307/554d1fdcb4c905c5208b4a14/html5/thumbnails/12.jpg)
Appium Test Video/Demo
![Page 13: Appium Mobile Test Automation like WebDriver](https://reader033.fdocuments.us/reader033/viewer/2022052307/554d1fdcb4c905c5208b4a14/html5/thumbnails/13.jpg)
Appium Abilities
Test Web, Native and Hybrid apps
Support JSON Wire Protocol
Does not require recompile of your app
![Page 14: Appium Mobile Test Automation like WebDriver](https://reader033.fdocuments.us/reader033/viewer/2022052307/554d1fdcb4c905c5208b4a14/html5/thumbnails/14.jpg)
Appium is an HTTP server that
manages WebDriver sessions
![Page 15: Appium Mobile Test Automation like WebDriver](https://reader033.fdocuments.us/reader033/viewer/2022052307/554d1fdcb4c905c5208b4a14/html5/thumbnails/15.jpg)
AppiumMarionetteUIAutomation
SelendroidUIAutomator
Apple Instruments for iOS Google UIAutomator for Android API level 16 or higher Selendroid for Android API level 15 or less
Appium Architecture
![Page 16: Appium Mobile Test Automation like WebDriver](https://reader033.fdocuments.us/reader033/viewer/2022052307/554d1fdcb4c905c5208b4a14/html5/thumbnails/16.jpg)
iOS
Android
![Page 17: Appium Mobile Test Automation like WebDriver](https://reader033.fdocuments.us/reader033/viewer/2022052307/554d1fdcb4c905c5208b4a14/html5/thumbnails/17.jpg)
One Test - Two Platforms!
![Page 18: Appium Mobile Test Automation like WebDriver](https://reader033.fdocuments.us/reader033/viewer/2022052307/554d1fdcb4c905c5208b4a14/html5/thumbnails/18.jpg)
![Page 19: Appium Mobile Test Automation like WebDriver](https://reader033.fdocuments.us/reader033/viewer/2022052307/554d1fdcb4c905c5208b4a14/html5/thumbnails/19.jpg)
Real devices (iOS, Android)
Simulators | Emulators
Native apps (iOS, Android, FirefoxOS)
Hybrid apps (iOS, Android, FirefoxOS)
Mobile web (Safari for iOS, Chrome for Android)
Robot – controlled devices
Platforms
![Page 20: Appium Mobile Test Automation like WebDriver](https://reader033.fdocuments.us/reader033/viewer/2022052307/554d1fdcb4c905c5208b4a14/html5/thumbnails/20.jpg)
Java
Objective-C
JavaScript with Node.js
PHP, Python, Ruby,
C#, Clojure, Perl
e.g. any language that can create HTTP Request
Languages
![Page 21: Appium Mobile Test Automation like WebDriver](https://reader033.fdocuments.us/reader033/viewer/2022052307/554d1fdcb4c905c5208b4a14/html5/thumbnails/21.jpg)
Inspector
![Page 22: Appium Mobile Test Automation like WebDriver](https://reader033.fdocuments.us/reader033/viewer/2022052307/554d1fdcb4c905c5208b4a14/html5/thumbnails/22.jpg)
https://saucelabs.com/mobile
!
http://testingbot.com/support/other/mobile
Cloud?
![Page 23: Appium Mobile Test Automation like WebDriver](https://reader033.fdocuments.us/reader033/viewer/2022052307/554d1fdcb4c905c5208b4a14/html5/thumbnails/23.jpg)
Conclusion!
Appium tests your production app
Cross-platform tests
WebDriver API
Language agnostic
![Page 24: Appium Mobile Test Automation like WebDriver](https://reader033.fdocuments.us/reader033/viewer/2022052307/554d1fdcb4c905c5208b4a14/html5/thumbnails/24.jpg)
Problems?
Stability
Bugs
Documentation
![Page 25: Appium Mobile Test Automation like WebDriver](https://reader033.fdocuments.us/reader033/viewer/2022052307/554d1fdcb4c905c5208b4a14/html5/thumbnails/25.jpg)
http://appium.io/get-involved.html
https://github.com/appium/appium
Contribute?
![Page 27: Appium Mobile Test Automation like WebDriver](https://reader033.fdocuments.us/reader033/viewer/2022052307/554d1fdcb4c905c5208b4a14/html5/thumbnails/27.jpg)
https://github.com/appium/appium/tree/master/docs
http://appium.io
https://saucelabs.com/appium/tutorial