Parallel Testing with Selenium Grid and Docker

Learn to Setup and Run Parallel Tests in Grid or Cloud Solution Leveraging Docker Containers

TT3620

Intermediate

2 Days

Course Overview

Parallel Testing with Selenium Grid and Docker is a hands-on Selenium training course that provide students with a solid understanding of performing parallel testing from multiple host machines using Selenium Grid and Docker. Students will migrate a set of Selenium tests into a remote testing environment, implementing parallelized testing using Cloud-based Grids to run the tests. Students are then introduced to Docker and setup a Selenium Grid in a Docker container. Using Docker Compose, students automatically deploy and run a Selenium Grid in multiple Docker containers. Finally, students are introduced to Docker Swarm and shown how to deploy, manage, and run tests in multiple Docker containers on multiple host machines.

Course Objectives

This “skills-centric” course is about 50% hands-on lab and 50% lecture designed to train attendees in the most current, effective techniques with the soundest industry practices. This course provides indoctrination in the practical use of the umbrella of technologies that are on the leading edge of test engineering.

Working in a hands-on learning environment, led by our expert practitioner, students will:

  • Setup and run a Selenium Grid to run a set of Selenium tests
  • Setup and run Selenium tests in parallel in a Selenium Grid
  • Setup and run Selenium tests in a Cloud solution (if students have internet access)
  • Work with Docker to setup and manage containers for running Selenium Grid
  • Install and run Selenium Grid in one or more Docker Containers using Docker Compose
  • Setup and run Selenium Grid in multiple containers on multiple host machines

Need different skills or topics?  If your team requires different topics or tools, additional skills or custom approach, this course may be further adjusted to accommodate.  We offer additional testing, Selenium, Cucumber, Gherkin, Python, TDD, BDD, programming, testing tools, test automation, QA, services, security and other related topics that may be blended with this course for a track that best suits your needs. Our team will collaborate with you to understand your needs and will target the course to focus on your specific learning objectives and goals.

Course Prerequisites

This is an intermediate level course, geared for Test Engineers, Quality Assurance Engineers, and their management who have prior knowledge of Selenium basics. Code examples are in a combination of the specific domain-specific languages and Java, so some experience in object-oriented development with Java is expected.

Please see the Related Courses tab for specific Pre-Requisite courses, Related Courses that offer similar skills or topics, and next-step Learning Path recommendations.

Course Agenda

Please note that this list of topics is based on our standard course offering, evolved from typical industry uses and trends. We’ll work with you to tune this course and level of coverage to target the skills you need most.

Session: Remote Testing with Selenium Grid

Lesson: Remote Testing

  • Working with Selenium Server
  • Using the webdriver-manager
  • Shifting from local to remote
  • Lab: Review Bank Tests
  • Lab: Using webdriver-manager

Lesson: Selenium Grid Basics

  • Architecture of Selenium Grid
  • Hub: Command and Control
  • Node: Testing Instance
  • Configuring and Running a Selenium Grid
  • Working with RemoteWebDriver
  • Lab: Working with Selenium Grid

Lesson: Running Tests in Parallel

  • The Advantages of Parallelism
  • The Challenges of Parallelism
  • Running Parallel Tests in Grid and JUnit
  • Dealing with Parallel States
  • Lab: Parallelizing Tests in Grid

Lesson: Working with Grid

  • Troubleshooting Grids
  • Best Practices for Working with Grid
  • Challenges with Windows Nodes
  • When Not to use Selenium Grid

Session: Beyond the Basics of Selenium Grid

Lesson: Extending Selenium Grid

  • Selenium Grid Providers and Solutions
  • Selenium Grid with Docker
  • Zalenium
  • What is Coming in Selenium
  • Lab: Running Tests on a Cloud Solution

Lesson: Introducing Docker

  • Docker Overview
  • Docker Architecture
  • Docker Components
  • Working With Containers
  • Lab: Setting up a Docker Container

Lesson: Selenium Grid in Docker

  • Setting up a Grid in Docker
  • Running Tests through the Grid
  • Starting Containers Automatically
  • Negatives of Using Containers
  • Lab: Working with Selenium Grid in Docker

Lesson: Selenium Grid in Multiple Containers

  • Docker Compose
  • Deploying Grid on Multiple Containers
  • Managing the Grid
  • Lab: Selenium Grid with Multiple Containers

Lesson: Selenium Grid on Multiple Machines

  • Running Tests in Parallel
  • Docker Swarm Clusters
  • Manager Node
  • Worker Nodes
  • Deploying the Selenium Grid on the cluster
  • Lab: Selenium Grid in a Cluster

Course Materials

Each student will receive a Student Guide with course notes, code samples, software tutorials, diagrams and related reference materials and links (as applicable). Our courses also include step by step hands-on lab instructions and and solutions, clearly illustrated for users to complete hands-on work in class, and to revisit to review or refresh skills at any time. Students will also receive the project files (or code, if applicable) and solutions required for the hands-on work.

Raise the bar for advancing technology skills

Attend a Class!

Live scheduled classes are listed below or browse our full course catalog anytime

Special Offers

We regulary offer discounts for individuals, groups and corporate teams. Contact us

Custom Team Training

Check out custom training solutions planned around your unique needs and skills.

EveryCourse Extras

Exclusive materials, ongoing support and a free live course refresh with every class.

Summer Savings!
Register today to receive *50% off all 2021 Public Classes*!  Check out our Current Offers for Individuals, Teams and Organizations to Learn for Less!

See our latest Offers and Promotions

Learn. Explore. Advance!

Extend your training investment! Recorded sessions, free re-sits and after course support included with Every Course
Trivera MiniCamps
Gain the skills you need with less time in the classroom with our short course, live-online hands-on events
Trivera QuickSkills: Free Courses and Webinars
Training on us! Keep your skills current with free live events, courses & webinars
Trivera AfterCourse: Coaching and Support
Expert level after-training support to help organizations put new training skills into practice on the job

The voices of our customers speak volumes

Special Offers
Limited Offer for most courses.

SAVE 50%

Learn More