Advance Appium Workshop
Appium
● An open source, cross platform tool for
automating native, mobile web and hybrid
applications
● It allows you to run your tests on real
devices, emulator and simulators.
● It supports automation for iOS, Android and
Windows Apps.
● It also provide client libraries in different
popular languages
ARCHITECTURE
Android - UIAutomator2
Webdriver
Script
W3C WebDriver Protocol
● What is W3C?
● What do they do?
● What is W3C Standard?
● On June 5, 2018 WebDriver added to a
W3C recommendation
● Selenium has moved to W3C standards from
- 3.14.0
● Appium Started adopting to W3C in 1.8.0
and 1.9.0 fully supports W3C
W3C Adoption
WebDriver Adoption
Safari Driver Yes
Chrome Driver Partially
Firefox Driver Yes
Opera Driver Yes
IE Driver Yes
Appium(Android and iOS Driver) Yes
Android - Espresso
● Provides automatic synchronization of test
actions with the UI
● Powerful Matchers available
● Access to App internals - WebViews
Espresso Driver
DEMO
GESTURES
Horizontal Swiping Using Touch Action
X Axis
Y Axis
(0,H/2)
(0,0)
(W/2,H/2)
Slider Element
Vertical Swiping Using Touch Action
X Axis
Y Axis
(0,0)
HEIGHT
Width
(W/2, H-20)
(W/2, H/2 + 50)
Horizontal Swiping- Using Action API
(x+400,Y)
Slider Element
X-Axis
Y-Axis
X
Y
Actions
Source 1
pointerDown
(element1)
pointerMove
(x1+200,y1)
pointerUp()
Tick 1 Tick 2 Tick 4
pointerMove
(x1,y1)
Tick 3
Multi Touch Actions
Source 1
pointerDown
(element1)
pointerMove
(x1+400,y1)
pointerUp()
Source 2
pointerDown
(element2)
pointerMove
(x2+200,y2)
pointerUp()
Tick 2 Tick 3 Tick 4
pointerMove
(x1,y1)
pointerMove
(x2,y2)
Tick 1
HANDS-ON
References
• vodQA Github -
https://github.com/shridharkalagi/VodQa
AdvancedAppium
• W3C Webdriver Specification -
https://w3c.github.io/webdriver/
• Appium Architecture -
https://github.com/appium/appium-uiauto
mator2-server/wiki
THANK YOU
Q & A

Advance appium workshop.pptx