selenium-on-rails安装
selenium-on-rails有在线安装的,
但我从http://mac.softpedia.com/get/Developer-Tools/Selenium-on-rails.shtml
下载了一个包,安装时,总是安装不上,说找不到"selenium-on-rails".
[解决办法]
http://www.51testing.com/?uid-29925-action-viewspace-itemid-70387
直接在插件里面搜索,然后安装多好啊
[解决办法]
重新启动了吗
[解决办法]
up
[解决办法]
Rails periodically changes the way that it renders pages, which unfortunately breaks backwards versions of Selenium on Rails. Therefore there are different installation locations depending on your version of Rails:
Rails 2.2 and up:
http://svn.openqa.org/svn/selenium-on-rails/stable/selenium-on-rails
Rails 2.1:
http://svn.openqa.org/svn/selenium-on-rails/tags/rails_2_1/selenium-on-rails
Before Rails 2.1:
http://svn.openqa.org/svn/selenium-on-rails/tags/pre-rails-2-1/selenium-on-rails
The latest release is always kept on GitHub at
git clone git://github.com/paytonrules/selenium-on-rails.git
To install:
1. Install Selenium on Rails: script/plugin install
2. If you???re on Windows, gem install win32-open3
3. If the RedCloth gem is available the Selenese test cases can use it for better markup.
4. Run the Rakefile in the plugin???s directory to run the tests in order to see that everything works. (If RedCloth isn???t installed a few tests will fail since they assume RedCloth is installed.)
5. Create a test case: script/generate selenium
6. Start the server: script/server -e test
7. Point your browser to localhost:3000/selenium
8. If everything works as expected you should see the Selenium test runner. The north east frame contains all your test cases (just one for now), and the north frame contains your test case.