Zalenium - How to run Selenium Script using Docker and Selenium Grid
mnabil2010
3,061 views
26 slides
May 13, 2018
Slide 1 of 26
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
About This Presentation
How to run Selenium Script using Docker and Selenium Grid
Size: 9.21 MB
Language: en
Added: May 13, 2018
Slides: 26 pages
Slide Content
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 ? 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 Deprecated
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.
The old way 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 Za lenium mean? Is the result of mixing Zalando and Selenium
What is Zalenium ? github.com / zalando / zalenium zalando.github.io/zalenium/
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.