您的位置:首页 > 其它

Web自动化测试开源工具-Watir使用入门图解

2008-04-03 17:57 585 查看
作者:李丽军

1.Install Ruby

1>Run Setup



2>Click "Next".



3>Click "I Agree" button.



4>Choose Components,then Click "Next" button.



5>Choose Install location,and click "Next" button.



6>Click "Install"



7>Installing



8>After Installation Completed,Click "Next"



9>Click "Finish" to completing the Ruby Setup



10>Look up Ruby Help from Programs menu



2 Install Watir

1>Open the Command prompt and type "gem install watir",to install it.



2>Waitting for installed Watir Successfully.

3.Install the IE Developer Toolbar



1>Click "Run"



2>Click "Next"



3>Click "I Agree"



4>Click "Next"



5>Click "Next"



6>Click "Close" to completing the installation.





4.Open Ruby SciTE Editor



1>Open the google_search.rb code in SciTE



2>Click "Tools->Go" menu to Run the scripts.



3>Automated run and return the test result.







转贴请注明作者及出处,谢谢!

Author:李丽军 Date:20080403
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: