SlideShare una empresa de Scribd logo
1 de 32
Descargar para leer sin conexión
Web Application Testing
   With Selenium
        Kerry Buckley
What’s Selenium?




Created by Thoughtworks
Uses AJAX & magic
What’s Selenium?

                  • Web testing framework




Created by Thoughtworks
Uses AJAX & magic
What’s Selenium?

                  • Web testing framework
                  • Runs in a browser




Created by Thoughtworks
Uses AJAX & magic
What’s Selenium?

                  • Web testing framework
                  • Runs in a browser
                  • HTML & Javascript



Created by Thoughtworks
Uses AJAX & magic
What’s Selenium?

                  • Web testing framework
                  • Runs in a browser
                  • HTML & Javascript
                  • Open source


Created by Thoughtworks
Uses AJAX & magic
What’s Selenium?

                  • Web testing framework
                  • Runs in a browser
                  • HTML & Javascript
                  • Open source
                  • http://openqa.org/

Created by Thoughtworks
Uses AJAX & magic
Four Flavours
Four Flavours

• Selenium Core
Four Flavours

• Selenium Core
• Selenium IDE
Four Flavours

• Selenium Core
• Selenium IDE
• Selenium Remote Control (RC)
Four Flavours

• Selenium Core
• Selenium IDE
• Selenium Remote Control (RC)
• Selenium on Rails
Selenium Core

                                                     Browser




                                                Application


Just HTML and Javascript, so can be installed in any web/app server.
Install at any convenient path, as long as it’s onthe same server (host & port).
Don’t deploy to live!
Selenium Core

                                                     Browser




                                                                                   Application
                                                   Selenium


Just HTML and Javascript, so can be installed in any web/app server.
Install at any convenient path, as long as it’s onthe same server (host & port).
Don’t deploy to live!
Selenium Core

                                                     Browser




                                                                                   Application
                                                   Selenium


Just HTML and Javascript, so can be installed in any web/app server.
Install at any convenient path, as long as it’s onthe same server (host & port).
Don’t deploy to live!
Selenium RC

                                                    Browser




                                                   Application


No need to change application.
Server launches, drives and kills browser(s).
Acts as proxy to get round same-source policy.
Selenium RC

                                                    Browser




                                                    Selenium
                Application
                                                     Server


No need to change application.
Server launches, drives and kills browser(s).
Acts as proxy to get round same-source policy.
Selenium RC

                                                    Browser




                                                    Selenium
                                                               Tests
                Application
                                                     Server


No need to change application.
Server launches, drives and kills browser(s).
Acts as proxy to get round same-source policy.
Selenium RC

                                                    Browser




                                                    Selenium
                                                               Tests
                Application
                                                     Server


No need to change application.
Server launches, drives and kills browser(s).
Acts as proxy to get round same-source policy.
Selenium RC

                                                    Browser




                                                    Selenium
                                                               Tests
                Application
                                                     Server


No need to change application.
Server launches, drives and kills browser(s).
Acts as proxy to get round same-source policy.
Selenium IDE

                                                   Browser



                                               Application



Firefox plugin. Single browser, but cross-platform.
Record, edit and playback.
Import/export various formats (HTML tables is default, like Selenium).
Selenium IDE

                                                                         Browser
                                                  Selenium



                                               Application



Firefox plugin. Single browser, but cross-platform.
Record, edit and playback.
Import/export various formats (HTML tables is default, like Selenium).
Selenium IDE

                                                                         Browser
                                                  Selenium



                                               Application



Firefox plugin. Single browser, but cross-platform.
Record, edit and playback.
Import/export various formats (HTML tables is default, like Selenium).
Selenium on Rails

                                                   Browser



                                                                    Application
                                                 Selenium



Only runs in test mode, so you don’t need to remove it to deploy.
Selenium on Rails

                                                   Browser


                                                                    ails
                                                                    Rc
                                                                     agi
                                                                    M
                                                                           Application
                                                 Selenium



Only runs in test mode, so you don’t need to remove it to deploy.
Pros and Cons
Pros and Cons

• Runs using a real browser
Pros and Cons

• Runs using a real browser
• Cross-platform & cross-browser
Pros and Cons

• Runs using a real browser
• Cross-platform & cross-browser
• Language-agnostic
Pros and Cons

• Runs using a real browser
• Cross-platform & cross-browser
• Language-agnostic
• Hard to test across hosts or ports
Pros and Cons

• Runs using a real browser
• Cross-platform & cross-browser
• Language-agnostic
• Hard to test across hosts or ports
 • including SSL/non-SSL
Demo

Más contenido relacionado

La actualidad más candente

Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
Simplilearn
 
Test Automation Using Selenium
Test Automation Using SeleniumTest Automation Using Selenium
Test Automation Using Selenium
Nikhil Kapoor
 
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...
Simplilearn
 

La actualidad más candente (20)

Selenium Concepts
Selenium ConceptsSelenium Concepts
Selenium Concepts
 
Selenium Presentation at Engineering Colleges
Selenium Presentation at Engineering CollegesSelenium Presentation at Engineering Colleges
Selenium Presentation at Engineering Colleges
 
Selenium
SeleniumSelenium
Selenium
 
Selenium
SeleniumSelenium
Selenium
 
Automation - web testing with selenium
Automation - web testing with seleniumAutomation - web testing with selenium
Automation - web testing with selenium
 
Automated Web Testing Using Selenium
Automated Web Testing Using SeleniumAutomated Web Testing Using Selenium
Automated Web Testing Using Selenium
 
Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
 
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
 
Test Automation Using Selenium
Test Automation Using SeleniumTest Automation Using Selenium
Test Automation Using Selenium
 
Selenium Demo
Selenium DemoSelenium Demo
Selenium Demo
 
QSpiders - Automation using Selenium
QSpiders - Automation using SeleniumQSpiders - Automation using Selenium
QSpiders - Automation using Selenium
 
Selenium WebDriver FAQ's
Selenium WebDriver FAQ'sSelenium WebDriver FAQ's
Selenium WebDriver FAQ's
 
Web automation using selenium.ppt
Web automation using selenium.pptWeb automation using selenium.ppt
Web automation using selenium.ppt
 
Introduction to selenium
Introduction to seleniumIntroduction to selenium
Introduction to selenium
 
Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
 
Web Test Automation with Selenium
Web Test Automation with SeleniumWeb Test Automation with Selenium
Web Test Automation with Selenium
 
Selenium Maven With Eclipse | Edureka
Selenium Maven With Eclipse | EdurekaSelenium Maven With Eclipse | Edureka
Selenium Maven With Eclipse | Edureka
 
Selenium WebDriver training
Selenium WebDriver trainingSelenium WebDriver training
Selenium WebDriver training
 
Automation Testing using Selenium Webdriver
Automation Testing using Selenium WebdriverAutomation Testing using Selenium Webdriver
Automation Testing using Selenium Webdriver
 
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...
 

Destacado

Mastering selenium for automated acceptance tests
Mastering selenium for automated acceptance testsMastering selenium for automated acceptance tests
Mastering selenium for automated acceptance tests
Nick Belhomme
 
Inverting The Testing Pyramid
Inverting The Testing PyramidInverting The Testing Pyramid
Inverting The Testing Pyramid
Naresh Jain
 
Web App Testing With Selenium
Web App Testing With SeleniumWeb App Testing With Selenium
Web App Testing With Selenium
joaopmaia
 
Raj Subramanian - Mobile Web Testing
Raj Subramanian - Mobile Web TestingRaj Subramanian - Mobile Web Testing
Raj Subramanian - Mobile Web Testing
QA or the Highway
 
Why Johnny Can't Unit Test His Legacy Code - And What You Can Do About It
Why Johnny Can't Unit Test His Legacy Code - And What You Can Do About ItWhy Johnny Can't Unit Test His Legacy Code - And What You Can Do About It
Why Johnny Can't Unit Test His Legacy Code - And What You Can Do About It
Howard Deiner
 

Destacado (20)

Automated Web Testing With Selenium
Automated Web Testing With SeleniumAutomated Web Testing With Selenium
Automated Web Testing With Selenium
 
Automation Testing using Selenium
Automation Testing using SeleniumAutomation Testing using Selenium
Automation Testing using Selenium
 
Unbox yourself Into Testing
Unbox yourself Into TestingUnbox yourself Into Testing
Unbox yourself Into Testing
 
Selenium
SeleniumSelenium
Selenium
 
Mastering selenium for automated acceptance tests
Mastering selenium for automated acceptance testsMastering selenium for automated acceptance tests
Mastering selenium for automated acceptance tests
 
Mobile Testing with Selenium 2 by Jason Huggins
Mobile Testing with Selenium 2 by Jason HugginsMobile Testing with Selenium 2 by Jason Huggins
Mobile Testing with Selenium 2 by Jason Huggins
 
Inverting The Testing Pyramid
Inverting The Testing PyramidInverting The Testing Pyramid
Inverting The Testing Pyramid
 
Testing web application
Testing web applicationTesting web application
Testing web application
 
Agile Testing Framework - The Art of Automated Testing
Agile Testing Framework - The Art of Automated TestingAgile Testing Framework - The Art of Automated Testing
Agile Testing Framework - The Art of Automated Testing
 
Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
 
Selenium Primer
Selenium PrimerSelenium Primer
Selenium Primer
 
Web App Testing With Selenium
Web App Testing With SeleniumWeb App Testing With Selenium
Web App Testing With Selenium
 
Raj Subramanian - Mobile Web Testing
Raj Subramanian - Mobile Web TestingRaj Subramanian - Mobile Web Testing
Raj Subramanian - Mobile Web Testing
 
Tdd & unit test
Tdd & unit testTdd & unit test
Tdd & unit test
 
Mobile testing in the cloud
Mobile testing in the cloudMobile testing in the cloud
Mobile testing in the cloud
 
Why Johnny Can't Unit Test His Legacy Code - And What You Can Do About It
Why Johnny Can't Unit Test His Legacy Code - And What You Can Do About ItWhy Johnny Can't Unit Test His Legacy Code - And What You Can Do About It
Why Johnny Can't Unit Test His Legacy Code - And What You Can Do About It
 
Unit test
Unit testUnit test
Unit test
 
Leveraging Existing Tests in Automated Test Generation for Web Applications
Leveraging Existing Tests in Automated Test Generation for Web ApplicationsLeveraging Existing Tests in Automated Test Generation for Web Applications
Leveraging Existing Tests in Automated Test Generation for Web Applications
 
Mobile web or native app
Mobile web or native appMobile web or native app
Mobile web or native app
 
Web App VS. Hybrid App VS. Native App?
Web App VS. Hybrid App VS. Native App?Web App VS. Hybrid App VS. Native App?
Web App VS. Hybrid App VS. Native App?
 

Similar a Web application testing with Selenium

Selenium WebDriver Tutorial | Selenium WebDriver Tutorial For Beginner | Sele...
Selenium WebDriver Tutorial | Selenium WebDriver Tutorial For Beginner | Sele...Selenium WebDriver Tutorial | Selenium WebDriver Tutorial For Beginner | Sele...
Selenium WebDriver Tutorial | Selenium WebDriver Tutorial For Beginner | Sele...
Simplilearn
 
Selenium Interview Questions And Answers | Selenium Interview Questions | Sel...
Selenium Interview Questions And Answers | Selenium Interview Questions | Sel...Selenium Interview Questions And Answers | Selenium Interview Questions | Sel...
Selenium Interview Questions And Answers | Selenium Interview Questions | Sel...
Simplilearn
 

Similar a Web application testing with Selenium (20)

Introduction to Selenium Webdriver - SpringPeople
Introduction to Selenium Webdriver - SpringPeopleIntroduction to Selenium Webdriver - SpringPeople
Introduction to Selenium Webdriver - SpringPeople
 
Testing world selenium_start_chapter1 (1)
Testing world selenium_start_chapter1 (1)Testing world selenium_start_chapter1 (1)
Testing world selenium_start_chapter1 (1)
 
Selenium WebDriver Tutorial | Selenium WebDriver Tutorial For Beginner | Sele...
Selenium WebDriver Tutorial | Selenium WebDriver Tutorial For Beginner | Sele...Selenium WebDriver Tutorial | Selenium WebDriver Tutorial For Beginner | Sele...
Selenium WebDriver Tutorial | Selenium WebDriver Tutorial For Beginner | Sele...
 
Python selenium
Python seleniumPython selenium
Python selenium
 
Intro
IntroIntro
Intro
 
Selenium Web Driver Tutorial for Cross Browser Testing
Selenium Web Driver Tutorial for Cross Browser TestingSelenium Web Driver Tutorial for Cross Browser Testing
Selenium Web Driver Tutorial for Cross Browser Testing
 
BCS Selenium Workshop
BCS Selenium WorkshopBCS Selenium Workshop
BCS Selenium Workshop
 
Selenium Primer
Selenium PrimerSelenium Primer
Selenium Primer
 
test-automation-selenium-160216124839.pptx
test-automation-selenium-160216124839.pptxtest-automation-selenium-160216124839.pptx
test-automation-selenium-160216124839.pptx
 
Selenium - Introduction
Selenium - IntroductionSelenium - Introduction
Selenium - Introduction
 
Selenium - Introduction
Selenium - IntroductionSelenium - Introduction
Selenium - Introduction
 
Step by step instructions to execute selenium automation testing
Step by step instructions to execute selenium automation testingStep by step instructions to execute selenium automation testing
Step by step instructions to execute selenium automation testing
 
Basics of Selenium IDE,Core, Remote Control
Basics of Selenium IDE,Core, Remote ControlBasics of Selenium IDE,Core, Remote Control
Basics of Selenium IDE,Core, Remote Control
 
Selenium Overview - By Adam Carmi
Selenium Overview - By Adam CarmiSelenium Overview - By Adam Carmi
Selenium Overview - By Adam Carmi
 
Selenium Interview Questions And Answers | Selenium Interview Questions | Sel...
Selenium Interview Questions And Answers | Selenium Interview Questions | Sel...Selenium Interview Questions And Answers | Selenium Interview Questions | Sel...
Selenium Interview Questions And Answers | Selenium Interview Questions | Sel...
 
Selenium Introduction and IDE
Selenium Introduction and IDESelenium Introduction and IDE
Selenium Introduction and IDE
 
What is Selenium Introduction to Selenium Testing.pptx
What is Selenium Introduction to Selenium Testing.pptxWhat is Selenium Introduction to Selenium Testing.pptx
What is Selenium Introduction to Selenium Testing.pptx
 
Selenium
SeleniumSelenium
Selenium
 
Reasons behind selenium automation testing popularity
Reasons behind selenium automation testing popularityReasons behind selenium automation testing popularity
Reasons behind selenium automation testing popularity
 
Demystifying Selenium framework
Demystifying Selenium frameworkDemystifying Selenium framework
Demystifying Selenium framework
 

Más de Kerry Buckley

Tdd for BT E2E test community
Tdd for BT E2E test communityTdd for BT E2E test community
Tdd for BT E2E test community
Kerry Buckley
 
What I learned from Seven Languages in Seven Weeks (IPRUG)
What I learned from Seven Languages in Seven Weeks (IPRUG)What I learned from Seven Languages in Seven Weeks (IPRUG)
What I learned from Seven Languages in Seven Weeks (IPRUG)
Kerry Buckley
 
Background processing
Background processingBackground processing
Background processing
Kerry Buckley
 

Más de Kerry Buckley (20)

Jasmine
JasmineJasmine
Jasmine
 
Testing http calls with Webmock and VCR
Testing http calls with Webmock and VCRTesting http calls with Webmock and VCR
Testing http calls with Webmock and VCR
 
BDD with cucumber
BDD with cucumberBDD with cucumber
BDD with cucumber
 
Ruby nooks & crannies
Ruby nooks & cranniesRuby nooks & crannies
Ruby nooks & crannies
 
TDD refresher
TDD refresherTDD refresher
TDD refresher
 
Javasccript MV* frameworks
Javasccript MV* frameworksJavasccript MV* frameworks
Javasccript MV* frameworks
 
Tdd for BT E2E test community
Tdd for BT E2E test communityTdd for BT E2E test community
Tdd for BT E2E test community
 
7li7w devcon5
7li7w devcon57li7w devcon5
7li7w devcon5
 
What I learned from Seven Languages in Seven Weeks (IPRUG)
What I learned from Seven Languages in Seven Weeks (IPRUG)What I learned from Seven Languages in Seven Weeks (IPRUG)
What I learned from Seven Languages in Seven Weeks (IPRUG)
 
Functional ruby
Functional rubyFunctional ruby
Functional ruby
 
Adastral Park code retreat introduction
Adastral Park code retreat introductionAdastral Park code retreat introduction
Adastral Park code retreat introduction
 
MongoMapper lightning talk
MongoMapper lightning talkMongoMapper lightning talk
MongoMapper lightning talk
 
Ruby
RubyRuby
Ruby
 
Cloud
CloudCloud
Cloud
 
The secret life of bees
The secret life of beesThe secret life of bees
The secret life of bees
 
Background processing
Background processingBackground processing
Background processing
 
Katas, Contests and Coding Dojos
Katas, Contests and Coding DojosKatas, Contests and Coding Dojos
Katas, Contests and Coding Dojos
 
Rack
RackRack
Rack
 
Doing REST Right
Doing REST RightDoing REST Right
Doing REST Right
 
Kanban and Iterationless Working
Kanban and Iterationless WorkingKanban and Iterationless Working
Kanban and Iterationless Working
 

Último

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Último (20)

A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 

Web application testing with Selenium

  • 1. Web Application Testing With Selenium Kerry Buckley
  • 2. What’s Selenium? Created by Thoughtworks Uses AJAX & magic
  • 3. What’s Selenium? • Web testing framework Created by Thoughtworks Uses AJAX & magic
  • 4. What’s Selenium? • Web testing framework • Runs in a browser Created by Thoughtworks Uses AJAX & magic
  • 5. What’s Selenium? • Web testing framework • Runs in a browser • HTML & Javascript Created by Thoughtworks Uses AJAX & magic
  • 6. What’s Selenium? • Web testing framework • Runs in a browser • HTML & Javascript • Open source Created by Thoughtworks Uses AJAX & magic
  • 7. What’s Selenium? • Web testing framework • Runs in a browser • HTML & Javascript • Open source • http://openqa.org/ Created by Thoughtworks Uses AJAX & magic
  • 10. Four Flavours • Selenium Core • Selenium IDE
  • 11. Four Flavours • Selenium Core • Selenium IDE • Selenium Remote Control (RC)
  • 12. Four Flavours • Selenium Core • Selenium IDE • Selenium Remote Control (RC) • Selenium on Rails
  • 13. Selenium Core Browser Application Just HTML and Javascript, so can be installed in any web/app server. Install at any convenient path, as long as it’s onthe same server (host & port). Don’t deploy to live!
  • 14. Selenium Core Browser Application Selenium Just HTML and Javascript, so can be installed in any web/app server. Install at any convenient path, as long as it’s onthe same server (host & port). Don’t deploy to live!
  • 15. Selenium Core Browser Application Selenium Just HTML and Javascript, so can be installed in any web/app server. Install at any convenient path, as long as it’s onthe same server (host & port). Don’t deploy to live!
  • 16. Selenium RC Browser Application No need to change application. Server launches, drives and kills browser(s). Acts as proxy to get round same-source policy.
  • 17. Selenium RC Browser Selenium Application Server No need to change application. Server launches, drives and kills browser(s). Acts as proxy to get round same-source policy.
  • 18. Selenium RC Browser Selenium Tests Application Server No need to change application. Server launches, drives and kills browser(s). Acts as proxy to get round same-source policy.
  • 19. Selenium RC Browser Selenium Tests Application Server No need to change application. Server launches, drives and kills browser(s). Acts as proxy to get round same-source policy.
  • 20. Selenium RC Browser Selenium Tests Application Server No need to change application. Server launches, drives and kills browser(s). Acts as proxy to get round same-source policy.
  • 21. Selenium IDE Browser Application Firefox plugin. Single browser, but cross-platform. Record, edit and playback. Import/export various formats (HTML tables is default, like Selenium).
  • 22. Selenium IDE Browser Selenium Application Firefox plugin. Single browser, but cross-platform. Record, edit and playback. Import/export various formats (HTML tables is default, like Selenium).
  • 23. Selenium IDE Browser Selenium Application Firefox plugin. Single browser, but cross-platform. Record, edit and playback. Import/export various formats (HTML tables is default, like Selenium).
  • 24. Selenium on Rails Browser Application Selenium Only runs in test mode, so you don’t need to remove it to deploy.
  • 25. Selenium on Rails Browser ails Rc agi M Application Selenium Only runs in test mode, so you don’t need to remove it to deploy.
  • 27. Pros and Cons • Runs using a real browser
  • 28. Pros and Cons • Runs using a real browser • Cross-platform & cross-browser
  • 29. Pros and Cons • Runs using a real browser • Cross-platform & cross-browser • Language-agnostic
  • 30. Pros and Cons • Runs using a real browser • Cross-platform & cross-browser • Language-agnostic • Hard to test across hosts or ports
  • 31. Pros and Cons • Runs using a real browser • Cross-platform & cross-browser • Language-agnostic • Hard to test across hosts or ports • including SSL/non-SSL
  • 32. Demo