I'm watir

512 views

Published on

Watir - Web Application Testing in Ruby

Published in: Technology
  • Be the first to comment

  • Be the first to like this

I'm watir

  1. 1. I’m Watir, not Water Web Application Testing in Ruby 杨凯 QQ: 786506 2012.12.14
  2. 2. Principle
  3. 3. Selenium WebserverBrowser Java/Python/Ruby Code
  4. 4. Install Ruby
  5. 5. Windows Platform • If you’re on Windows, there’s a great project to help you install Ruby: RubyInstaller. • Verify code: ruby -v1 偶数为稳定版,例如 1.9.2为稳定版2 建议安装过程中勾选 “add ruby exectables to your PATH”
  6. 6. Install Watir-webdriver
  7. 7. Windows Platform• gem update --system gem install watir-webdriver• Verify code: gem list watir
  8. 8. Mac OS Platform• gem update --system gem install watir-webdriver• Verify code: gem list watir
  9. 9. Trial
  10. 10. irb: International Rugby Board
  11. 11. Install Browser Driver
  12. 12. IE Driver • The standalone server executable must be downloaded from the Downloads page and placed in your PATH.参考:http://code.google.com/p/selenium/wiki/InternetExplorerDriver
  13. 13. Chrome Driver• Download• Requirements
  14. 14. Help
  15. 15. Thank You

×