SlideShare a Scribd company logo
Distributed automation testing using
Minikube, Selenium Grid
and Jenkins
Yevhenii Ovcharenko
Master of Code Global
(Jest - Unit tests, Integration tests)
Yevhenii Ovcharenko
QA Automation Lead at Master of Code Global
4 years of experience
Technology stack: (Selenide, Selenium, RestAssured, TestNG)
1. Issues
2. Results
3. Selenium grid
4. Minikube
5. Why Jenkins
6. Architecture of the approach
7. Demo session
8. Q&A
Agenda
1. Test execution in a single thread is time consuming
2. Cross browser and multi platform testing
Issues
1. 1 thread 2 browsers Chrome and Firefox parallel = 9 min
2. 3 threads for Chrome and Firefox
3 pods for Chrome and Firefox = 5 min 28 sec
Without using Selenium Grid
With Selenium Grid in Minikube cluster
1. 1 thread 1 Chrome browser = 9 min 25 sec.
2. 1 thread 2 browsers Chrome and Firefox = 18 min 55 sec
1. Given 50 tests to execute
Description
Results
1. 72,21% time saving
2. Set up vs tests execution
Conclusion
Selenium grid
Yevhenii Ovcharenko "Distributed automation testing using Minikube, Selenium Grid and Jenkins"
Pods Pods
Minikube architecture
VirtualBox
VirtualBox
Selenium grid into minikube - WHY?
1. Quick one-time setup
2. Scalable solution
3. Easy to migrate to Kubernetes cluster if necessary
4. Less maintenance
5. Self-healing capability
6. Easy to update for versioning changes
7. Eradicates latency issues as it resides in same network
Why
https://github.com/kubernetes/examples/tree/master/staging/selenium
Kubernetes deployments yaml
Prerequisites:
– Minikube installed
– VirtualBox installed
Flow to start:
1. minikube start
2. Increase resources in VirtualBox for the Minikube cluster
3. kubectl create --filename=<path>/selenium-hub-deployment.yaml
4. kubectl create --filename=<path>/selenium-hub-svc.yaml
5. kubectl create --filename=<path>/selenium-node-chrome-deployment.yaml
6. kubectl create --filename=<path>/selenium/selenium-node-firefox-deployment.yaml
7. kubectl expose deployment selenium-hub --type=NodePort
8. kubectl scale deployment selenium-node-chrome --replicas=5
9. kubectl scale deployment selenium-node-firefox --replicas=5
10. minikube service selenium-hub --url
11. minikube dashboard
Selenium Grid into Minikube set up
Minikube dashboard
Why
Jenkins Set Up
Jenkins Set Up
Jenkins Set Up
Live session flow
Demo session
1. Got acquainted:
- Selenium grid
- minikube
2. Setup and run tests through multiple browsers parallel
3. Understood value of this approach
Summary
Q & A
Follow Us
Scan QR
tap on icon
or

More Related Content

PPTX
Be flexible with zalenium, a dockerized selenium grid infrastructure
PDF
Grid Router – scalable and fault tolerant solution for Selenium grid
PPTX
Selenium-Grid-Extras
PPTX
Jenkins CI presentation
PDF
Hacking Jenkins
PPTX
Jenkins for java world
PDF
Automation Testing
PPTX
Supermondays: Jenkins CI lightning talk
Be flexible with zalenium, a dockerized selenium grid infrastructure
Grid Router – scalable and fault tolerant solution for Selenium grid
Selenium-Grid-Extras
Jenkins CI presentation
Hacking Jenkins
Jenkins for java world
Automation Testing
Supermondays: Jenkins CI lightning talk

What's hot (19)

PDF
Welcome to Jenkins
PDF
Testing the Enterprise layers, with Arquillian
PPT
Jenkins Overview
PPTX
Jenkins Pipeline 101 and TCI - presentation and workshop
PPTX
Hooking Docker With Selenium
PPTX
Continuous Delivery With Selenium Grid And Docker
PDF
.Net OSS Ci & CD with Jenkins - JUC ISRAEL 2013
PPT
Continuous Integration (Jenkins/Hudson)
PPTX
Jenkins tutorial
PDF
Jenkins 101: Getting Started
PPTX
Docker and Selenoid - Make Autotests Great Again
ODP
An Introduction To Jenkins
KEY
Continuous Delivery Using Jenkins
PDF
Let’s start Continuous Integration with jenkins
PDF
Jenkins tutorial
PPTX
Best Practices for Mission-Critical Jenkins
PDF
OSGi in Action - How we use OSGi to build Open Liberty - Alasdair Nottingham ...
PPTX
Continuous Delivery and Infrastructure as Code
PPTX
Deep Dive Azure Functions - Global Azure Bootcamp 2019
Welcome to Jenkins
Testing the Enterprise layers, with Arquillian
Jenkins Overview
Jenkins Pipeline 101 and TCI - presentation and workshop
Hooking Docker With Selenium
Continuous Delivery With Selenium Grid And Docker
.Net OSS Ci & CD with Jenkins - JUC ISRAEL 2013
Continuous Integration (Jenkins/Hudson)
Jenkins tutorial
Jenkins 101: Getting Started
Docker and Selenoid - Make Autotests Great Again
An Introduction To Jenkins
Continuous Delivery Using Jenkins
Let’s start Continuous Integration with jenkins
Jenkins tutorial
Best Practices for Mission-Critical Jenkins
OSGi in Action - How we use OSGi to build Open Liberty - Alasdair Nottingham ...
Continuous Delivery and Infrastructure as Code
Deep Dive Azure Functions - Global Azure Bootcamp 2019
Ad

Similar to Yevhenii Ovcharenko "Distributed automation testing using Minikube, Selenium Grid and Jenkins" (20)

PPTX
Docker–Grid (A On demand and Scalable dockerized selenium grid architecture)
PPTX
Kubernetes Selenium Grid
PDF
Introduction to Selenium grid
PPTX
Run UI Automation Tests using Selenium Grid and Azure Container Service (AKS)
PPTX
Selenium practical
PDF
Selenoid
PPTX
Kubernetes your tests! automation with docker on google cloud platform
PDF
Scaling your Automated Tests: Docker and Kubernetes
PDF
How to use Selenium Grid for Multi-Browser Testing.pdf
PPTX
Scaling and Managing Selenium Grid
PDF
Meet the Selenium Grid
PPT
Evergreen build
PPTX
Speed up your regression and reduce cost load with Selenoid + K8s + ReportPortal
PPTX
Autoscaled Distributed Automation Expedia Know How
PPTX
Stabilizing SE Build - Selenium conf 2013
PDF
TestWorks Conf Scalable QA with docker - Maarten van den Ende and Adé Mochtar
PDF
Cross Browser Testing using Selenium GRID.pdf
PDF
Selenium grid workshop london 2016
PPTX
Run tests at scale with on-demand Selenium Grid using AWS Fargate
PDF
Cross Browser Testing using Selenium GRID
Docker–Grid (A On demand and Scalable dockerized selenium grid architecture)
Kubernetes Selenium Grid
Introduction to Selenium grid
Run UI Automation Tests using Selenium Grid and Azure Container Service (AKS)
Selenium practical
Selenoid
Kubernetes your tests! automation with docker on google cloud platform
Scaling your Automated Tests: Docker and Kubernetes
How to use Selenium Grid for Multi-Browser Testing.pdf
Scaling and Managing Selenium Grid
Meet the Selenium Grid
Evergreen build
Speed up your regression and reduce cost load with Selenoid + K8s + ReportPortal
Autoscaled Distributed Automation Expedia Know How
Stabilizing SE Build - Selenium conf 2013
TestWorks Conf Scalable QA with docker - Maarten van den Ende and Adé Mochtar
Cross Browser Testing using Selenium GRID.pdf
Selenium grid workshop london 2016
Run tests at scale with on-demand Selenium Grid using AWS Fargate
Cross Browser Testing using Selenium GRID
Ad

More from Fwdays (20)

PDF
"Mastering UI Complexity: State Machines and Reactive Patterns at Grammarly",...
PDF
"Effect, Fiber & Schema: tactical and technical characteristics of Effect.ts"...
PPTX
"Computer Use Agents: From SFT to Classic RL", Maksym Shamrai
PPTX
"Як ми переписали Сільпо на Angular", Євген Русаков
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
PDF
"Validation and Observability of AI Agents", Oleksandr Denisyuk
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
PPTX
"Co-Authoring with a Machine: What I Learned from Writing a Book on Generativ...
PPTX
"Human-AI Collaboration Models for Better Decisions, Faster Workflows, and Cr...
PDF
"AI is already here. What will happen to your team (and your role) tomorrow?"...
PPTX
"Is it worth investing in AI in 2025?", Alexander Sharko
PDF
''Taming Explosive Growth: Building Resilience in a Hyper-Scaled Financial Pl...
PDF
"Scaling in space and time with Temporal", Andriy Lupa.pdf
PDF
"Database isolation: how we deal with hundreds of direct connections to the d...
PDF
"Scaling in space and time with Temporal", Andriy Lupa .pdf
PPTX
"Provisioning via DOT-Chain: from catering to drone marketplaces", Volodymyr ...
PPTX
" Observability with Elasticsearch: Best Practices for High-Load Platform", A...
PPTX
"How to survive Black Friday: preparing e-commerce for a peak season", Yurii ...
PPTX
"Istio Ambient Mesh in production: our way from Sidecar to Sidecar-less",Hlib...
"Mastering UI Complexity: State Machines and Reactive Patterns at Grammarly",...
"Effect, Fiber & Schema: tactical and technical characteristics of Effect.ts"...
"Computer Use Agents: From SFT to Classic RL", Maksym Shamrai
"Як ми переписали Сільпо на Angular", Євген Русаков
"AI Transformation: Directions and Challenges", Pavlo Shaternik
"Validation and Observability of AI Agents", Oleksandr Denisyuk
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
"Co-Authoring with a Machine: What I Learned from Writing a Book on Generativ...
"Human-AI Collaboration Models for Better Decisions, Faster Workflows, and Cr...
"AI is already here. What will happen to your team (and your role) tomorrow?"...
"Is it worth investing in AI in 2025?", Alexander Sharko
''Taming Explosive Growth: Building Resilience in a Hyper-Scaled Financial Pl...
"Scaling in space and time with Temporal", Andriy Lupa.pdf
"Database isolation: how we deal with hundreds of direct connections to the d...
"Scaling in space and time with Temporal", Andriy Lupa .pdf
"Provisioning via DOT-Chain: from catering to drone marketplaces", Volodymyr ...
" Observability with Elasticsearch: Best Practices for High-Load Platform", A...
"How to survive Black Friday: preparing e-commerce for a peak season", Yurii ...
"Istio Ambient Mesh in production: our way from Sidecar to Sidecar-less",Hlib...

Recently uploaded (20)

PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Encapsulation theory and applications.pdf
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
Big Data Technologies - Introduction.pptx
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
KodekX | Application Modernization Development
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
A Presentation on Artificial Intelligence
PDF
Empathic Computing: Creating Shared Understanding
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Understanding_Digital_Forensics_Presentation.pptx
Encapsulation theory and applications.pdf
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Diabetes mellitus diagnosis method based random forest with bat algorithm
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Big Data Technologies - Introduction.pptx
NewMind AI Weekly Chronicles - August'25 Week I
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Chapter 3 Spatial Domain Image Processing.pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
KodekX | Application Modernization Development
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
MYSQL Presentation for SQL database connectivity
Network Security Unit 5.pdf for BCA BBA.
A Presentation on Artificial Intelligence
Empathic Computing: Creating Shared Understanding
Spectral efficient network and resource selection model in 5G networks
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy

Yevhenii Ovcharenko "Distributed automation testing using Minikube, Selenium Grid and Jenkins"