以后学习一下Ruby,再了解一下其自动化测试框架Watir


 
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
posted @ 2009-08-05 23:50  CoderZh  阅读(397)  评论(0编辑  收藏  举报