Slide 1

Slide 1 text

Appium: The Next Generation Jonathan Lipps • Founding Principal • Cloud Grey 
 @AppiumDevs • @cloudgrey_io • @jlipps • appiumpro.com AppiumConf 2019 · Bengaluru June 14, 2019

Slide 2

Slide 2 text

Founding Principal All The Things Jonathan Lipps • Founding Principal • Cloud Grey 
 @AppiumDevs • @cloudgrey_io • @jlipps • appiumpro.com

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

Recognition

Slide 5

Slide 5 text

Changes

Slide 6

Slide 6 text

@jlipps · cloudgrey.io The stakes are getting higher. Your job is getting more complex. How to keep up with it all?

Slide 7

Slide 7 text

Visual Testing Performance Testing UX Testing A/V Testing …and more Beyond Functional Testing @jlipps · cloudgrey.io

Slide 8

Slide 8 text

Has my app’s visual appearance changed? Intrusive or absent elements Style / design bugs Form factor / layout bugs I18N bugs Visual Testing @jlipps · cloudgrey.io

Slide 9

Slide 9 text

Is my app responsive enough? Code blocking UI thread Slow network or poor network stack design Resource (CPU/Mem) overuse Old hardware or ignored locales Performance Testing @jlipps · cloudgrey.io

Slide 10

Slide 10 text

Is my app’s media consumable? How would a human listener / viewer rate it? Dropped frames A/V failing to play Compression artifacts Streaming server issues A/V Testing @jlipps · cloudgrey.io

Slide 11

Slide 11 text

@jlipps · cloudgrey.io Your job is getting more complex. Are your tools keeping up?

Slide 12

Slide 12 text

Tool Fatigue @jlipps · cloudgrey.io Automation Tools CI/Build Tools App Dev Tools Network Simulation Tools Load Generation Tools A/V Capture Tools Test Frameworks Testcase Management Test Design Tools Image Comparison Tools Performance Monitoring API Testing Tools

Slide 13

Slide 13 text

Image analysis UX data analysis Test metadata analysis Test authoring tools Test discovery / generation tools AI/ML for Testing @jlipps · cloudgrey.io

Slide 14

Slide 14 text

@jlipps · cloudgrey.io Where does Appium fit? ⚙

Slide 15

Slide 15 text

@jlipps · cloudgrey.io Appium is the common interface for platform automation

Slide 16

Slide 16 text

Less cognitive overload: one API everywhere Platform extensibility: new Webdriver-compatible drivers are trivial to build Feature extensibility: single-purpose plugins (Appium 2.0) Mix and match the drivers and plugins you need (Appium 2.0) Big umbrella, big community, open perspective Benefits of Appium’s Philosophy @jlipps · cloudgrey.io

Slide 17

Slide 17 text

@jlipps · cloudgrey.io Appium won’t do everything! %

Slide 18

Slide 18 text

@jlipps · cloudgrey.io Peaceful coexistence of an open source core and high-quality service ecosystem

Slide 19

Slide 19 text

Image recognition (find element by image, image comparison) AI (test.ai classifier plugin) Batch commands for faster cloud execution Important platform updates and maintenance Adding new and useful features whenever possible But Appium will keep up! @jlipps · cloudgrey.io

Slide 20

Slide 20 text

A Fun Example

Slide 21

Slide 21 text

Back in 2016…

Slide 22

Slide 22 text

(REBEL APPLIANCE SHIP FLEES THE GOOGLACTIC EMPIRE) Back in 2016…

Slide 23

Slide 23 text

assertEqual(len(ship.torpedos), 4) trigger = driver.find_element_by_id(“proton_torpedo”) trigger.click() assertEqual(len(ship.torpedos), 2) Back in 2016…

Slide 24

Slide 24 text

No content

Slide 25

Slide 25 text

No content

Slide 26

Slide 26 text

No content

Slide 27

Slide 27 text

No content

Slide 28

Slide 28 text

No content

Slide 29

Slide 29 text

No content

Slide 30

Slide 30 text

@jlipps · cloudgrey.io

Slide 31

Slide 31 text

@jlipps · cloudgrey.io

Slide 32

Slide 32 text

No content

Slide 33

Slide 33 text

@jlipps · cloudgrey.io

Slide 34

Slide 34 text

No content

Slide 35

Slide 35 text

No content

Slide 36

Slide 36 text

@jlipps · cloudgrey.io

Slide 37

Slide 37 text

@jlipps · cloudgrey.io

Slide 38

Slide 38 text

@jlipps · cloudgrey.io

Slide 39

Slide 39 text

@jlipps · cloudgrey.io

Slide 40

Slide 40 text

⚠ Live Electronics Demo ⚠

Slide 41

Slide 41 text

The WebDriver API is pretty flexible! Appium can run a lot of places, even on Rasberry PIs or other little things It was easy to create a driver for Rasberry PI GPIO header (< 250 LOC) Is IoT hardware automation useful? Unclear. But it’s fun! Get out there and do creative stuff with Appium! Conclusions @jlipps · cloudgrey.io

Slide 42

Slide 42 text

@jlipps · cloudgrey.io Sorry, no music performance this year!

Slide 43

Slide 43 text

@jlipps · cloudgrey.io When There Was Still Code to Write Planned Obsolescence Ghost in the Machine AppiumConf 2018 LXJS 2014 LXJS 2013 Released everywhere 6/18! Follow @splendoursounds

Slide 44

Slide 44 text

Thank You! Don’t forget to sign up for Your free weekly Appium newsletter appiumpro.com Jonathan Lipps • Founding Principal • Cloud Grey 
 @AppiumDevs • @cloudgrey_io • @jlipps • appiumpro.com