#124 ✓resolved
Amos King

Selenium mode clink_link should click_link by id also

Reported by Amos King | January 14th, 2009 @ 11:30 AM | in 0.5

Clicking a by an id doesn't work in selenium mode.

test_should_click_link_by_id(WebratTest): Selenium::CommandError: ed out after 5000ms

/Library/Ruby/Gems/1.8/gems/selenium-client-1.2.9/lib/selenium/client/protocol.rb:13:in `remote_control_command'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/timeout.rb:56:in `timeout'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/timeout.rb:76:in `timeout'
/Library/Ruby/Gems/1.8/gems/selenium-client-1.2.9/lib/selenium/client/protocol.rb:11:in `remote_control_command'
/Library/Ruby/Gems/1.8/gems/selenium-client-1.2.9/lib/selenium/client/idiomatic.rb:263:in `wait_for_condition'
/Library/Ruby/Gems/1.8/gems/selenium-client-1.2.9/lib/selenium/client/extensions.rb:34:in `wait_for_element'
/Users/amos/workspace/opensource/webrat/lib/webrat/selenium/selenium_session.rb:74:in `click_link'
(eval):2:in `click_link'
./test/selenium/webrat_test.rb:35:in `test_should_click_link_by_id'
/Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/testing/setup_and_teardown.rb:94:in `__send__'
/Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/testing/setup_and_teardown.rb:94:in `run'
/Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_controller/integration.rb:597:in `run'

Comments and changes to this ticket

  • Bryan Helmkamp

    Bryan Helmkamp February 9th, 2009 @ 12:08 AM

    Amos -- We're lacking in Selenium test coverage at the moment. This sounds like a good reason to get a very simple suite going.

    Care to take a stab at that when you've got some time?



  • Bryan Helmkamp

    Bryan Helmkamp February 9th, 2009 @ 12:17 AM

    • Milestone set to 0.5
    • State changed from “new” to “open”
  • Amos King

    Amos King February 9th, 2009 @ 07:06 AM

    No problem. It might be a bit. I still need to write the Selenium documentation and I'm remodeling a new house right now. I should be able to work on it a little at a time. Want to assign me this ticket?

  • gaffo

    gaffo June 15th, 2009 @ 12:24 AM

    • State changed from “open” to “resolved”

    I'm pretty sure this is fixed as I just used it a few days ago. I'm sure you'll just hit me if it's not work.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Ruby Acceptance Testing for Web applications.

Shared Ticket Bins

People watching this ticket