Forum: Ruby on Rails selenium plugin not working with rails 1.1

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Abdur-Rahman A. (Guest)
on 2006-04-23 00:38
(Received via mailing list)
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
Jonas B. (Guest)
on 2006-04-23 00:50
Hi,

I've heard about it once before (http://www.ruby-forum.com/topic/62321)
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
Abdur-Rahman A. (Guest)
on 2006-04-23 01:00
(Received via mailing list)
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) Error:
test_selenese(RendererTest):
ActionView::TemplateError: undefined method `simple_format' for
#<SeleniumOnRails::Selenese:0x362a948>
    On line #0 of
vendor/plugins/selenium_on_rails/test_data/selenese.sel

    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

  2) Error:
test_command_html_entity_escaping(SeleneseTest):
NoMethodError: undefined method `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:/Documents and
Settings/Developer/project_develop/config/../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'
    ./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'

  3) Error:
test_commands_and_comments(SeleneseTest):
NoMethodError: undefined method `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:/Documents and
Settings/Developer/project_develop/config/../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'
    ./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'

  4) Error:
test_commands_only(SeleneseTest):
NoMethodError: undefined method `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:/Documents and
Settings/Developer/project_develop/config/../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'
    ./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'

  5) Error:
test_comments_and_commands(SeleneseTest):
NoMethodError: undefined method `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:/Documents and
Settings/Developer/project_develop/config/../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'
    ./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'

  6) Error:
test_comments_commands_comments(SeleneseTest):
NoMethodError: undefined method `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:/Documents and
Settings/Developer/project_develop/config/../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'
    ./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'

  7) Error:
test_comments_only(SeleneseTest):
NoMethodError: undefined method `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:/Documents and
Settings/Developer/project_develop/config/../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'
    ./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'

  8) Error:
test_empty(SeleneseTest):
NoMethodError: undefined method `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:/Documents and
Settings/Developer/project_develop/config/../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'
    ./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'

  9) Error:
test_one_line(SeleneseTest):
NoMethodError: undefined method `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:/Documents and
Settings/Developer/project_develop/config/../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'
    ./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'

 10) Failure:
test_raised_when_more_than_one_set_of_commands(SeleneseTest)
[./vendor/plugins/selenium_on_rails/test/selenese_test.rb:173]:
You cannot have comments in the middle of commands!.
<RuntimeError> exception expected but was
Class: <NoMethodError>
Message: <"undefined method `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'
C:/Documents and
Settings/Developer/project_develop/config/../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'
./vendor/plugins/selenium_on_rails/test/selenese_test.rb:7:in `selenese'
./vendor/plugins/selenium_on_rails/test/selenese_test.rb:180:in
`test_raised_when_more_than_one_set_of_commands'
./vendor/plugins/selenium_on_rails/test/selenese_test.rb:173:in
`assert_raise'
./vendor/plugins/selenium_on_rails/test/selenese_test.rb:173:in
`test_raised_when_more_than_one_set_of_commands'
---------------

 11) Failure:
test_raised_when_more_than_three_columns(SeleneseTest)
[./vendor/plugins/selenium_on_rails/test/selenese_test.rb:167]:
There might only be a maximum of three cells!.
<RuntimeError> exception expected but was
Class: <NoMethodError>
Message: <"undefined method `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'
C:/Documents and
Settings/Developer/project_develop/config/../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'
./vendor/plugins/selenium_on_rails/test/selenese_test.rb:7:in `selenese'
./vendor/plugins/selenium_on_rails/test/selenese_test.rb:168:in
`test_raised_when_more_than_three_columns'
./vendor/plugins/selenium_on_rails/test/selenese_test.rb:167:in
`assert_raise'
./vendor/plugins/selenium_on_rails/test/selenese_test.rb:167:in
`test_raised_when_more_than_three_columns'
---------------

 12) Error:
test_missing_file(SeleniumSupportTest):
RuntimeError: could not find selenium installation
    C:/Documents and
Settings/Developer/project_develop/config/../vendor/plugins/selenium_on_rails/lib/selenium_on_rails/paths.rb:44:in
`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:/Documents and
Settings/Developer/project_develop/config/../vendor/plugins/selenium_on_rails/lib/controllers/selenium_controller.rb:37:in
`support_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/selenium_support_test.rb:28:in
`test_missing_file'

 13) Error:
test_route(SeleniumSupportTest):
RuntimeError: could not find selenium installation
    C:/Documents and
Settings/Developer/project_develop/config/../vendor/plugins/selenium_on_rails/lib/selenium_on_rails/paths.rb:44:in
`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:/Documents and
Settings/Developer/project_develop/config/../vendor/plugins/selenium_on_rails/lib/controllers/selenium_controller.rb:37:in
`support_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/selenium_support_test.rb:11:in
`test_route'

 14) Error:
test_test_runner_existance(SeleniumSupportTest):
RuntimeError: could not find selenium installation
    C:/Documents and
Settings/Developer/project_develop/config/../vendor/plugins/selenium_on_rails/lib/selenium_on_rails/paths.rb:44:in
`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:/Documents and
Settings/Developer/project_develop/config/../vendor/plugins/selenium_on_rails/lib/controllers/selenium_controller.rb:37:in
`support_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/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)
Jonas B. (Guest)
on 2006-04-23 01:14
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.
>
>   1) Error:
> test_selenese(RendererTest):
> ActionView::TemplateError: undefined method `simple_format' for
> #<SeleniumOnRails::Selenese:0x362a948>
Abdur-rahman A. (Guest)
on 2006-04-23 01:18
(Received via mailing list)
Jonas,

sorry, figured it out, forgot to rename selenium in the vendor directory
:S

Thnx for the plugin!!

Greets,

Abdur-Rahman
Abdur-rahman A. (Guest)
on 2006-04-23 01:18
(Received via mailing list)
Thnx, got them both to work :)
This topic is locked and can not be replied to.