Your SlideShare is downloading. ×
Web application testing with Selenium
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Web application testing with Selenium

14,247
views

Published on

Slides from presentation at BarcampBrighton in November 2007.

Slides from presentation at BarcampBrighton in November 2007.

Published in: Technology

2 Comments
8 Likes
Statistics
Notes
No Downloads
Views
Total Views
14,247
On Slideshare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
839
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

×