Hi,
I really like selenium, and I just tried the plugin created Jonas
Bengtsson. However I cannot get it to run on rails 1.1 and coundn’t find
anyone complaining about it?
Did anyone get it to run on rails 1.1.2?
Greets,
Abdur-Rahman
Hi,
I really like selenium, and I just tried the plugin created Jonas
Bengtsson. However I cannot get it to run on rails 1.1 and coundn’t find
anyone complaining about it?
Did anyone get it to run on rails 1.1.2?
Greets,
Abdur-Rahman
Hi,
I’ve heard about it once before (Plugins problems with RoR 1.1 in production - Rails - Ruby-Forum)
but it seems to work for me.
Can you be a little more specific about how it’s not working for you?
Cheers,
Jonas
Abdur-Rahman A. wrote:
Hi,
I really like selenium, and I just tried the plugin created Jonas
Bengtsson. However I cannot get it to run on rails 1.1 and coundn’t find
anyone complaining about it?Did anyone get it to run on rails 1.1.2?
Greets,
Abdur-Rahman
Hi,
The “could not find selenium installation” error indicates that you
haven’t installed Selenium. Download Selenium 0.6 from
http://openqa.org/selenium/download.action and unzip it in
\vendor\selenium\
The “simple_format” error appears to be a defect in the plugin. I’ll see
if I can fix it. (If you install the RedCloth gem it should go away)
Hope that helps!
/Jonas
Abdur-Rahman A. wrote:
Jonas,
I installed your plugin with (plugin install svnadres) and then made two
test with the generate. And started the server with “ruby script/server
-e test” and browsed to http://localhost:3000/selenium/. I got the error
“could not find selenium installation”. I use windows xp and the rails
1.1 gem!Here is the result of rake test_plugins:
(in C:/Documents and Settings/Developer/project_develop)
Loaded suite
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader
Started
…EEEEEEEEEFF.EEE…
Finished in 0.531 seconds.
- Error:
test_selenese(RendererTest):
ActionView::TemplateError: undefined method `simple_format’ for
#SeleniumOnRails::Selenese:0x362a948
Jonas,
sorry, figured it out, forgot to rename selenium in the vendor directory
:S
Thnx for the plugin!!
Greets,
Abdur-Rahman
Thnx, got them both to work
Jonas,
I installed your plugin with (plugin install svnadres) and then made two
test with the generate. And started the server with “ruby script/server
-e test” and browsed to http://localhost:3000/selenium/. I got the error
“could not find selenium installation”. I use windows xp and the rails
1.1 gem!
Here is the result of rake test_plugins:
(in C:/Documents and Settings/Developer/project_develop)
Loaded suite
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader
Started
…EEEEEEEEEFF.EEE…
Finished in 0.531 seconds.
1: Selenese *support*
2:
3: |open|/selenium/setup|
#{RAILS_ROOT}/vendor/plugins/selenium_on_rails/lib/selenium_on_rails/selenese.rb:44:in
`extract_comments’
#{RAILS_ROOT}/vendor/plugins/selenium_on_rails/lib/selenium_on_rails/selenese.rb:15:in
`render’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:404:in
`delegate_render’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:288:in
`render_template’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:249:in
`render_file’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/base.rb:699:in
`render_file’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/base.rb:634:in
`render_with_no_layout’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/layout.rb:251:in
`render_without_benchmark’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/benchmarking.rb:53:in
`render’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/benchmarking.rb:53:in
`measure’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/benchmarking.rb:53:in
render' vendor/plugins/selenium_on_rails/test/test_helper.rb:25:in
render’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/base.rb:677:in
`render_to_string’
#{RAILS_ROOT}/vendor/plugins/selenium_on_rails/lib/selenium_on_rails/renderer.rb:7:in
`render_test_case’
#{RAILS_ROOT}/vendor/plugins/selenium_on_rails/lib/controllers/selenium_controller.rb:21:in
`test_file’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/base.rb:910:in
`send’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/base.rb:910:in
`perform_action_without_filters’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/filters.rb:368:in
`perform_action_without_benchmark’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/benchmarking.rb:69:in
`perform_action_without_rescue’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/benchmarking.rb:69:in
`measure’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/benchmarking.rb:69:in
`perform_action_without_rescue’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/rescue.rb:82:in
`perform_action’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/base.rb:381:in
`send’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/base.rb:381:in
`process_without_filters’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/filters.rb:377:in
`process_without_session_management_support’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/session_management.rb:117:in
`process_without_test’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/test_process.rb:16:in
`process’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/test_process.rb:363:in
`process’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/test_process.rb:336:in
get' vendor/plugins/selenium_on_rails/test/renderer_test.rb:54:in
test_selenese’
c:/ruby/lib/ruby/1.8/test/unit/testcase.rb:70:in __send__' c:/ruby/lib/ruby/1.8/test/unit/testcase.rb:70:in
run’
c:/ruby/lib/ruby/1.8/test/unit/testsuite.rb:32:in run' c:/ruby/lib/ruby/1.8/test/unit/testsuite.rb:31:in
each’
c:/ruby/lib/ruby/1.8/test/unit/testsuite.rb:31:in run' c:/ruby/lib/ruby/1.8/test/unit/testsuite.rb:32:in
run’
c:/ruby/lib/ruby/1.8/test/unit/testsuite.rb:31:in each' c:/ruby/lib/ruby/1.8/test/unit/testsuite.rb:31:in
run’
c:/ruby/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:44:in
run_suite' c:/ruby/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:65:in
start_mediator’
c:/ruby/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:39:in
start' c:/ruby/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:27:in
run’
c:/ruby/lib/ruby/1.8/test/unit/autorunner.rb:194:in run' c:/ruby/lib/ruby/1.8/test/unit/autorunner.rb:14:in
run’
c:/ruby/lib/ruby/1.8/test/unit.rb:285
c:/ruby/lib/ruby/1.8/test/unit.rb:283
simple_format' for #<SeleniumOnRails::Selenese:0x3528498> C:/Documents and Settings/Developer/project_develop/config/../vendor/plugins/selenium_on_rails/lib/selenium_on_rails/selenese.rb:44:in
extract_comments’c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:404:in
`delegate_render’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:288:in
render_template' ./vendor/plugins/selenium_on_rails/test/selenese_test.rb:7:in
selenese’
./vendor/plugins/selenium_on_rails/test/selenese_test.rb:11:in
assert_selenese' ./vendor/plugins/selenium_on_rails/test/selenese_test.rb:163:in
test_command_html_entity_escaping’
simple_format' for #<SeleniumOnRails::Selenese:0x3527670> C:/Documents and Settings/Developer/project_develop/config/../vendor/plugins/selenium_on_rails/lib/selenium_on_rails/selenese.rb:44:in
extract_comments’c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:404:in
`delegate_render’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:288:in
render_template' ./vendor/plugins/selenium_on_rails/test/selenese_test.rb:7:in
selenese’
./vendor/plugins/selenium_on_rails/test/selenese_test.rb:11:in
assert_selenese' ./vendor/plugins/selenium_on_rails/test/selenese_test.rb:98:in
test_commands_and_comments’
simple_format' for #<SeleniumOnRails::Selenese:0x3524d30> C:/Documents and Settings/Developer/project_develop/config/../vendor/plugins/selenium_on_rails/lib/selenium_on_rails/selenese.rb:44:in
extract_comments’c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:404:in
`delegate_render’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:288:in
render_template' ./vendor/plugins/selenium_on_rails/test/selenese_test.rb:7:in
selenese’
./vendor/plugins/selenium_on_rails/test/selenese_test.rb:11:in
assert_selenese' ./vendor/plugins/selenium_on_rails/test/selenese_test.rb:73:in
test_commands_only’
simple_format' for #<SeleniumOnRails::Selenese:0x35221c8> C:/Documents and Settings/Developer/project_develop/config/../vendor/plugins/selenium_on_rails/lib/selenium_on_rails/selenese.rb:44:in
extract_comments’c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:404:in
`delegate_render’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:288:in
render_template' ./vendor/plugins/selenium_on_rails/test/selenese_test.rb:7:in
selenese’
./vendor/plugins/selenium_on_rails/test/selenese_test.rb:11:in
assert_selenese' ./vendor/plugins/selenium_on_rails/test/selenese_test.rb:123:in
test_comments_and_commands’
simple_format' for #<SeleniumOnRails::Selenese:0x351f948> C:/Documents and Settings/Developer/project_develop/config/../vendor/plugins/selenium_on_rails/lib/selenium_on_rails/selenese.rb:44:in
extract_comments’c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:404:in
`delegate_render’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:288:in
render_template' ./vendor/plugins/selenium_on_rails/test/selenese_test.rb:7:in
selenese’
./vendor/plugins/selenium_on_rails/test/selenese_test.rb:11:in
assert_selenese' ./vendor/plugins/selenium_on_rails/test/selenese_test.rb:152:in
test_comments_commands_comments’
simple_format' for #<SeleniumOnRails::Selenese:0x351cbd0> C:/Documents and Settings/Developer/project_develop/config/../vendor/plugins/selenium_on_rails/lib/selenium_on_rails/selenese.rb:44:in
extract_comments’c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:404:in
`delegate_render’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:288:in
render_template' ./vendor/plugins/selenium_on_rails/test/selenese_test.rb:7:in
selenese’
./vendor/plugins/selenium_on_rails/test/selenese_test.rb:11:in
assert_selenese' ./vendor/plugins/selenium_on_rails/test/selenese_test.rb:52:in
test_comments_only’
simple_format' for #<SeleniumOnRails::Selenese:0x3519918> C:/Documents and Settings/Developer/project_develop/config/../vendor/plugins/selenium_on_rails/lib/selenium_on_rails/selenese.rb:44:in
extract_comments’c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:404:in
`delegate_render’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:288:in
render_template' ./vendor/plugins/selenium_on_rails/test/selenese_test.rb:7:in
selenese’
./vendor/plugins/selenium_on_rails/test/selenese_test.rb:11:in
assert_selenese' ./vendor/plugins/selenium_on_rails/test/selenese_test.rb:21:in
test_empty’
simple_format' for #<SeleniumOnRails::Selenese:0x3517698> C:/Documents and Settings/Developer/project_develop/config/../vendor/plugins/selenium_on_rails/lib/selenium_on_rails/selenese.rb:44:in
extract_comments’c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:404:in
`delegate_render’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:288:in
render_template' ./vendor/plugins/selenium_on_rails/test/selenese_test.rb:7:in
selenese’
./vendor/plugins/selenium_on_rails/test/selenese_test.rb:11:in
assert_selenese' ./vendor/plugins/selenium_on_rails/test/selenese_test.rb:32:in
test_one_line’
simple_format' for #<SeleniumOnRails::Selenese:0x35129d0>"> ---Backtrace--- C:/Documents and Settings/Developer/project_develop/config/../vendor/plugins/selenium_on_rails/lib/selenium_on_rails/selenese.rb:44:in
extract_comments’render' c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:404:in
delegate_render’render_template' ./vendor/plugins/selenium_on_rails/test/selenese_test.rb:7:in
selenese’test_raised_when_more_than_one_set_of_commands' ./vendor/plugins/selenium_on_rails/test/selenese_test.rb:173:in
assert_raise’simple_format' for #<SeleniumOnRails::Selenese:0x348c288>"> ---Backtrace--- C:/Documents and Settings/Developer/project_develop/config/../vendor/plugins/selenium_on_rails/lib/selenium_on_rails/selenese.rb:44:in
extract_comments’render' c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:404:in
delegate_render’render_template' ./vendor/plugins/selenium_on_rails/test/selenese_test.rb:7:in
selenese’test_raised_when_more_than_three_columns' ./vendor/plugins/selenium_on_rails/test/selenese_test.rb:167:in
assert_raise’find_selenium_path' C:/Documents and Settings/Developer/project_develop/config/../vendor/plugins/selenium_on_rails/lib/selenium_on_rails/paths.rb:4:in
selenium_path’c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/base.rb:910:in
`send’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/base.rb:910:in
`perform_action_without_filters’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/filters.rb:368:in
`perform_action_without_benchmark’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/benchmarking.rb:69:in
`perform_action_without_rescue’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/benchmarking.rb:69:in
`measure’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/benchmarking.rb:69:in
`perform_action_without_rescue’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/rescue.rb:82:in
`perform_action’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/base.rb:381:in
`send’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/base.rb:381:in
`process_without_filters’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/filters.rb:377:in
`process_without_session_management_support’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/session_management.rb:117:in
`process_without_test’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/test_process.rb:16:in
`process’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/test_process.rb:363:in
`process’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/test_process.rb:336:in
`get’
./vendor/plugins/selenium_on_rails/test/selenium_support_test.rb:28:in
`test_missing_file’
find_selenium_path' C:/Documents and Settings/Developer/project_develop/config/../vendor/plugins/selenium_on_rails/lib/selenium_on_rails/paths.rb:4:in
selenium_path’c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/base.rb:910:in
`send’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/base.rb:910:in
`perform_action_without_filters’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/filters.rb:368:in
`perform_action_without_benchmark’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/benchmarking.rb:69:in
`perform_action_without_rescue’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/benchmarking.rb:69:in
`measure’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/benchmarking.rb:69:in
`perform_action_without_rescue’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/rescue.rb:82:in
`perform_action’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/base.rb:381:in
`send’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/base.rb:381:in
`process_without_filters’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/filters.rb:377:in
`process_without_session_management_support’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/session_management.rb:117:in
`process_without_test’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/test_process.rb:16:in
`process’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/test_process.rb:363:in
`process’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/test_process.rb:336:in
`get’
./vendor/plugins/selenium_on_rails/test/selenium_support_test.rb:11:in
`test_route’
find_selenium_path' C:/Documents and Settings/Developer/project_develop/config/../vendor/plugins/selenium_on_rails/lib/selenium_on_rails/paths.rb:4:in
selenium_path’c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/base.rb:910:in
`send’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/base.rb:910:in
`perform_action_without_filters’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/filters.rb:368:in
`perform_action_without_benchmark’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/benchmarking.rb:69:in
`perform_action_without_rescue’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/benchmarking.rb:69:in
`measure’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/benchmarking.rb:69:in
`perform_action_without_rescue’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/rescue.rb:82:in
`perform_action’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/base.rb:381:in
`send’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/base.rb:381:in
`process_without_filters’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/filters.rb:377:in
`process_without_session_management_support’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/session_management.rb:117:in
`process_without_test’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/test_process.rb:16:in
`process’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/test_process.rb:363:in
`process’
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/test_process.rb:336:in
`get’
./vendor/plugins/selenium_on_rails/test/selenium_support_test.rb:17:in
`test_test_runner_existance’
37 tests, 102 assertions, 2 failures, 12 errors
rake aborted!
Command failed with status (1): [c:/ruby/bin/ruby -Ilib;test
"c:/ruby/lib/r…]
(See full trace by running task with --trace)
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs