SlideShare a Scribd company logo
Daniel Herken
dherken@browseemall.com
http://www.browseemall.com
Selenium Tests Using Jenkins
Jenkins & Selenium
Today we will cover
1. What is Jenkins?
2. What is Selenium?
3. Run Selenium Tests on Build
4. Using Selenium Grid
5. Simpler Selenium Grid Setup
Introduction
What is Jenkins?
Jenkins is an open source continuous integration server. It support hundreds of
different building, deploying and automation types through plugins.
Supported by all major browser vendors:
What is Selenium?
Free and open source browser automation framework.
Run Selenium Tests
A simple Selenium test case:
[Test]
public void TestWithFirefox()
{
IWebDriver driver = new FirefoxDriver();
driver.Navigate().GoToUrl(TestUrl);
Assert.IsFalse(string.IsNullOrEmpty(driver.Title));
driver.Quit();
}
Run Selenium Tests
Configure Jenkins to run the test (nunit):
• Tests run directly on the Jenkins Server machine
• Not suitable for bigger test suites
• Testing with different operating systems not possible
• Tests can not run in parallel
Run Selenium Tests
Problems with this solution:
Using Selenium Grid
Using Selenium Grid
Simple change to the existing test case:
[TestMethod]
public void TestWithFirefox()
{
DesiredCapabilities capability = DesiredCapabilities.Firefox();
IWebDriver driver = new RemoteWebDriver(HubUrl, capability);
driver.Navigate().GoToUrl(TestUrl);
Assert.IsFalse(string.IsNullOrEmpty(driver.Title));
driver.Quit();
}
Using Selenium Test
No change to Jenkins necessary!
• Tests run on distributed machines
• Suitable for bigger test suites
• Nodes on different operating systems possible
• Tests can run in parallel
Using Selenium Grid
Selenium Grid is scalable:
Simpler Selenium Grid Setup
Setup a Selenium Grid in 3 Steps (no requirements)!
1. Install BrowseEmAll Trial
2. Select necessary browsers
3. Start Grid
Simpler Selenium Grid Setup
Simpler Selenium Grid Setup
Questions?
Q & A

More Related Content

What's hot (20)

PPTX
Extreme Testing with Selenium - @hugs at Jenkins User Conference 2011
hugs
 
PPTX
Selenium with java
Satyam Pandey
 
PPTX
Learn Test Automation using Selenium - Lesson 1
Furqan Ud Din
 
PPT
Selenium (1)
onlinemindq
 
KEY
Testing with Jenkins, Selenium and Continuous Deployment
Max Klymyshyn
 
PPT
Selenium ppt
Naga Dinesh
 
PPT
Selenium Ide Tutorials
gueste1e4db
 
ODP
Mastering selenium for automated acceptance tests
Nick Belhomme
 
PPT
Selenium 2: The Future of Selenium is now!
AutomatedTester
 
PPTX
How To Automate Cross Browser Testing
Daniel Herken
 
PDF
Automation Testing
RomSoft SRL
 
PDF
Selenium IDE features
onewomanmore witl
 
ODP
Automated UI testing with Selenium
Yuriy Gerasimov
 
ZIP
From IDE to Selenium 2
davehunt82
 
PDF
Automated Web Testing With Selenium
Deepak Mittal
 
PDF
Web automation using selenium.ppt
Ana Sarbescu
 
PPTX
Selenium Webdriver
Muhammad Bilal
 
PDF
Using Selenium 3 0
TEST Huddle
 
ODP
Automated UI testing. Selenium. DrupalCamp Kyiv 2011
Yuriy Gerasimov
 
PPTX
Introduction to selenium
Archana Krushnan
 
Extreme Testing with Selenium - @hugs at Jenkins User Conference 2011
hugs
 
Selenium with java
Satyam Pandey
 
Learn Test Automation using Selenium - Lesson 1
Furqan Ud Din
 
Selenium (1)
onlinemindq
 
Testing with Jenkins, Selenium and Continuous Deployment
Max Klymyshyn
 
Selenium ppt
Naga Dinesh
 
Selenium Ide Tutorials
gueste1e4db
 
Mastering selenium for automated acceptance tests
Nick Belhomme
 
Selenium 2: The Future of Selenium is now!
AutomatedTester
 
How To Automate Cross Browser Testing
Daniel Herken
 
Automation Testing
RomSoft SRL
 
Selenium IDE features
onewomanmore witl
 
Automated UI testing with Selenium
Yuriy Gerasimov
 
From IDE to Selenium 2
davehunt82
 
Automated Web Testing With Selenium
Deepak Mittal
 
Web automation using selenium.ppt
Ana Sarbescu
 
Selenium Webdriver
Muhammad Bilal
 
Using Selenium 3 0
TEST Huddle
 
Automated UI testing. Selenium. DrupalCamp Kyiv 2011
Yuriy Gerasimov
 
Introduction to selenium
Archana Krushnan
 

Similar to Run Selenium Tests With Jenkins and BrowseEmAll (20)

PPT
Selenium2 and Jenkins: Almost pain-free UI Testing
mikereedell
 
PDF
Lesson_06_Software_and_Automation_Testing_Frameworks.pdf
Minh Quân Đoàn
 
PPTX
Selenium 101 Webinar
Daniel Herken
 
PDF
454976614-Jenkins-Cheat-Sheet-pdf.pdf hoja de ayuda
CarlosDanielValenteA
 
PPTX
Selenium Testing
Shreshtt Bhatt
 
PPTX
SKILLWISE_SELENIUM
Skillwise Consulting
 
PPTX
Selenium- A Software Testing Tool
Zeba Tahseen
 
DOC
Selenium Automation Using Ruby
Kumari Warsha Goel
 
PPT
Selenium
conect2krish
 
PPTX
Python selenium
Ducat
 
PDF
Learn How Selenium And Jenkins Fit In DevOps | Edureka Live
Edureka!
 
DOC
Sel
Sandeep A R
 
PPTX
Jenkins.pptx
rfojdar
 
PPT
Selenium Introduction
Mayur Khairnar
 
PDF
How Enterprises Conduct Automated Continuous Testing at Scale with Jenkins.pdf
kalichargn70th171
 
PPTX
Presentation sem 1.pptx
dendi65
 
PPTX
Selenium training
Suresh Arora
 
PDF
How Enterprises Conduct Automated Continuous Testing at Scale with Jenkins.pdf
flufftailshop
 
PPTX
A Simple Guide to Selenium Software Testing
Calidad Infotech
 
PPT
Selenium
BugRaptors
 
Selenium2 and Jenkins: Almost pain-free UI Testing
mikereedell
 
Lesson_06_Software_and_Automation_Testing_Frameworks.pdf
Minh Quân Đoàn
 
Selenium 101 Webinar
Daniel Herken
 
454976614-Jenkins-Cheat-Sheet-pdf.pdf hoja de ayuda
CarlosDanielValenteA
 
Selenium Testing
Shreshtt Bhatt
 
SKILLWISE_SELENIUM
Skillwise Consulting
 
Selenium- A Software Testing Tool
Zeba Tahseen
 
Selenium Automation Using Ruby
Kumari Warsha Goel
 
Selenium
conect2krish
 
Python selenium
Ducat
 
Learn How Selenium And Jenkins Fit In DevOps | Edureka Live
Edureka!
 
Jenkins.pptx
rfojdar
 
Selenium Introduction
Mayur Khairnar
 
How Enterprises Conduct Automated Continuous Testing at Scale with Jenkins.pdf
kalichargn70th171
 
Presentation sem 1.pptx
dendi65
 
Selenium training
Suresh Arora
 
How Enterprises Conduct Automated Continuous Testing at Scale with Jenkins.pdf
flufftailshop
 
A Simple Guide to Selenium Software Testing
Calidad Infotech
 
Selenium
BugRaptors
 
Ad

Recently uploaded (20)

PPTX
Empowering Asian Contributions: The Rise of Regional User Groups in Open Sour...
Shane Coughlan
 
PDF
Understanding the Need for Systemic Change in Open Source Through Intersectio...
Imma Valls Bernaus
 
PPTX
How Cloud Computing is Reinventing Financial Services
Isla Pandora
 
PPTX
Agentic Automation: Build & Deploy Your First UiPath Agent
klpathrudu
 
PDF
Alexander Marshalov - How to use AI Assistants with your Monitoring system Q2...
VictoriaMetrics
 
PPTX
Migrating Millions of Users with Debezium, Apache Kafka, and an Acyclic Synch...
MD Sayem Ahmed
 
PDF
Unlock Efficiency with Insurance Policy Administration Systems
Insurance Tech Services
 
PPTX
Change Common Properties in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
Alarm in Android-Scheduling Timed Tasks Using AlarmManager in Android.pdf
Nabin Dhakal
 
PPTX
Transforming Mining & Engineering Operations with Odoo ERP | Streamline Proje...
SatishKumar2651
 
PDF
Digger Solo: Semantic search and maps for your local files
seanpedersen96
 
PDF
Linux Certificate of Completion - LabEx Certificate
VICTOR MAESTRE RAMIREZ
 
PDF
Powering GIS with FME and VertiGIS - Peak of Data & AI 2025
Safe Software
 
PDF
Efficient, Automated Claims Processing Software for Insurers
Insurance Tech Services
 
PPTX
Agentic Automation Journey Series Day 2 – Prompt Engineering for UiPath Agents
klpathrudu
 
PDF
iTop VPN With Crack Lifetime Activation Key-CODE
utfefguu
 
PDF
Revenue streams of the Wazirx clone script.pdf
aaronjeffray
 
PPTX
Home Care Tools: Benefits, features and more
Third Rock Techkno
 
PPTX
Java Native Memory Leaks: The Hidden Villain Behind JVM Performance Issues
Tier1 app
 
PDF
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pdf
Varsha Nayak
 
Empowering Asian Contributions: The Rise of Regional User Groups in Open Sour...
Shane Coughlan
 
Understanding the Need for Systemic Change in Open Source Through Intersectio...
Imma Valls Bernaus
 
How Cloud Computing is Reinventing Financial Services
Isla Pandora
 
Agentic Automation: Build & Deploy Your First UiPath Agent
klpathrudu
 
Alexander Marshalov - How to use AI Assistants with your Monitoring system Q2...
VictoriaMetrics
 
Migrating Millions of Users with Debezium, Apache Kafka, and an Acyclic Synch...
MD Sayem Ahmed
 
Unlock Efficiency with Insurance Policy Administration Systems
Insurance Tech Services
 
Change Common Properties in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Alarm in Android-Scheduling Timed Tasks Using AlarmManager in Android.pdf
Nabin Dhakal
 
Transforming Mining & Engineering Operations with Odoo ERP | Streamline Proje...
SatishKumar2651
 
Digger Solo: Semantic search and maps for your local files
seanpedersen96
 
Linux Certificate of Completion - LabEx Certificate
VICTOR MAESTRE RAMIREZ
 
Powering GIS with FME and VertiGIS - Peak of Data & AI 2025
Safe Software
 
Efficient, Automated Claims Processing Software for Insurers
Insurance Tech Services
 
Agentic Automation Journey Series Day 2 – Prompt Engineering for UiPath Agents
klpathrudu
 
iTop VPN With Crack Lifetime Activation Key-CODE
utfefguu
 
Revenue streams of the Wazirx clone script.pdf
aaronjeffray
 
Home Care Tools: Benefits, features and more
Third Rock Techkno
 
Java Native Memory Leaks: The Hidden Villain Behind JVM Performance Issues
Tier1 app
 
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pdf
Varsha Nayak
 
Ad

Run Selenium Tests With Jenkins and BrowseEmAll

  • 2. Today we will cover 1. What is Jenkins? 2. What is Selenium? 3. Run Selenium Tests on Build 4. Using Selenium Grid 5. Simpler Selenium Grid Setup Introduction
  • 3. What is Jenkins? Jenkins is an open source continuous integration server. It support hundreds of different building, deploying and automation types through plugins.
  • 4. Supported by all major browser vendors: What is Selenium? Free and open source browser automation framework.
  • 5. Run Selenium Tests A simple Selenium test case: [Test] public void TestWithFirefox() { IWebDriver driver = new FirefoxDriver(); driver.Navigate().GoToUrl(TestUrl); Assert.IsFalse(string.IsNullOrEmpty(driver.Title)); driver.Quit(); }
  • 6. Run Selenium Tests Configure Jenkins to run the test (nunit):
  • 7. • Tests run directly on the Jenkins Server machine • Not suitable for bigger test suites • Testing with different operating systems not possible • Tests can not run in parallel Run Selenium Tests Problems with this solution:
  • 9. Using Selenium Grid Simple change to the existing test case: [TestMethod] public void TestWithFirefox() { DesiredCapabilities capability = DesiredCapabilities.Firefox(); IWebDriver driver = new RemoteWebDriver(HubUrl, capability); driver.Navigate().GoToUrl(TestUrl); Assert.IsFalse(string.IsNullOrEmpty(driver.Title)); driver.Quit(); }
  • 10. Using Selenium Test No change to Jenkins necessary!
  • 11. • Tests run on distributed machines • Suitable for bigger test suites • Nodes on different operating systems possible • Tests can run in parallel Using Selenium Grid Selenium Grid is scalable:
  • 12. Simpler Selenium Grid Setup Setup a Selenium Grid in 3 Steps (no requirements)! 1. Install BrowseEmAll Trial 2. Select necessary browsers 3. Start Grid