16
MOBILE TEST AUTOMATION SELENIUM SELENDROID IOS-DRIVER MICHAEL PALOTAS 16.05.2014 Munich

Mobile test automation with Selenium, Selendroid and ios-driver

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Mobile test automation with Selenium, Selendroid and ios-driver

MOBILE TEST AUTOMATION

SELENIUM SELENDROID IOS-DRIVER

MICHAEL PALOTAS 16.05.2014 Munich

Page 2: Mobile test automation with Selenium, Selendroid and ios-driver

Michael Palotas Gerbiweg 2 8853 Lachen SWITZERLAND Email: [email protected]

2

WHO AM I?

Head of Productivity & Test Engineering, eBay

Founder, GRIDFUSION

Page 3: Mobile test automation with Selenium, Selendroid and ios-driver

AUTOMATION

… is software development

Page 4: Mobile test automation with Selenium, Selendroid and ios-driver

QUESTIONS TO ASK Reuse of existing infrastructure

Supported platforms Devices / Emulators

Mobile web + native app + webview App modification

Scaling Test stack integration / developer use

Continuous Integration support Reporting capabilities

Programming languages Runtime inspection / debugging

Jailbreak / Rooting

Page 5: Mobile test automation with Selenium, Selendroid and ios-driver

SELENIUM 2 / WEBDRIVER

JSON  WIRE    PROTOCOL  

Client  

Java  

C#  

Ruby  

Python  

Server  

i.e.  Selendroid,  iOS-­‐Driver  

Server  

Server  

Page 6: Mobile test automation with Selenium, Selendroid and ios-driver

SCALING - SELENIUM GRID

6

Page 7: Mobile test automation with Selenium, Selendroid and ios-driver

SCALING – SELENIUM GRID

CI  

DEV  

….  

SELENIUM  GRID  HUB  

IOS   ANDROID  

LINUX  

WINDOWS  

OSX  

Page 8: Mobile test automation with Selenium, Selendroid and ios-driver

TEST INFRASTRUCTURE

8

AUT

 DB

API

Browsers  Mobiles

Page 9: Mobile test automation with Selenium, Selendroid and ios-driver

A SIMPLE WEB TEST

Page 10: Mobile test automation with Selenium, Selendroid and ios-driver

A SIMPLE MOBILE TEST

Page 11: Mobile test automation with Selenium, Selendroid and ios-driver

WHAT ABOUT NATIVE APPS?

Page 12: Mobile test automation with Selenium, Selendroid and ios-driver

WHAT IS THE DIFFERENCE?

Page 13: Mobile test automation with Selenium, Selendroid and ios-driver

DEMO

hLp://vimeo.com/gridfusion/mobile-­‐automaTon  

Page 14: Mobile test automation with Selenium, Selendroid and ios-driver

OPEN SOURCE

It is free Invest into people instead of licenses

Faster innovation Independence

Employee engagement Hiring advantage

Requires a different mindset

Page 15: Mobile test automation with Selenium, Selendroid and ios-driver

LESSONS LEARNED

Automation is software development

Ask the right questions beforehand

Think holistically: Web + Mobile

Think about scaling

Not everything needs to be automated

Try Open Source

Page 16: Mobile test automation with Selenium, Selendroid and ios-driver

THANK YOU Email: [email protected] Twitter: @michael_palotas LinkedIn: http://ch.linkedin.com/in/michaelpalotas XING: http://www.xing.com/profile/Michael_Palotas