SlideShare uma empresa Scribd logo
1 de 32
Baixar para ler offline
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

Mais conteúdo relacionado

Mais procurados

Selenium IDE Tutorial For Beginners | Selenium IDE Tutorial | What Is Seleniu...
Selenium IDE Tutorial For Beginners | Selenium IDE Tutorial | What Is Seleniu...Selenium IDE Tutorial For Beginners | Selenium IDE Tutorial | What Is Seleniu...
Selenium IDE Tutorial For Beginners | Selenium IDE Tutorial | What Is Seleniu...
Simplilearn
 
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
 

Mais procurados (20)

Selenium Concepts
Selenium ConceptsSelenium Concepts
Selenium Concepts
 
Selenium WebDriver training
Selenium WebDriver trainingSelenium WebDriver training
Selenium WebDriver training
 
Selenium Presentation at Engineering Colleges
Selenium Presentation at Engineering CollegesSelenium Presentation at Engineering Colleges
Selenium Presentation at Engineering Colleges
 
Selenium IDE Tutorial For Beginners | Selenium IDE Tutorial | What Is Seleniu...
Selenium IDE Tutorial For Beginners | Selenium IDE Tutorial | What Is Seleniu...Selenium IDE Tutorial For Beginners | Selenium IDE Tutorial | What Is Seleniu...
Selenium IDE Tutorial For Beginners | Selenium IDE Tutorial | What Is Seleniu...
 
Selenium
SeleniumSelenium
Selenium
 
Selenium WebDriver Tutorial For Beginners | What Is Selenium WebDriver | Sele...
Selenium WebDriver Tutorial For Beginners | What Is Selenium WebDriver | Sele...Selenium WebDriver Tutorial For Beginners | What Is Selenium WebDriver | Sele...
Selenium WebDriver Tutorial For Beginners | What Is Selenium WebDriver | 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...
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
 
Selenium introduction
Selenium introductionSelenium introduction
Selenium introduction
 
Web automation using selenium.ppt
Web automation using selenium.pptWeb automation using selenium.ppt
Web automation using selenium.ppt
 
Automation Testing by Selenium Web Driver
Automation Testing by Selenium Web DriverAutomation Testing by Selenium Web Driver
Automation Testing by Selenium Web Driver
 
Test automation using selenium
Test automation using seleniumTest automation using selenium
Test automation using selenium
 
Automation - web testing with selenium
Automation - web testing with seleniumAutomation - web testing with selenium
Automation - web testing with selenium
 
Introduction to Automation Testing and Selenium overiew
Introduction to Automation Testing and Selenium overiewIntroduction to Automation Testing and Selenium overiew
Introduction to Automation Testing and Selenium overiew
 
Automation Testing using Selenium
Automation Testing using SeleniumAutomation Testing using Selenium
Automation Testing using Selenium
 
Test Automation and Selenium
Test Automation and SeleniumTest Automation and Selenium
Test Automation and Selenium
 
Selenium
SeleniumSelenium
Selenium
 
Selenium
SeleniumSelenium
Selenium
 
Web Test Automation with Selenium
Web Test Automation with SeleniumWeb Test Automation with Selenium
Web Test Automation with Selenium
 
Selenium presentation
Selenium presentationSelenium presentation
Selenium presentation
 
Python selenium
Python seleniumPython selenium
Python selenium
 

Destaque

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
 

Destaque (20)

Automated Web Testing With Selenium
Automated Web Testing With SeleniumAutomated Web Testing With Selenium
Automated Web Testing With 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?
 
Extended Finite State Machine - EFSM
Extended Finite State Machine - EFSMExtended Finite State Machine - EFSM
Extended Finite State Machine - EFSM
 

Semelhante 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
 
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
 
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
 

Semelhante 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...
 
Test Automation Using Selenium
Test Automation Using SeleniumTest Automation Using Selenium
Test Automation Using 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
 
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 ...
 
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 Demo
Selenium DemoSelenium Demo
Selenium Demo
 
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
 

Mais 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
 

Mais 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@
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Último (20)

Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 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...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
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
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
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?
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
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
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 

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