Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Run Selenium Grid Tests Using Docker

Run Selenium Grid Tests Using Docker

The presentation provides a detailed view to Docker, Docker-Compose to start, stop, scale up and down the Selenium nodes / hub.

819f16aea0a2e2bfe9e8895fe83e574d?s=128

Babu Manickam

August 18, 2016
Tweet

More Decks by Babu Manickam

Other Decks in Education

Transcript

  1. 1 Slide @TestLeaf, We train consultants, We deliver projects and

    We develop tools. “
  2. 2 Slide Agenda 6.00 PM 6.15 PM 6.30 PM 6.40

    PM Start Docker Demo Tuna Docker Demo Q & A
  3. 3 Slide YES NO I am unaware of Selenium Grid

    I know Selenium Grid Selenium Grid Awareness
  4. 4 Slide Selenium Grid 60% How many of you are

    working in Grid?
  5. 5 Slide Selenium Grid

  6. 6 Slide Top 5 Selenium Grid Challenges In Enterprise Environment

    ??
  7. 7 Slide 05 COSTLIER CLOUD 04 NETWORK CHALLENGES 03 NODE

    FOR EVERY BROWSER VERSION 02 NO INBUILT AUTO SCALING 01 TIME CONSUMING SETUP
  8. 8 Slide BUILD 01 • 02 • 03 Docker Intro

  9. 9 Slide VM vs. Docker

  10. 10 Slide Docker Projects Docker Engine Docker Registry Docker Swarm

    Docker Compose Docker Machine Kitematic
  11. 11 Slide Read-only template -> OS, Java, Selenium, Chrome Instance

    of Image / A running image is a container. Command Line or REST API to interact with docker Docker registries hold images Registry Image Container Client
  12. 12 Slide Demo – Docker Images

  13. 13 Slide Step 04 Step 03 Step 02 Step 01

    01 02 03 Image Layers
  14. 14 Slide U Ubuntu G Hub or Node S Selenium

    B Browser J Java Containers
  15. 15 Slide Docker Architecture

  16. 16 Slide Single Docker for Multi Instances

  17. 17 Slide A B C D Setup Selenium Grid

  18. 18 Slide Docker Compose Demo

  19. 19 Slide Ready for Demo Get Images from Repository Create

    Docker Compose Run browser container Run Selenium scripts 1 2 3 4
  20. 20 Slide Selenium Docker Demo

  21. 21 Slide Single Node Two Nodes Three Nodes Four Nodes

    Five Nodes Scaling
  22. 22 Slide

  23. 23 Slide Auto Scaling is done in seconds Setup is

    done in minutes Every browser version is another image No network drops Very cheap than the cloud Top 5 challenges addressed?
  24. 24 Slide Demo

  25. 25 Slide F A D B C E Question 01

    Question 02 Question 03 Question 04 Question 05 Question 06 Common Questions on Docker
  26. 26 Slide Your Questions Please

  27. 27 Slide Docker Compose

  28. 28 Slide You can reach me through H L F

    X G
  29. 2016 Q3 2016 Q4 2017 Q1 2017 Q2 2017 Q3

    2017 Q4