SlideShare a Scribd company logo
1Confidential and propriety Galil Software, Ltd. 201230-Dec-14
Authors :
Amir Najjar – Automation Technical Leader.
Selenium & more.
2Confidential and propriety Galil Software, Ltd. 201219.8.12
Selenium Grid
- What is Selenium Grid?
- Tool for distributing tests across multiple physical or
virtual machines simultaneously.
- Dramatically accelerates the testing process and returns
a quick feedback.
- The code doesn’t need to be present on the machines
which run the tests.
3Confidential and propriety Galil Software, Ltd. 201219.8.12
Hub and Node.
- Hub - central point where the tests would be triggered. A
Selenium Grid has only one Hub and it is launched on a
single machine once.
- Node - Nodes are the Selenium instances that are
attached to the Hub which execute the tests. There can
be one or more nodes in a grid which can be of any OS
and can contain any of the Selenium supported
browsers.
4
Hub and Node.
5Confidential and propriety Galil Software, Ltd. 201219.8.12
Working with the grid – 5 steps:
* Configuring the Hub
java –jar sel-server-standalone.jar –port 4444 –role hub –nodeTimeout 1000
* Configuring the Nodes
(server-standalone) java -jar D:JARselenium-server-standalone-2.42.2.jar -role
node -hub http://10.30.217.157:4444/grid/register -browser browserName=firefox -port 5555
* Develop the Script and Prepare the XML File
* Test Execution
* Result Analysis
6
Data Sources
• <?xml version="1.0" encoding="UTF-8"?>
• <!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
• <suite name="Suite" parallel="tests">
• <test name="Test With FF">
• <parameter name="browser" value="firefox" />
• <classes>
• <class name=“com.amir.TestClass" />
• </classes>
• </test>
• <test name=“Test With Chrome">
• <parameter name="browser" value="chrome" />
• <classes>
• <class name=" com.amir.TestClass " />
• </classes>
• </test>
• <test name=“Test with IE">
• <parameter name="browser" value="ie" />
• <classes>
• <class name=" com.amir.TestClass " />
• </classes>
• </test>
•
• </suite>
7Confidential and propriety Galil Software, Ltd. 201219.8.12
 Thank you
 Amir Najjar – Automation Technical Leader.
Milestones:

More Related Content

PPTX
A quick guide on how to work with Maven and Git
PDF
Meet the Selenium Grid
PDF
Make Your Selenium Suite Faster and Reliable: Test Setup with REST APIs - SQA...
PPTX
Selenium basic
PPT
Selenium 2: The Future of Selenium is now!
PPT
Selenium (1)
PDF
Jenkins & Selenium
PPTX
Selenium topic 4 - Selenium Web Driver Set Up
A quick guide on how to work with Maven and Git
Meet the Selenium Grid
Make Your Selenium Suite Faster and Reliable: Test Setup with REST APIs - SQA...
Selenium basic
Selenium 2: The Future of Selenium is now!
Selenium (1)
Jenkins & Selenium
Selenium topic 4 - Selenium Web Driver Set Up

What's hot (20)

PPTX
Selenium topic 1- Selenium Basic
PPTX
Selenium Topic 2 IDE
PDF
KKBOX WWDC17 Performance and Testing - Hokila
KEY
Testing with Jenkins, Selenium and Continuous Deployment
PDF
Getting Started with Dockerization of Selenium Tests Execution - Testwarez 2019
PDF
KKBOX WWDC17 Swift and Foundation - Liyao
PDF
Splunk conf2014 - Using Selenium and Splunk for Transaction Monitoring Insight
PDF
Microservices Testing at Scale
PDF
Selenoid: browsers in containers
PDF
Selenium and Sauce Labs
PDF
How To Be a Java Automated Testing Superstar
PDF
Selenium Test Automation - Challenges
PDF
Easy Setup for Parallel Test Execution with Selenium Docker
PPTX
Parallel Testing with Python with Selenium and Sauce Labs
PPTX
Compliance Automation with InSpec
PDF
Introduction to Infrastructure as Code & Automation / Introduction to Chef
PDF
Bay Area Chef Meetup February
PPTX
Extreme Testing with Selenium - @hugs at Jenkins User Conference 2011
PDF
KKBOX WWDC17 Security - Antony
PPTX
Presentation_Protractor
Selenium topic 1- Selenium Basic
Selenium Topic 2 IDE
KKBOX WWDC17 Performance and Testing - Hokila
Testing with Jenkins, Selenium and Continuous Deployment
Getting Started with Dockerization of Selenium Tests Execution - Testwarez 2019
KKBOX WWDC17 Swift and Foundation - Liyao
Splunk conf2014 - Using Selenium and Splunk for Transaction Monitoring Insight
Microservices Testing at Scale
Selenoid: browsers in containers
Selenium and Sauce Labs
How To Be a Java Automated Testing Superstar
Selenium Test Automation - Challenges
Easy Setup for Parallel Test Execution with Selenium Docker
Parallel Testing with Python with Selenium and Sauce Labs
Compliance Automation with InSpec
Introduction to Infrastructure as Code & Automation / Introduction to Chef
Bay Area Chef Meetup February
Extreme Testing with Selenium - @hugs at Jenkins User Conference 2011
KKBOX WWDC17 Security - Antony
Presentation_Protractor
Ad

Viewers also liked (20)

KEY
Selenium Grid
PPT
Selenium ppt
PPTX
Visual regression testing
PPTX
Distributed automation selcamp2016
ODP
Fast web acceptance testing with selenium-grid
PPTX
Autoscaled Distributed Automation using AWS at Selenium London MeetUp
PDF
Selenium Gridで遊ぼう
PPTX
Managing Large Selenium Grid
PDF
Introduction to selenium_grid_workshop
PPTX
Selenium-Grid-Extras
PDF
How To Grade Your Selenium Tests by Dave Haeffner - Sauce Labs Webinar
PPTX
Selenium Camp 2016 - Effective UI tests scaling on Java
ODP
Mastering selenium for automated acceptance tests
PDF
Selenium grid workshop london 2016
PPTX
Grading the Quality of Selenium Tests
PPTX
How to make your functional tests really quick
PPTX
Scaling and Managing Selenium Grid
PDF
Managers, Future Proof Your Automation
PPTX
Automated Visual Testing That Does Not Suck
PPTX
How to work with Selenium Grid and Cloud Solutions
Selenium Grid
Selenium ppt
Visual regression testing
Distributed automation selcamp2016
Fast web acceptance testing with selenium-grid
Autoscaled Distributed Automation using AWS at Selenium London MeetUp
Selenium Gridで遊ぼう
Managing Large Selenium Grid
Introduction to selenium_grid_workshop
Selenium-Grid-Extras
How To Grade Your Selenium Tests by Dave Haeffner - Sauce Labs Webinar
Selenium Camp 2016 - Effective UI tests scaling on Java
Mastering selenium for automated acceptance tests
Selenium grid workshop london 2016
Grading the Quality of Selenium Tests
How to make your functional tests really quick
Scaling and Managing Selenium Grid
Managers, Future Proof Your Automation
Automated Visual Testing That Does Not Suck
How to work with Selenium Grid and Cloud Solutions
Ad

Similar to How to work with Selenium Grid: a quick walkthrough (20)

PDF
How to use Selenium Grid for Multi-Browser Testing.pdf
PDF
Introduction to Selenium grid
PPTX
Selenium WebDriver- Training Material and QA
PDF
The Selenium Grid: Run Multiple Automated Tests in Parallel
PDF
Cross Browser Testing using Selenium GRID.pdf
PDF
Cross Browser Testing using Selenium GRID
PDF
Selenium_Grid
PPTX
Get Started With Selenium 3 and Selenium 3 Grid
PDF
Selenium
PPTX
Selenium And Its Types
PPTX
SKILLWISE_SELENIUM
PPTX
Selenium 101 Webinar
PDF
Automation Testing using Selenium Webdriver
PPTX
Selenium practical
PDF
Intelligent Testing Tool: Selenium Web Driver
PPT
Running Selenium tests on CI server
PPTX
Cross platform browser automation tests sdp
PPTX
Selenium training
PPTX
Automated Web Testing With Selenium
PPT
Tanvir Afzal: Selenium
How to use Selenium Grid for Multi-Browser Testing.pdf
Introduction to Selenium grid
Selenium WebDriver- Training Material and QA
The Selenium Grid: Run Multiple Automated Tests in Parallel
Cross Browser Testing using Selenium GRID.pdf
Cross Browser Testing using Selenium GRID
Selenium_Grid
Get Started With Selenium 3 and Selenium 3 Grid
Selenium
Selenium And Its Types
SKILLWISE_SELENIUM
Selenium 101 Webinar
Automation Testing using Selenium Webdriver
Selenium practical
Intelligent Testing Tool: Selenium Web Driver
Running Selenium tests on CI server
Cross platform browser automation tests sdp
Selenium training
Automated Web Testing With Selenium
Tanvir Afzal: Selenium

Recently uploaded (20)

PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
cuic standard and advanced reporting.pdf
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
Machine Learning_overview_presentation.pptx
PDF
Approach and Philosophy of On baking technology
PPTX
Cloud computing and distributed systems.
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
Big Data Technologies - Introduction.pptx
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
A Presentation on Artificial Intelligence
PDF
Empathic Computing: Creating Shared Understanding
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
MYSQL Presentation for SQL database connectivity
“AI and Expert System Decision Support & Business Intelligence Systems”
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
cuic standard and advanced reporting.pdf
Programs and apps: productivity, graphics, security and other tools
Building Integrated photovoltaic BIPV_UPV.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
The Rise and Fall of 3GPP – Time for a Sabbatical?
Machine Learning_overview_presentation.pptx
Approach and Philosophy of On baking technology
Cloud computing and distributed systems.
Advanced methodologies resolving dimensionality complications for autism neur...
Chapter 3 Spatial Domain Image Processing.pdf
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Big Data Technologies - Introduction.pptx
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
A Presentation on Artificial Intelligence
Empathic Computing: Creating Shared Understanding
Encapsulation_ Review paper, used for researhc scholars
MYSQL Presentation for SQL database connectivity

How to work with Selenium Grid: a quick walkthrough

  • 1. 1Confidential and propriety Galil Software, Ltd. 201230-Dec-14 Authors : Amir Najjar – Automation Technical Leader. Selenium & more.
  • 2. 2Confidential and propriety Galil Software, Ltd. 201219.8.12 Selenium Grid - What is Selenium Grid? - Tool for distributing tests across multiple physical or virtual machines simultaneously. - Dramatically accelerates the testing process and returns a quick feedback. - The code doesn’t need to be present on the machines which run the tests.
  • 3. 3Confidential and propriety Galil Software, Ltd. 201219.8.12 Hub and Node. - Hub - central point where the tests would be triggered. A Selenium Grid has only one Hub and it is launched on a single machine once. - Node - Nodes are the Selenium instances that are attached to the Hub which execute the tests. There can be one or more nodes in a grid which can be of any OS and can contain any of the Selenium supported browsers.
  • 5. 5Confidential and propriety Galil Software, Ltd. 201219.8.12 Working with the grid – 5 steps: * Configuring the Hub java –jar sel-server-standalone.jar –port 4444 –role hub –nodeTimeout 1000 * Configuring the Nodes (server-standalone) java -jar D:JARselenium-server-standalone-2.42.2.jar -role node -hub http://10.30.217.157:4444/grid/register -browser browserName=firefox -port 5555 * Develop the Script and Prepare the XML File * Test Execution * Result Analysis
  • 6. 6 Data Sources • <?xml version="1.0" encoding="UTF-8"?> • <!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> • <suite name="Suite" parallel="tests"> • <test name="Test With FF"> • <parameter name="browser" value="firefox" /> • <classes> • <class name=“com.amir.TestClass" /> • </classes> • </test> • <test name=“Test With Chrome"> • <parameter name="browser" value="chrome" /> • <classes> • <class name=" com.amir.TestClass " /> • </classes> • </test> • <test name=“Test with IE"> • <parameter name="browser" value="ie" /> • <classes> • <class name=" com.amir.TestClass " /> • </classes> • </test> • • </suite>
  • 7. 7Confidential and propriety Galil Software, Ltd. 201219.8.12  Thank you  Amir Najjar – Automation Technical Leader. Milestones: