SlideShare a Scribd company logo
 
	
  
	
  
	
  
	
  
T15	
  
Test	
  Automation	
  
5/5/16	
  13:30	
  
	
  
	
  
	
  
	
  
	
  
	
  
The	
  Selenium	
  Grid:	
  Run	
  Multiple	
  
Automated	
  Tests	
  in	
  Parallel	
  
	
  
Presented	
  by:	
  
	
  
Brian	
  Long	
  
Virginia	
  Tech	
  
	
  
Brought	
  to	
  you	
  by:	
  	
  
	
  	
  
	
  
	
  
	
  
	
  
350	
  Corporate	
  Way,	
  Suite	
  400,	
  Orange	
  Park,	
  FL	
  32073	
  	
  
888-­‐-­‐-­‐268-­‐-­‐-­‐8770	
  ·∙·∙	
  904-­‐-­‐-­‐278-­‐-­‐-­‐0524	
  -­‐	
  info@techwell.com	
  -­‐	
  http://www.stareast.techwell.com/	
  	
  	
  
	
  
 	
  
	
  
	
  
Brian	
  Long	
  
Virginia	
  Tech	
  
	
  
Brian	
  Long	
  has	
  been	
  a	
  consultant	
  and	
  software	
  developer	
  for	
  more	
  than	
  thirty-­‐
five	
  years.	
  Â	
  During	
  his	
  career	
  he	
  has	
  worked	
  in	
  the	
  fields	
  of	
  insurance,	
  utilities,	
  
telecommunications,	
  and	
  higher	
  education	
  in	
  roles	
  ranging	
  from	
  developer	
  to	
  
technical	
  lead	
  to	
  lead	
  architect.	
  He	
  joined	
  Virginia	
  Polytechnic	
  Institute	
  &	
  State	
  
University	
  in	
  2005.	
  An	
  ASTQB	
  certified	
  tester,	
  Brian	
  currently	
  manages	
  Virginia	
  
Tech's	
  quality	
  assurance	
  and	
  verification	
  department,	
  runs	
  the	
  university's	
  
Selenium	
  Grid,	
  and	
  developed	
  some	
  of	
  the	
  open-­‐source	
  software	
  used	
  in	
  this	
  
presentation.	
  Â	
  	
  
	
  
	
  
	
  
Selenium Grid 101:
Getting Up and Running with Custom Tests
Brian Long, Manager - Secure Identity Services Quality Assurance and Verification
Brian Long 101
• VT Grad (twice!)
• 30-ish years of software development
• 3-ish years as professional tester
• Manager of Quality Assurance &
Verification for Virginia Tech’s Secure
Identity Services
2
Selenium @ VT
• We support
• Windows (last three versions)
• IE, Ffox, Chrome, Edge
• MacOS (last three versions)
• Safari, Ffox, Chrome
• Linux (as-needed but not really)
• Ffox, Chrome
3
Selenium @ VT
• Best Case:
• 7 Unique Operating Systems
• 5 Unique Browsers
4
Selenium @ VT
Open-Source Selenium Grid Framework:
https://github.com/brianxlong/selenium-grid-setup
5
Selenium @ VT
Open-Source Selenium Grid Framework:
https://github.com/brianxlong/selenium-grid-setup
What does it do?
Provides Hub and Node Config
Provides Sample Test
6
How Do I Get it to Work?
RTFR! (Read the Fine ReadMe!)*
1. Put the grid-setup/hub directory on your
hub (if your hub is a windows box, you'll need
to rename the executable 'starthub' to
something like 'starthub.cmd' and fix the
link).
7
How Do I Get it to Work?
2. Put the appropriate grid-setup/*-node
directory/ies on your node/s along with the
selenium-server-standalone-<version>.jar
(if you change the version, change the links
in the startup scripts to match).
8
How Do I Get it to Work?
3. Update the JSON configs with the ip of your
hub and the ip of each of your nodes.
(search for *.json – there is one in each of
the *-node directories under selenium-grid-
setupgrid-setup, and named for the operating
system: e.g. nodeconfig-win81.json)
9
How Do I Get it to Work?
4. Run grid-setup/starthub on the hub
5. Run grid-setup/startnode-* on your nodes
Done! You have a grid. You can check the
connections from your browser at
http://localhost:4444/grid/console on your
hub machine
10
OK, Now What?
Run the Sample Test:
Nav to grid-test/helpers
Run isgridup.sh
11
OK, Now What?
Sample Test Results:
All nodes navigate to address specified in VerifyTest.java
12
OK, Now Now What?
Run Your Own Tests on the Grid:
• Use Selenium IDE to generate Java code for your test
• Extend RemoteTest to integrate it into the grid OR just
plug it into VerifyGrid.java
• Run your test on the grid
13

More Related Content

What's hot (20)

PPT
Selenium (1)
onlinemindq
 
ZIP
From IDE to Selenium 2
davehunt82
 
PDF
Basics of Selenium IDE,Core, Remote Control
usha kannappan
 
PPTX
Selenium Basics Crashcourse
Daniel Herken
 
PDF
Selenium IDE and Beyond
Samit Badle
 
DOCX
Selenium interview questions
girichinna27
 
PPTX
Learn Test Automation using Selenium - Lesson 1
Furqan Ud Din
 
PPTX
Selenium online training
mindmajixtrainings
 
PPTX
Get Started With Selenium 3 and Selenium 3 Grid
Daniel Herken
 
DOCX
Selenium webdriver course content rakesh hansalia
Rakesh Hansalia
 
PDF
Practical Tips & Tricks for Selenium Test Automation - Dave Haeffner
Applitools
 
PDF
Selenium 2 - PyCon 2011
hugs
 
PPTX
#ATAGTR2021 Presentation - "Selenium 4 Observability – a 90 Min Hands on Lab"
Agile Testing Alliance
 
PPTX
Jenkins For One
Mark Waite
 
PDF
Practical Tips & Tricks for Selenium Test Automation
Sauce Labs
 
ODP
Mastering selenium for automated acceptance tests
Nick Belhomme
 
PDF
Selenium Framework using Java | Selenium Tutorial | Selenium Training Online ...
Edureka!
 
PPS
Selenium Demo
ankitslide
 
PPTX
An Overview of Selenium
adamcarmi
 
Selenium (1)
onlinemindq
 
From IDE to Selenium 2
davehunt82
 
Basics of Selenium IDE,Core, Remote Control
usha kannappan
 
Selenium Basics Crashcourse
Daniel Herken
 
Selenium IDE and Beyond
Samit Badle
 
Selenium interview questions
girichinna27
 
Learn Test Automation using Selenium - Lesson 1
Furqan Ud Din
 
Selenium online training
mindmajixtrainings
 
Get Started With Selenium 3 and Selenium 3 Grid
Daniel Herken
 
Selenium webdriver course content rakesh hansalia
Rakesh Hansalia
 
Practical Tips & Tricks for Selenium Test Automation - Dave Haeffner
Applitools
 
Selenium 2 - PyCon 2011
hugs
 
#ATAGTR2021 Presentation - "Selenium 4 Observability – a 90 Min Hands on Lab"
Agile Testing Alliance
 
Jenkins For One
Mark Waite
 
Practical Tips & Tricks for Selenium Test Automation
Sauce Labs
 
Mastering selenium for automated acceptance tests
Nick Belhomme
 
Selenium Framework using Java | Selenium Tutorial | Selenium Training Online ...
Edureka!
 
Selenium Demo
ankitslide
 
An Overview of Selenium
adamcarmi
 

Viewers also liked (7)

PDF
Meet the Selenium Grid
Alexey Nikolaenko
 
PPTX
Selenium-Grid-Extras
Shawn McCarthy
 
PPT
Selenium, testNG , Selenium Grid & Best Practices
MathildeLemee
 
KEY
Enterprise Build And Test In The Cloud
Carlos Sanchez
 
PDF
Dave Haeffner's Proven Method to Grading the Quality of Selenium Tests
Applitools
 
KEY
Selenium Grid
nirvdrum
 
PPTX
Scaling and Managing Selenium Grid
dimakovalenko
 
Meet the Selenium Grid
Alexey Nikolaenko
 
Selenium-Grid-Extras
Shawn McCarthy
 
Selenium, testNG , Selenium Grid & Best Practices
MathildeLemee
 
Enterprise Build And Test In The Cloud
Carlos Sanchez
 
Dave Haeffner's Proven Method to Grading the Quality of Selenium Tests
Applitools
 
Selenium Grid
nirvdrum
 
Scaling and Managing Selenium Grid
dimakovalenko
 
Ad

Similar to The Selenium Grid: Run Multiple Automated Tests in Parallel (20)

PPTX
Infrastructure as Code for Network
Damien Garros
 
PDF
Testing Web Application Security
Ted Husted
 
PPTX
Test automation using selenium
Tờ Rang
 
PPT
Selenium training in chennai
Thecreating Experts
 
PDF
Say Goodbye to Flaky Selenium Tests
TechWell
 
PDF
Selenium Tips & Tricks, presented at the Tel Aviv Selenium Meetup
Dave Haeffner
 
PPTX
How do you tame a big ball of mud? One test at a time.
Matt Eland
 
PPTX
Session on Selenium 4 : What’s coming our way? by Hitesh Prajapati
Agile Testing Alliance
 
PPTX
Selenium 4 - What's coming our way - v1.0.pptx
Hitesh Prajapati
 
DOCX
Sweta_Tarekar_Resume
sweta tarekar
 
PDF
Javacro 2014 Spring Security 3 Speech
Fernando Redondo Ramírez
 
PDF
Interview Question & Answers for Selenium Freshers | LearningSlot
Learning Slot
 
PDF
Selenium ui testing framework
Sergiy Beley
 
PPTX
Wellington MuleSoft Meetup 2021-02-18
Mary Joy Sabal
 
PDF
Recipes for Continuous Delivery (ThoughtWorks Geeknight)
Gurpreet Luthra
 
RTF
OctaviusWaltonResume
Octavius Walton
 
PDF
Automated Testing Using Selenium
TechWell
 
PPTX
Basics of selenium containing features of selenium
Madhuri Lonikar
 
PPTX
Appium & Selenium Alone vs Appium & Selenium with Perfecto
Lizzy Guido (she/her)
 
PDF
Lesson_06_Software_and_Automation_Testing_Frameworks.pdf
Minh Quân Đoàn
 
Infrastructure as Code for Network
Damien Garros
 
Testing Web Application Security
Ted Husted
 
Test automation using selenium
Tờ Rang
 
Selenium training in chennai
Thecreating Experts
 
Say Goodbye to Flaky Selenium Tests
TechWell
 
Selenium Tips & Tricks, presented at the Tel Aviv Selenium Meetup
Dave Haeffner
 
How do you tame a big ball of mud? One test at a time.
Matt Eland
 
Session on Selenium 4 : What’s coming our way? by Hitesh Prajapati
Agile Testing Alliance
 
Selenium 4 - What's coming our way - v1.0.pptx
Hitesh Prajapati
 
Sweta_Tarekar_Resume
sweta tarekar
 
Javacro 2014 Spring Security 3 Speech
Fernando Redondo Ramírez
 
Interview Question & Answers for Selenium Freshers | LearningSlot
Learning Slot
 
Selenium ui testing framework
Sergiy Beley
 
Wellington MuleSoft Meetup 2021-02-18
Mary Joy Sabal
 
Recipes for Continuous Delivery (ThoughtWorks Geeknight)
Gurpreet Luthra
 
OctaviusWaltonResume
Octavius Walton
 
Automated Testing Using Selenium
TechWell
 
Basics of selenium containing features of selenium
Madhuri Lonikar
 
Appium & Selenium Alone vs Appium & Selenium with Perfecto
Lizzy Guido (she/her)
 
Lesson_06_Software_and_Automation_Testing_Frameworks.pdf
Minh Quân Đoàn
 
Ad

More from Josiah Renaudin (20)

PDF
Solve Everyday IT Problems with DevOps
Josiah Renaudin
 
PDF
End-to-End Quality Approach: 14 Levels of Testing
Josiah Renaudin
 
PDF
Product Management: The Innovation Glue for the Lean Enterprise
Josiah Renaudin
 
PDF
Slay the Dragons of Agile Measurement
Josiah Renaudin
 
PDF
Blending Product Discovery and Product Delivery
Josiah Renaudin
 
PDF
Determining Business Value in Agile Development
Josiah Renaudin
 
PDF
Three Things You MUST Know to Transform into an Agile Enterprise
Josiah Renaudin
 
PDF
Internet of Things and the Wisdom of Mobile
Josiah Renaudin
 
PDF
How to Do Kick-Ass Software Development
Josiah Renaudin
 
PDF
The Power of an Agile Mindset
Josiah Renaudin
 
PDF
DevOps and the Culture of High-Performing Software Organizations
Josiah Renaudin
 
PDF
Uncover Untold Stories in Your Data: A Deep Dive on Data Profiling
Josiah Renaudin
 
PDF
Build a Quality Engineering and Automation Framework
Josiah Renaudin
 
PDF
Don’t Be Another Statistic! Develop a Long-Term Test Automation Strategy
Josiah Renaudin
 
PDF
Testing Lessons from the Land of Make Believe
Josiah Renaudin
 
PDF
Finding Success with Test Process Improvement
Josiah Renaudin
 
PDF
Git and GitHub for Testers
Josiah Renaudin
 
PDF
Stay Ahead of the Mobile and Web Testing Maturity Curve
Josiah Renaudin
 
PDF
Testing at Startup Companies: What, When, Where, and How
Josiah Renaudin
 
PDF
Boost Test Coverage with Automated Visual Testing
Josiah Renaudin
 
Solve Everyday IT Problems with DevOps
Josiah Renaudin
 
End-to-End Quality Approach: 14 Levels of Testing
Josiah Renaudin
 
Product Management: The Innovation Glue for the Lean Enterprise
Josiah Renaudin
 
Slay the Dragons of Agile Measurement
Josiah Renaudin
 
Blending Product Discovery and Product Delivery
Josiah Renaudin
 
Determining Business Value in Agile Development
Josiah Renaudin
 
Three Things You MUST Know to Transform into an Agile Enterprise
Josiah Renaudin
 
Internet of Things and the Wisdom of Mobile
Josiah Renaudin
 
How to Do Kick-Ass Software Development
Josiah Renaudin
 
The Power of an Agile Mindset
Josiah Renaudin
 
DevOps and the Culture of High-Performing Software Organizations
Josiah Renaudin
 
Uncover Untold Stories in Your Data: A Deep Dive on Data Profiling
Josiah Renaudin
 
Build a Quality Engineering and Automation Framework
Josiah Renaudin
 
Don’t Be Another Statistic! Develop a Long-Term Test Automation Strategy
Josiah Renaudin
 
Testing Lessons from the Land of Make Believe
Josiah Renaudin
 
Finding Success with Test Process Improvement
Josiah Renaudin
 
Git and GitHub for Testers
Josiah Renaudin
 
Stay Ahead of the Mobile and Web Testing Maturity Curve
Josiah Renaudin
 
Testing at Startup Companies: What, When, Where, and How
Josiah Renaudin
 
Boost Test Coverage with Automated Visual Testing
Josiah Renaudin
 

Recently uploaded (20)

PPTX
Android Notifications-A Guide to User-Facing Alerts in Android .pptx
Nabin Dhakal
 
PPTX
Iobit Driver Booster Pro 12 Crack Free Download
chaudhryakashoo065
 
PDF
Designing Accessible Content Blocks (1).pdf
jaclynmennie1
 
PPTX
Wondershare Filmora Crack 14.5.18 + Key Full Download [Latest 2025]
HyperPc soft
 
PPTX
Avast Premium Security crack 25.5.6162 + License Key 2025
HyperPc soft
 
PDF
Rewards and Recognition (2).pdf
ethan Talor
 
PDF
Difference Between Kubernetes and Docker .pdf
Kindlebit Solutions
 
PDF
Alur Perkembangan Software dan Jaringan Komputer
ssuser754303
 
PDF
Why Edge Computing Matters in Mobile Application Tech.pdf
IMG Global Infotech
 
PPTX
How Can Recruitment Management Software Improve Hiring Efficiency?
HireME
 
PPTX
Automatic_Iperf_Log_Result_Excel_visual_v2.pptx
Chen-Chih Lee
 
PDF
Writing Maintainable Playwright Tests with Ease
Shubham Joshi
 
PDF
IDM Crack with Internet Download Manager 6.42 Build 41
utfefguu
 
PDF
Building scalbale cloud native apps with .NET 8
GillesMathieu10
 
PPTX
EO4EU Ocean Monitoring: Maritime Weather Routing Optimsation Use Case
EO4EU
 
PDF
AI Software Development Process, Strategies and Challenges
Net-Craft.com
 
PPTX
ManageIQ - Sprint 264 Review - Slide Deck
ManageIQ
 
PDF
>Nitro Pro Crack 14.36.1.0 + Keygen Free Download [Latest]
utfefguu
 
PDF
Laboratory Workflows Digitalized and live in 90 days with Scifeon´s SAPPA P...
info969686
 
PPTX
CONCEPT OF PROGRAMMING in language .pptx
tamim41
 
Android Notifications-A Guide to User-Facing Alerts in Android .pptx
Nabin Dhakal
 
Iobit Driver Booster Pro 12 Crack Free Download
chaudhryakashoo065
 
Designing Accessible Content Blocks (1).pdf
jaclynmennie1
 
Wondershare Filmora Crack 14.5.18 + Key Full Download [Latest 2025]
HyperPc soft
 
Avast Premium Security crack 25.5.6162 + License Key 2025
HyperPc soft
 
Rewards and Recognition (2).pdf
ethan Talor
 
Difference Between Kubernetes and Docker .pdf
Kindlebit Solutions
 
Alur Perkembangan Software dan Jaringan Komputer
ssuser754303
 
Why Edge Computing Matters in Mobile Application Tech.pdf
IMG Global Infotech
 
How Can Recruitment Management Software Improve Hiring Efficiency?
HireME
 
Automatic_Iperf_Log_Result_Excel_visual_v2.pptx
Chen-Chih Lee
 
Writing Maintainable Playwright Tests with Ease
Shubham Joshi
 
IDM Crack with Internet Download Manager 6.42 Build 41
utfefguu
 
Building scalbale cloud native apps with .NET 8
GillesMathieu10
 
EO4EU Ocean Monitoring: Maritime Weather Routing Optimsation Use Case
EO4EU
 
AI Software Development Process, Strategies and Challenges
Net-Craft.com
 
ManageIQ - Sprint 264 Review - Slide Deck
ManageIQ
 
>Nitro Pro Crack 14.36.1.0 + Keygen Free Download [Latest]
utfefguu
 
Laboratory Workflows Digitalized and live in 90 days with Scifeon´s SAPPA P...
info969686
 
CONCEPT OF PROGRAMMING in language .pptx
tamim41
 

The Selenium Grid: Run Multiple Automated Tests in Parallel

  • 1.           T15   Test  Automation   5/5/16  13:30               The  Selenium  Grid:  Run  Multiple   Automated  Tests  in  Parallel     Presented  by:     Brian  Long   Virginia  Tech     Brought  to  you  by:                 350  Corporate  Way,  Suite  400,  Orange  Park,  FL  32073     888-­‐-­‐-­‐268-­‐-­‐-­‐8770  ·∙·∙  904-­‐-­‐-­‐278-­‐-­‐-­‐0524  -­‐  [email protected]  -­‐  http://www.stareast.techwell.com/        
  • 2.         Brian  Long   Virginia  Tech     Brian  Long  has  been  a  consultant  and  software  developer  for  more  than  thirty-­‐ five  years.  Â  During  his  career  he  has  worked  in  the  fields  of  insurance,  utilities,   telecommunications,  and  higher  education  in  roles  ranging  from  developer  to   technical  lead  to  lead  architect.  He  joined  Virginia  Polytechnic  Institute  &  State   University  in  2005.  An  ASTQB  certified  tester,  Brian  currently  manages  Virginia   Tech's  quality  assurance  and  verification  department,  runs  the  university's   Selenium  Grid,  and  developed  some  of  the  open-­‐source  software  used  in  this   presentation.  Â          
  • 3. Selenium Grid 101: Getting Up and Running with Custom Tests Brian Long, Manager - Secure Identity Services Quality Assurance and Verification
  • 4. Brian Long 101 • VT Grad (twice!) • 30-ish years of software development • 3-ish years as professional tester • Manager of Quality Assurance & Verification for Virginia Tech’s Secure Identity Services 2
  • 5. Selenium @ VT • We support • Windows (last three versions) • IE, Ffox, Chrome, Edge • MacOS (last three versions) • Safari, Ffox, Chrome • Linux (as-needed but not really) • Ffox, Chrome 3
  • 6. Selenium @ VT • Best Case: • 7 Unique Operating Systems • 5 Unique Browsers 4
  • 7. Selenium @ VT Open-Source Selenium Grid Framework: https://github.com/brianxlong/selenium-grid-setup 5
  • 8. Selenium @ VT Open-Source Selenium Grid Framework: https://github.com/brianxlong/selenium-grid-setup What does it do? Provides Hub and Node Config Provides Sample Test 6
  • 9. How Do I Get it to Work? RTFR! (Read the Fine ReadMe!)* 1. Put the grid-setup/hub directory on your hub (if your hub is a windows box, you'll need to rename the executable 'starthub' to something like 'starthub.cmd' and fix the link). 7
  • 10. How Do I Get it to Work? 2. Put the appropriate grid-setup/*-node directory/ies on your node/s along with the selenium-server-standalone-<version>.jar (if you change the version, change the links in the startup scripts to match). 8
  • 11. How Do I Get it to Work? 3. Update the JSON configs with the ip of your hub and the ip of each of your nodes. (search for *.json – there is one in each of the *-node directories under selenium-grid- setupgrid-setup, and named for the operating system: e.g. nodeconfig-win81.json) 9
  • 12. How Do I Get it to Work? 4. Run grid-setup/starthub on the hub 5. Run grid-setup/startnode-* on your nodes Done! You have a grid. You can check the connections from your browser at http://localhost:4444/grid/console on your hub machine 10
  • 13. OK, Now What? Run the Sample Test: Nav to grid-test/helpers Run isgridup.sh 11
  • 14. OK, Now What? Sample Test Results: All nodes navigate to address specified in VerifyTest.java 12
  • 15. OK, Now Now What? Run Your Own Tests on the Grid: • Use Selenium IDE to generate Java code for your test • Extend RemoteTest to integrate it into the grid OR just plug it into VerifyGrid.java • Run your test on the grid 13