Web application testing with Selenium

  • 14,110 views
Uploaded on

Slides from presentation at BarcampBrighton in November 2007.

Slides from presentation at BarcampBrighton in November 2007.

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
  • Thanks for the PPT.
    Are you sure you want to
    Your message goes here
  • Thanks for the PPT.
    Are you sure you want to
    Your message goes here
No Downloads

Views

Total Views
14,110
On Slideshare
0
From Embeds
0
Number of Embeds
4

Actions

Shares
Downloads
836
Comments
2
Likes
8

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 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
  • 8. Four Flavours
  • 9. Four Flavours • Selenium Core
  • 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.
  • 26. Pros and Cons
  • 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