+ -
当前位置:首页 → 问答吧 → 感激! Use Selenium Webdriver + Ruby in Eclipse

感激! Use Selenium Webdriver + Ruby in Eclipse

时间:2014-04-04

来源:互联网

I installed eclipse, then download ruby package, and then gem install selenium-webdriver.

I have some ruby webdriver testcases and everything works in command line.

For example:
When I type 'filename.rb' on the command prompt and it will run and launch browser automatically and everything works.

But then when I open the file in eclipse and try to run it, and it display an error like:

"no such file to load -- selenium-webdriver (LoadError)"

I believe I missed some steps in eclipse / webdriver configuration. Please help!

[ 本帖最后由 cyw119 於 2014-3-15 08:24 PM 编辑 ]

作者: cyw119   发布时间: 2014-04-04

未试过IDE 夹selenium, 不过firefox 可以直接加 selenium plugin

作者: form5   发布时间: 2014-04-05

我唔系用 selenium IDE (record and play),我谂应该系我有 D step 系 eclipse 里面 missed 咗, 请指教.

作者: cyw119   发布时间: 2014-04-05