Upload
yidiyu
View
309
Download
1
Embed Size (px)
DESCRIPTION
Watir - Web Application Testing in Ruby
Citation preview
I’m Watir, not WaterWeb Application Testing in Ruby
杨凯 QQ: 7865062012.12.14
Principle
Selenium Webserver
Browser Java/Python/Ruby Code
Install Ruby
Windows Platform
• If you’re on Windows, there’s a great project to help you install Ruby: RubyInstaller.
• Verify code: ruby -v
1 偶数为稳定版,例如 1.9.2为稳定版2 建议安装过程中勾选 “add ruby exectables to your PATH”
Install Watir-webdriver
Windows Platform
• gem update --system gem install watir-webdriver
• Verify code: gem list watir
Mac OS Platform
• gem update --systemgem install watir-webdriver
• Verify code: gem list watir
Trial
irb: International Rugby Board
Install Browser Driver
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
Chrome Driver
• Download
• Requirements
Help
Thank You