SlideShare a Scribd company logo
Mobile Grid Setup
Belfast Selenium Meetup
October 15, 2015
Mobile Cloud Test Services
* personal favorites
• Sauce Labs *
• Test Object *
• Amazon Test Cloud (was Appthwack *)
• Google Test Lab (was Appurify)
• Perfecto Mobile *
• Testdroid
• Xamarin
• TouchTest
• Keynote (was Device Anywhere)
• And many more…
The Cloud
• The Pros:
• It’s the present and the future of automated testing.
• Ease of setup and integration.
• Save on costs of buying mobile devices.
• Some services provide you with good analytics and reporting.
• Some services integrate well with cloud CI services. (e.g. TravisCI)
• You expose your app to a much larger range of devices and OS’s.
• The Cons:
• It can be difficult to narrow down issues.
• Is it my network?
• Is it their network or somewhere in-between?
• Is there a problem with my test script?
• Is there a problem with my test framework?
• Is there a bug with my language bindings?
• Is my app at fault?
• The costs can be significant if running full-time CI.
• Tests could take an incredible amount of time to complete.
• Latency.
• This could also depend on the tier of service you have.
• Tests could occasionally hang or timeout without any helpful information as to why.
The Mobile Grid
• The Pros:
• It’s not that difficult once you know how.
• The awesome Appium developers baked a grid node into the Appium server.
• appium —nodeconfig android.json -p 4000 -bp 2250 —udid emulator-5554 (or device udid)
• In the long run you will save money.
• You have all you're critical test data local for debugging.
• You’re not handcuffed to a cloud test services 24/7 availability.
• Outages.
• Bugs in their software.
• Acquired by another company.
• You have a bit more flexibility capturing data to include in test reports.
• e.g. You have full access to every connected device.
• The Cons:
• It can be difficult to know where to begin.
• Tough finding documentation or examples.
• Takes a bit of time to setup and smoothing out.
• Require some degree of dev-ops knowledge.
• Random device issue. (I’ll cover this later.)
What I’ll demo…
• Getting connected devices programmatically.
• Launching Appium nodes programmatically.
• Running tests distributed.
• Running tests in parallel.
• Feeding test data into Allure.
• Generating the Allure report.
• Lets briefly look at the code…
Appium & Hub Server Methods
Rake File
Spec Helper
Spec Example
• Run the examples:
• Distributed: rake android[dist]
• https://www.dropbox.com/s/8md7ihp2i6pc5pw/distributed.mov?dl=0
• Parallel: rake android[parallel]
• https://www.dropbox.com/s/o7f6gb7chq51xya/parallel.mov?dl=0
• Generate the Allure report.
• allure generate report output/allure/*
• allure report open
• https://www.dropbox.com/s/a8g0erkabpa5zny/signup_failure.mov?dl=0
• Wunderlist Mobile Grid
• https://www.dropbox.com/s/y5xsmnxfldguzr0/grid-trimmed.mov?dl=0
The Demo
Wunderlist Mobile Grid
Belfast Selenium Meetup
That is great & all but reporting is key!
Challenges
• Random adb disconnects.
• Solved this by programmatically rebooting USB hubs before every test run.
• Random WiFi disconnects.
• Possible Solutions:
• Reverse USB tethering.
• WiFi connection apps.
• Using multiple routers on different channels.
• Spreading the devices apart.
• Alternatives to real devices:
• Using emulators with VNC clients. Facebook does this.
• Using Genymotion emulators. It’s the closest software to a real device.
• Using Docker containers with android emulators as nodes to connect to a hub.
• Some devices behave erratically.
• Finding relavent documentation.
• Finding solid examples.
Thank You!
• email: justin.ison@gmail.com
• twitter: @isonic1
• https://github.com/isonic1/selenium-conf-2015

More Related Content

What's hot (20)

PPTX
Selenium and Appium Training from Sauce Labs
Sauce Labs
 
PDF
SeleniumCamp 2015 Andrii Soldatenko
Andrii Soldatenko
 
PPTX
Best Practices in Mobile CI (webinar)
Sauce Labs
 
PPTX
How to build webapps with tools
Pasindu Perera
 
PDF
Awesome Test Automation Made Simple w/ Dave Haeffner
Sauce Labs
 
PPT
VodQA_ParallelizingCukes_AmanKing
poojaelkunchwar
 
PPTX
Introduction to cypress in Angular (Chinese)
Hong Tat Yew
 
PDF
Vijay & Supriya - Test your service not your ui
vodQA
 
PPTX
Advanced Appium
Dan Cuellar
 
POTX
Simplify CI with the Updated Jenkins Plugin for Sauce Labs
Sauce Labs
 
PDF
Architecture of automated test cases for legacy applications
Mikhail Vasylchenko
 
PPTX
Cypress workshop for JSFoo 2019
Biswajit Pattanayak
 
PDF
Selenium conference, 2016
Pooja Shah
 
PDF
PyCon Ukraine 2014
Andrii Soldatenko
 
PDF
Continuous Testing Meets the Classroom at Code.org
Sauce Labs
 
PDF
Selenium Testing on Chrome - Google DevFest Armenia 2015
Sargis Sargsyan
 
PDF
Scaling your Automated Tests: Docker and Kubernetes
Manoj Kumar Kumar
 
PDF
Андрей Солдатенко. Разработка высокопроизводительныx функциональных тестов д...
Alina Dolgikh
 
PDF
Android Device Labs
Godfrey Nolan
 
PDF
Automated testing with Cypress
Yong Shean Chong
 
Selenium and Appium Training from Sauce Labs
Sauce Labs
 
SeleniumCamp 2015 Andrii Soldatenko
Andrii Soldatenko
 
Best Practices in Mobile CI (webinar)
Sauce Labs
 
How to build webapps with tools
Pasindu Perera
 
Awesome Test Automation Made Simple w/ Dave Haeffner
Sauce Labs
 
VodQA_ParallelizingCukes_AmanKing
poojaelkunchwar
 
Introduction to cypress in Angular (Chinese)
Hong Tat Yew
 
Vijay & Supriya - Test your service not your ui
vodQA
 
Advanced Appium
Dan Cuellar
 
Simplify CI with the Updated Jenkins Plugin for Sauce Labs
Sauce Labs
 
Architecture of automated test cases for legacy applications
Mikhail Vasylchenko
 
Cypress workshop for JSFoo 2019
Biswajit Pattanayak
 
Selenium conference, 2016
Pooja Shah
 
PyCon Ukraine 2014
Andrii Soldatenko
 
Continuous Testing Meets the Classroom at Code.org
Sauce Labs
 
Selenium Testing on Chrome - Google DevFest Armenia 2015
Sargis Sargsyan
 
Scaling your Automated Tests: Docker and Kubernetes
Manoj Kumar Kumar
 
Андрей Солдатенко. Разработка высокопроизводительныx функциональных тестов д...
Alina Dolgikh
 
Android Device Labs
Godfrey Nolan
 
Automated testing with Cypress
Yong Shean Chong
 

Viewers also liked (14)

PPTX
How to Give a Successful Lightning Talk
Dan Cuellar
 
PDF
Startupfest 2012- Evolution or revolution: where’s the best place to start from?
Startupfest
 
DOCX
Ensayo.docx (2)
AlejandraNYA
 
PPT
Prominent Businessmen League
UkrAPR
 
PPTX
Presentacion de avances tecnológicos.
EliangelisLugo
 
PPT
Prezentare eng
Florentina RC
 
PDF
Manual de serviço nx200 xr partida2
Thiago Huari
 
PPTX
Sports
Skye17262923
 
PPTX
2.04 ppt
Mandy Lin
 
PPTX
Getting Started with Mobile Test Automation & Appium
Sauce Labs
 
PPTX
La sociedad multiétnica y pluricultural
21Doez
 
PDF
Appium: Automation for Mobile Apps
Sauce Labs
 
PDF
8 najczęstszych problemów związanych z planowaniem produkcji
PSI Polska Sp. z o.o.
 
How to Give a Successful Lightning Talk
Dan Cuellar
 
Startupfest 2012- Evolution or revolution: where’s the best place to start from?
Startupfest
 
Ensayo.docx (2)
AlejandraNYA
 
Prominent Businessmen League
UkrAPR
 
Presentacion de avances tecnológicos.
EliangelisLugo
 
Prezentare eng
Florentina RC
 
Manual de serviço nx200 xr partida2
Thiago Huari
 
Sports
Skye17262923
 
2.04 ppt
Mandy Lin
 
Getting Started with Mobile Test Automation & Appium
Sauce Labs
 
La sociedad multiétnica y pluricultural
21Doez
 
Appium: Automation for Mobile Apps
Sauce Labs
 
8 najczęstszych problemów związanych z planowaniem produkcji
PSI Polska Sp. z o.o.
 
Ad

Similar to Belfast Selenium Meetup (20)

PDF
5 Steps to Jump Start Your Test Automation
Sauce Labs
 
PPTX
Testing for Logic App Solutions | Integration Monday
BizTalk360
 
PPTX
Reliable mobile test automation
Vishal Banthia
 
PPTX
EuroSTAR presentation: What's in the cloud for testing, the sky is the limit
Edwin Loon, van
 
PDF
Threat Modeling the CI/CD Pipeline to Improve Software Supply Chain Security ...
Denim Group
 
PDF
Is Serverless The New Swiss Cheese? - AWS Seattle User Group
Chase Douglas
 
PPTX
Mobile App Quality Roadmap for DevTest Teams
Perfecto by Perforce
 
PPTX
Continuous Integration (CI) is about more than releases
Chris Riley ☁
 
ODP
Dev ops ci-ap-is-oh-my_security-gone-agile_ut-austin
Matt Tesauro
 
PPTX
Automation: The Good, The Bad and The Ugly with DevOpsGuys - AppD Summit Europe
AppDynamics
 
PPTX
DevOpsGuys - DevOps Automation - The Good, The Bad and The Ugly
DevOpsGroup
 
PPTX
Operating a High Velocity Large Organization with Spring Cloud Microservices
Noriaki Tatsumi
 
PPTX
When & How to Successfully use Test Automation for Mobile Applications
TechnologyAssociationOregon
 
PDF
Experience in teaching devops
Len Bass
 
PDF
Getting to Walk with DevOps
Eklove Mohan
 
PPTX
Cloud and agile software projects: Overview and Benefits
Guillaume Berche
 
PPTX
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
hemasubbu08
 
PPTX
Performance testing with VSTs on- and off-premises
Jeff Bramwell
 
PPT
Встреча "QA: в каких направлениях может найти себя тестировщик?"
GoIT
 
PDF
Getting Ahead of Delivery Issues with Deep SDLC Analysis by Donald Belcham
.NET Conf UY
 
5 Steps to Jump Start Your Test Automation
Sauce Labs
 
Testing for Logic App Solutions | Integration Monday
BizTalk360
 
Reliable mobile test automation
Vishal Banthia
 
EuroSTAR presentation: What's in the cloud for testing, the sky is the limit
Edwin Loon, van
 
Threat Modeling the CI/CD Pipeline to Improve Software Supply Chain Security ...
Denim Group
 
Is Serverless The New Swiss Cheese? - AWS Seattle User Group
Chase Douglas
 
Mobile App Quality Roadmap for DevTest Teams
Perfecto by Perforce
 
Continuous Integration (CI) is about more than releases
Chris Riley ☁
 
Dev ops ci-ap-is-oh-my_security-gone-agile_ut-austin
Matt Tesauro
 
Automation: The Good, The Bad and The Ugly with DevOpsGuys - AppD Summit Europe
AppDynamics
 
DevOpsGuys - DevOps Automation - The Good, The Bad and The Ugly
DevOpsGroup
 
Operating a High Velocity Large Organization with Spring Cloud Microservices
Noriaki Tatsumi
 
When & How to Successfully use Test Automation for Mobile Applications
TechnologyAssociationOregon
 
Experience in teaching devops
Len Bass
 
Getting to Walk with DevOps
Eklove Mohan
 
Cloud and agile software projects: Overview and Benefits
Guillaume Berche
 
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
hemasubbu08
 
Performance testing with VSTs on- and off-premises
Jeff Bramwell
 
Встреча "QA: в каких направлениях может найти себя тестировщик?"
GoIT
 
Getting Ahead of Delivery Issues with Deep SDLC Analysis by Donald Belcham
.NET Conf UY
 
Ad

Recently uploaded (20)

PDF
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
PDF
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
PDF
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
PPTX
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
PDF
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
PDF
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
PDF
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
PDF
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
PDF
TrustArc Webinar - Navigating Data Privacy in LATAM: Laws, Trends, and Compli...
TrustArc
 
PDF
Build with AI and GDG Cloud Bydgoszcz- ADK .pdf
jaroslawgajewski1
 
PDF
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
PPTX
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
PDF
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
PDF
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
PDF
Researching The Best Chat SDK Providers in 2025
Ray Fields
 
PPTX
AVL ( audio, visuals or led ), technology.
Rajeshwri Panchal
 
PPTX
Simple and concise overview about Quantum computing..pptx
mughal641
 
PDF
State-Dependent Conformal Perception Bounds for Neuro-Symbolic Verification
Ivan Ruchkin
 
PPTX
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
TrustArc Webinar - Navigating Data Privacy in LATAM: Laws, Trends, and Compli...
TrustArc
 
Build with AI and GDG Cloud Bydgoszcz- ADK .pdf
jaroslawgajewski1
 
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
Researching The Best Chat SDK Providers in 2025
Ray Fields
 
AVL ( audio, visuals or led ), technology.
Rajeshwri Panchal
 
Simple and concise overview about Quantum computing..pptx
mughal641
 
State-Dependent Conformal Perception Bounds for Neuro-Symbolic Verification
Ivan Ruchkin
 
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 

Belfast Selenium Meetup

  • 1. Mobile Grid Setup Belfast Selenium Meetup October 15, 2015
  • 2. Mobile Cloud Test Services * personal favorites • Sauce Labs * • Test Object * • Amazon Test Cloud (was Appthwack *) • Google Test Lab (was Appurify) • Perfecto Mobile * • Testdroid • Xamarin • TouchTest • Keynote (was Device Anywhere) • And many more…
  • 3. The Cloud • The Pros: • It’s the present and the future of automated testing. • Ease of setup and integration. • Save on costs of buying mobile devices. • Some services provide you with good analytics and reporting. • Some services integrate well with cloud CI services. (e.g. TravisCI) • You expose your app to a much larger range of devices and OS’s. • The Cons: • It can be difficult to narrow down issues. • Is it my network? • Is it their network or somewhere in-between? • Is there a problem with my test script? • Is there a problem with my test framework? • Is there a bug with my language bindings? • Is my app at fault? • The costs can be significant if running full-time CI. • Tests could take an incredible amount of time to complete. • Latency. • This could also depend on the tier of service you have. • Tests could occasionally hang or timeout without any helpful information as to why.
  • 4. The Mobile Grid • The Pros: • It’s not that difficult once you know how. • The awesome Appium developers baked a grid node into the Appium server. • appium —nodeconfig android.json -p 4000 -bp 2250 —udid emulator-5554 (or device udid) • In the long run you will save money. • You have all you're critical test data local for debugging. • You’re not handcuffed to a cloud test services 24/7 availability. • Outages. • Bugs in their software. • Acquired by another company. • You have a bit more flexibility capturing data to include in test reports. • e.g. You have full access to every connected device. • The Cons: • It can be difficult to know where to begin. • Tough finding documentation or examples. • Takes a bit of time to setup and smoothing out. • Require some degree of dev-ops knowledge. • Random device issue. (I’ll cover this later.)
  • 5. What I’ll demo… • Getting connected devices programmatically. • Launching Appium nodes programmatically. • Running tests distributed. • Running tests in parallel. • Feeding test data into Allure. • Generating the Allure report. • Lets briefly look at the code…
  • 6. Appium & Hub Server Methods
  • 10. • Run the examples: • Distributed: rake android[dist] • https://www.dropbox.com/s/8md7ihp2i6pc5pw/distributed.mov?dl=0 • Parallel: rake android[parallel] • https://www.dropbox.com/s/o7f6gb7chq51xya/parallel.mov?dl=0 • Generate the Allure report. • allure generate report output/allure/* • allure report open • https://www.dropbox.com/s/a8g0erkabpa5zny/signup_failure.mov?dl=0 • Wunderlist Mobile Grid • https://www.dropbox.com/s/y5xsmnxfldguzr0/grid-trimmed.mov?dl=0 The Demo
  • 13. That is great & all but reporting is key!
  • 14. Challenges • Random adb disconnects. • Solved this by programmatically rebooting USB hubs before every test run. • Random WiFi disconnects. • Possible Solutions: • Reverse USB tethering. • WiFi connection apps. • Using multiple routers on different channels. • Spreading the devices apart. • Alternatives to real devices: • Using emulators with VNC clients. Facebook does this. • Using Genymotion emulators. It’s the closest software to a real device. • Using Docker containers with android emulators as nodes to connect to a hub. • Some devices behave erratically. • Finding relavent documentation. • Finding solid examples.
  • 15. Thank You! • email: [email protected] • twitter: @isonic1 • https://github.com/isonic1/selenium-conf-2015