Date post: | 22-Jan-2018 |
Category: |
Technology |
Upload: | sirius-dely |
View: | 206 times |
Download: | 0 times |
APPIUM INTRODUCTIONSUI AUTOMATION TEST FOR IOS & ANDROID
SIRIUS DELY27 MAY 2015
UI AUTOMATION(?)Automate user's interaction with the app's UI: tapping button, filling forms,
waiting for specific outcome from the app.
BENEFITS:Automated for sure, for regression tests
Using compiled builds from developer, automation tester
(engineer) doesn't need to compile from codes.
DRAWBACKS:Something to learn, takes time at the beginning (for learning
also while implementing on projects).
Still need to do some 'developer' setups: installing simulators &
SDKS.
APPIUMOpen-source tool for automating native, mobile web, and
hybrid applications on iOS and Android platforms.
"Cross-platform", write tests once for multiple platforms: iOS
& Android
('ideally': if the UI is totally the same, and each developer give thesame 'tag' for all the UI elements between different platforms).
APPIUM'S PHILOSOPHY
#1 "You shouldn't have to recompile your app or modify it in
any way in order to automate it."
By using each platform's native automation frameworks:
, ,
.
We're testing the same app we're shipping!
iOS
UIAutomation Android 4.2+ UiAutomator Android 2.3+
Instrumentation
#2 "A mobile automation framework shouldn't reinvent the
wheel when it comes to automation APIs."
Wrap each of those platform's automation frameworks into
One client-server API: .Selenium WebDriver
#3 "You shouldn't be locked into a specific language or
framework to write and run your tests."
Selenium WebDriver API already has clients written in
.
Appium Team has for iOS & Android.
many
popular programming language
extended WebDriver
#4 "A mobile automation framework should be open source, in
spirit and practice as well as in name!"
Appium is !open-source