Ruby: http://rubyforge.org/frs/?group_id=167 Watir: http://rubyforge.org/frs/?group_id=104 Watir用户手册: http://wiki.openqa.org/display/WTR/Tutorial Watir 主页:http://wtr.rubyforge.org/ Ruby中文手册:http://www.ruby-cn.org/doc.html Ruby主页:http://ruby-lang.org/en/ Watir安装方法:联网 1. Download and Install ruby186-27_rc1.exe 2. Launch RubyGems Package Manager 3. Input command: gem update –system #in order to update RubyGems gem install watir #install watir from network 4. Test result of watir installation 4.1 Start SciTE 4.2 Simple codes #———————————— require “watir" test_site=”http://www.google.com“ ie=Watir::IE.new ie.goto test_site #———————————— 4.3 Expected result: Open IE, and direct to google.com
[温馨提示]:该文章由原博客园导入而来,如排版效果不佳,请移步:http://www.cnblogs.com/coderzh/archive/2009/08/05/1540005.html
作者:CoderZh
微信关注:hacker-thinking (代码随想)
本文出处:https://blog.coderzh.com/2009/08/05/1540005/
文章版权归本人所有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。