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

mnabil2010 3,061 views 26 slides May 13, 2018
Slide 1
Slide 1 of 26
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26

About This Presentation

How to run Selenium Script using Docker and Selenium Grid


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.

Questions?

Thank you :)
Tags