SlideShare a Scribd company logo
Zalenium - How to run Selenium Script using Docker and Selenium Grid
Moataz Nabil
Software Engineer in Test
Zalando Lounge
Berlin , Germany
09.05.2018
Zalenium
How to run Selenium Scripts
using Docker and Selenium
Grid
AGENDA
Who Am I ?
What is Selenium / Selenium Grid
The Idea
What is Zalenium?
How it works
Demo
Questions
WHO AM I ?
Moataz Nabil
Software Engineer in Test
CSM , MCSD-ALM , ISTQB Certified
@moatazeldebsy
moataznabil.net
OUR PROBLEM
Run large test suites form multiple products as
part of our continues integration process with
a very small number of QA Engineers is very
expensive.
Selenium Family
Selenium
Selenium
IDE
Selenium
WebDriver
Selenium
Grid
Selenium WebDriver
Selenium WebDriver tool is
used to automate web
application testing to verify
that it works as expected.
It supports many browsers
such as Firefox, Chrome, IE,
and Safari.
WebDriver = TaxiDriver :D
Selenium Grid
• Run your tests against different
browsers , operating systems and
machines all at the same time.
(Parallel testing)
• Save time in the execution of your
test suite.
Have you tried to build your
own selenium grid before ?!
The old way
1- Download Selenium standalone Server jar file
2- Invoke the Selenium Grid Hub
• java –jar selenium-server-standalone-3.11.0.jar -role hub
3- Invoke the Node with Firefox
• java –jar selenium-server-standalone-3.11.0.jar -role
webdriver -hub http://localhost:4444/grid/register -port 5556
-browser browserName=firefox
4- Invoke the Node with Chrome
• java –jar selenium-server-standalone-3.11.0.jar -role
webdriver -hub http://localhost:4444/grid/register -port 5566
-browser browserName=chrome
The Selenium Grid is running now >> http://localhost:4444/grid/console
http://localhost:4444/grid/console
Docker
• Secure by default
• Build for scale
• Extensible and flexible
The IDEA (Selenium Grid + Docker)
A selenium grid that scales using
docker-selenium containers...
...and all non supported
capabilities are sent to a cloud
testing provider.
What does Zalenium mean?
Is the result of mixing Zalando and Selenium
What is Zalenium ?
Dynamic, on-demand Selenium Grid to run UI tests with Selenium
Expands during run time
Based on docker-selenium
Simple to setup and run (Get a grid up and running in a few seconds)
Integrate with cloud testing providers
Live Preview and recorded videos with logs after your tests completed
Zalenium also has support for
github.com/zalando/zalenium
zalando.github.io/zalenium/
Zalenium - How to run Selenium Script using Docker and Selenium Grid
Run it
One line installer
One line installer and starter for OSX/Linux
(it will check for the latest images and ask for missing dependencies)
Enabling Sauce Labs
(you'll need an account with them)
Selenium Grid With Zalenium
Live Preview
Dashboard
DEMO
When to use
Zalenium ?
• While developing tests locally.
• Run your UI tests in your CI environment for a
PR (Pull Request).
• You have a big server and want a local grid.
• When releasing:
• If Chrome and Firefox are enough, use only
Zalenium.
• Or combine it with a cloud testing provider
for better coverage.
Questions?
Thank you :)

More Related Content

What's hot (20)

PDF
Introduction to Selenium | Selenium Tutorial for Beginners | Selenium Trainin...
Edureka!
 
PPTX
Automation - web testing with selenium
Tzirla Rozental
 
PPT
Selenium Presentation at Engineering Colleges
Vijay Rangaiah
 
PDF
Selenium interview questions and answers
kavinilavuG
 
PPTX
Introduction to helm
Jeeva Chelladhurai
 
PPTX
DevOps Engineer [Arabic]
ahmadezzeir
 
PDF
Selenium Webdriver Interview Questions
Jai Singh
 
PPTX
Mashing Up DevOps with Cloud Computing
David Linthicum
 
DOCX
Realtime selenium interview questions
Kuldeep Pawar
 
PPTX
Introduction to selenium
Archana Krushnan
 
PDF
VMware
InstituteIBA
 
PDF
Kubernetes Security
inovex GmbH
 
PPTX
DevOps and Cloud
Fernando Honig
 
PDF
SSL Setup for Oracle 10g AS
Enkitec
 
PPTX
Vmware view overview
Manny Singh
 
PDF
AWS ECS vs EKS
Norberto Enomoto
 
PPTX
Docker–Grid (A On demand and Scalable dockerized selenium grid architecture)
STePINForum
 
PPTX
Introduction to cypress in Angular (Chinese)
Hong Tat Yew
 
PDF
CompTIA Security+ SY0-601 Domain 2
ShivamSharma909
 
PPT
Jenkins Overview
Ahmed M. Gomaa
 
Introduction to Selenium | Selenium Tutorial for Beginners | Selenium Trainin...
Edureka!
 
Automation - web testing with selenium
Tzirla Rozental
 
Selenium Presentation at Engineering Colleges
Vijay Rangaiah
 
Selenium interview questions and answers
kavinilavuG
 
Introduction to helm
Jeeva Chelladhurai
 
DevOps Engineer [Arabic]
ahmadezzeir
 
Selenium Webdriver Interview Questions
Jai Singh
 
Mashing Up DevOps with Cloud Computing
David Linthicum
 
Realtime selenium interview questions
Kuldeep Pawar
 
Introduction to selenium
Archana Krushnan
 
VMware
InstituteIBA
 
Kubernetes Security
inovex GmbH
 
DevOps and Cloud
Fernando Honig
 
SSL Setup for Oracle 10g AS
Enkitec
 
Vmware view overview
Manny Singh
 
AWS ECS vs EKS
Norberto Enomoto
 
Docker–Grid (A On demand and Scalable dockerized selenium grid architecture)
STePINForum
 
Introduction to cypress in Angular (Chinese)
Hong Tat Yew
 
CompTIA Security+ SY0-601 Domain 2
ShivamSharma909
 
Jenkins Overview
Ahmed M. Gomaa
 

Similar to Zalenium - How to run Selenium Script using Docker and Selenium Grid (20)

PDF
Easy Setup for Parallel Test Execution with Selenium Docker
Sargis Sargsyan
 
PDF
Getting Started with Dockerization of Selenium Tests Execution - Testwarez 2019
Sargis Sargsyan
 
PPTX
Be flexible with zalenium, a dockerized selenium grid infrastructure
Georgios Romanas
 
PPSX
Selenium - Introduction
ANKUR-BA
 
PPTX
Selenium - Introduction
Sachin-QA
 
PDF
How to Dockerize Parallel Execution of Selenium Tests - SQA Days EU, Rgia, La...
Sargis Sargsyan
 
PPTX
Selenium Introduction and IDE
Murageppa-QA
 
PPTX
Selenium
Satyam Pandey
 
PPTX
Selenium 101 Webinar
Daniel Herken
 
PPTX
Automated ui-testing
Slobodan Lohja
 
PPTX
Selenium 1
LakshmiVenkat12
 
PDF
Basics of Selenium IDE,Core, Remote Control
usha kannappan
 
PPTX
Selenium.pptxgsjdxhasdjhckcjjkdcbdcbvdciosdc
sumanthveeramallu9
 
PDF
TestWorks Conf Scalable QA with docker - Maarten van den Ende and Adé Mochtar
Xebia Nederland BV
 
PDF
Scalable QA With Docker
Maarten van den Ende
 
PPTX
Selenium- A Software Testing Tool
Zeba Tahseen
 
PDF
Automated UI testing.Selenium.DrupalCamp Kyiv 2011
camp_drupal_ua
 
PPTX
Intro
Vivek Rajasekar
 
PPTX
Selenium practical
Ruslan Strazhnyk
 
PPTX
Test Automation Using Selenium
Nikhil Kapoor
 
Easy Setup for Parallel Test Execution with Selenium Docker
Sargis Sargsyan
 
Getting Started with Dockerization of Selenium Tests Execution - Testwarez 2019
Sargis Sargsyan
 
Be flexible with zalenium, a dockerized selenium grid infrastructure
Georgios Romanas
 
Selenium - Introduction
ANKUR-BA
 
Selenium - Introduction
Sachin-QA
 
How to Dockerize Parallel Execution of Selenium Tests - SQA Days EU, Rgia, La...
Sargis Sargsyan
 
Selenium Introduction and IDE
Murageppa-QA
 
Selenium
Satyam Pandey
 
Selenium 101 Webinar
Daniel Herken
 
Automated ui-testing
Slobodan Lohja
 
Selenium 1
LakshmiVenkat12
 
Basics of Selenium IDE,Core, Remote Control
usha kannappan
 
Selenium.pptxgsjdxhasdjhckcjjkdcbdcbvdciosdc
sumanthveeramallu9
 
TestWorks Conf Scalable QA with docker - Maarten van den Ende and Adé Mochtar
Xebia Nederland BV
 
Scalable QA With Docker
Maarten van den Ende
 
Selenium- A Software Testing Tool
Zeba Tahseen
 
Automated UI testing.Selenium.DrupalCamp Kyiv 2011
camp_drupal_ua
 
Selenium practical
Ruslan Strazhnyk
 
Test Automation Using Selenium
Nikhil Kapoor
 
Ad

More from Moataz Nabil (10)

PPTX
Testing in DevOps world
Moataz Nabil
 
PPTX
Build your QA Pipeline using Serenity , Selenium WebDriver , Rest Assured and...
Moataz Nabil
 
PPTX
Mobile UI Testing using Appium and Docker
Moataz Nabil
 
PPTX
ISTQB Agile Tester - Agile Test Tools
Moataz Nabil
 
PPTX
Introducing DevOps
Moataz Nabil
 
PDF
A guide for automated testing
Moataz Nabil
 
PPT
Testing Frameworks
Moataz Nabil
 
PPT
Continuous Delivery with Visual Studio Online
Moataz Nabil
 
PPTX
Working Agile with Scrum and TFS 2013
Moataz Nabil
 
PPTX
Testing with Microsoft Technologies - Kick Off Session
Moataz Nabil
 
Testing in DevOps world
Moataz Nabil
 
Build your QA Pipeline using Serenity , Selenium WebDriver , Rest Assured and...
Moataz Nabil
 
Mobile UI Testing using Appium and Docker
Moataz Nabil
 
ISTQB Agile Tester - Agile Test Tools
Moataz Nabil
 
Introducing DevOps
Moataz Nabil
 
A guide for automated testing
Moataz Nabil
 
Testing Frameworks
Moataz Nabil
 
Continuous Delivery with Visual Studio Online
Moataz Nabil
 
Working Agile with Scrum and TFS 2013
Moataz Nabil
 
Testing with Microsoft Technologies - Kick Off Session
Moataz Nabil
 
Ad

Recently uploaded (20)

PDF
Python basic programing language for automation
DanialHabibi2
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
PDF
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
PDF
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PDF
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
PDF
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PDF
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
PDF
Complete JavaScript Notes: From Basics to Advanced Concepts.pdf
haydendavispro
 
PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
Python basic programing language for automation
DanialHabibi2
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
Complete JavaScript Notes: From Basics to Advanced Concepts.pdf
haydendavispro
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 

Zalenium - How to run Selenium Script using Docker and Selenium Grid

  • 2. Moataz Nabil Software Engineer in Test Zalando Lounge Berlin , Germany 09.05.2018 Zalenium How to run Selenium Scripts using Docker and Selenium Grid
  • 3. AGENDA Who Am I ? What is Selenium / Selenium Grid The Idea What is Zalenium? How it works Demo Questions
  • 4. WHO AM I ? Moataz Nabil Software Engineer in Test CSM , MCSD-ALM , ISTQB Certified @moatazeldebsy moataznabil.net
  • 5. OUR PROBLEM Run large test suites form multiple products as part of our continues integration process with a very small number of QA Engineers is very expensive.
  • 7. Selenium WebDriver Selenium WebDriver tool is used to automate web application testing to verify that it works as expected. It supports many browsers such as Firefox, Chrome, IE, and Safari. WebDriver = TaxiDriver :D
  • 8. Selenium Grid • Run your tests against different browsers , operating systems and machines all at the same time. (Parallel testing) • Save time in the execution of your test suite.
  • 9. Have you tried to build your own selenium grid before ?!
  • 10. The old way 1- Download Selenium standalone Server jar file 2- Invoke the Selenium Grid Hub • java –jar selenium-server-standalone-3.11.0.jar -role hub 3- Invoke the Node with Firefox • java –jar selenium-server-standalone-3.11.0.jar -role webdriver -hub http://localhost:4444/grid/register -port 5556 -browser browserName=firefox 4- Invoke the Node with Chrome • java –jar selenium-server-standalone-3.11.0.jar -role webdriver -hub http://localhost:4444/grid/register -port 5566 -browser browserName=chrome The Selenium Grid is running now >> http://localhost:4444/grid/console
  • 12. Docker • Secure by default • Build for scale • Extensible and flexible
  • 13. The IDEA (Selenium Grid + Docker) A selenium grid that scales using docker-selenium containers... ...and all non supported capabilities are sent to a cloud testing provider.
  • 14. What does Zalenium mean? Is the result of mixing Zalando and Selenium
  • 15. What is Zalenium ? Dynamic, on-demand Selenium Grid to run UI tests with Selenium Expands during run time Based on docker-selenium Simple to setup and run (Get a grid up and running in a few seconds) Integrate with cloud testing providers Live Preview and recorded videos with logs after your tests completed Zalenium also has support for github.com/zalando/zalenium zalando.github.io/zalenium/
  • 18. One line installer One line installer and starter for OSX/Linux (it will check for the latest images and ask for missing dependencies)
  • 19. Enabling Sauce Labs (you'll need an account with them)
  • 20. Selenium Grid With Zalenium
  • 23. DEMO
  • 24. When to use Zalenium ? • While developing tests locally. • Run your UI tests in your CI environment for a PR (Pull Request). • You have a big server and want a local grid. • When releasing: • If Chrome and Firefox are enough, use only Zalenium. • Or combine it with a cloud testing provider for better coverage.