Mobile test automation with Selenium, Selendroid and ios-driver

Post on 05-Dec-2014

1,315 views 2 download

description

 

transcript

MOBILE TEST AUTOMATION

SELENIUM SELENDROID IOS-DRIVER

MICHAEL PALOTAS 16.05.2014 Munich

Michael Palotas Gerbiweg 2 8853 Lachen SWITZERLAND Email: michael.palotas@gridfusion.net

2

WHO AM I?

Head of Productivity & Test Engineering, eBay

Founder, GRIDFUSION

AUTOMATION

… is software development

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

SELENIUM 2 / WEBDRIVER

JSON  WIRE    PROTOCOL  

Client  

Java  

C#  

Ruby  

Python  

Server  

i.e.  Selendroid,  iOS-­‐Driver  

Server  

Server  

SCALING - SELENIUM GRID

6

SCALING – SELENIUM GRID

CI  

DEV  

….  

SELENIUM  GRID  HUB  

IOS   ANDROID  

LINUX  

WINDOWS  

OSX  

TEST INFRASTRUCTURE

8

AUT

 DB

API

Browsers  Mobiles

A SIMPLE WEB TEST

A SIMPLE MOBILE TEST

WHAT ABOUT NATIVE APPS?

WHAT IS THE DIFFERENCE?

DEMO

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

OPEN SOURCE

It is free Invest into people instead of licenses

Faster innovation Independence

Employee engagement Hiring advantage

Requires a different mindset

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

THANK YOU Email: michael.palotas@gridfusion.net Twitter: @michael_palotas LinkedIn: http://ch.linkedin.com/in/michaelpalotas XING: http://www.xing.com/profile/Michael_Palotas