Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Fast web acceptance testing with selenium-grid

4,743 views

Published on

slides from http://citconf.com/amsterdam2008/

  • Be the first to comment

Fast web acceptance testing with selenium-grid

  1. 1. (Fast) Web Acceptance Testing with selenium grid http://citconf.com/amsterdam2008/ Jean-Michel Garnier | 21croissants.com
  2. 3. classic selenium <ul><li>cross-(broswer | platform | language) </li></ul><ul><li>selenium-ide </li></ul><ul><li>demo? </li></ul><ul><li>others? watir, commercials </li></ul>php C# ...
  3. 4. Future looks great! <ul><li>version 1.0 coming soon! </li></ul><ul><li>google uses selenium farms: </li></ul><ul><li>by 50 teams & 51 000 tests </li></ul><ul><li>Selenium User Meetup video (feb 2008) http://www.youtube.com/watch?v=EDb8yOM3Vpw </li></ul>
  4. 5. http://flickr.com/photos/swperman/503327974/ SLOW:-( FAT Selenium test 2 FAT Selenium test 1 selenium remote control alley
  5. 7. RUN PARALLEL TESTS ON A GRID ! FAST;-)
  6. 8. hub Grid of selenium remote controls Integration tests
  7. 9. Easy to set up deep-test <ul><li>set up GRID of machines with </li></ul><ul><li>vmare + windows limited to 1 rc:-( </li></ul><ul><li>same API as selenium remote control </li></ul><ul><li>Run tests on parallel with existing frameworks: </li></ul><ul><li>Test NG </li></ul><ul><li>Parralel Unit </li></ul>
  8. 10. Very fast! <ul><li>Tune the grid </li></ul><ul><li>OR use Amazon Elastic Compute Cloud </li></ul><ul><li>“ Benchmarks”: </li></ul><ul><li> : 10 minutes build VS 3 hours !! </li></ul><ul><li>Demo on my slow laptop: 50% gain </li></ul>
  9. 11. Demo Toshiba 1.66Ghz 2Gb RAM x 5 selenium remote ctls hub
  10. 12. selenium-grid RSpec reports <ul><li>business </li></ul><ul><li>designers </li></ul><ul><li>developpers </li></ul>
  11. 14. selenium-grid by Mr. Philippe Hanrigou <ul><ul><li>http://ph7spot.com/ </li></ul></ul><ul><ul><li>http://selenium-grid.openqa.org </li></ul></ul><ul><ul><li>Run the demo in 5 min </li></ul></ul><ul><ul><li>and read the excellent doc! </li></ul></ul>

×