#212 awaiting-merge
T.J. VanSlyke

Selenium fill_in raises Selenium exception when driving Internet Explorer

Reported by T.J. VanSlyke | March 31st, 2009 @ 06:42 PM

We have a large suite of Cucumber tests driven by Webrat. Until now, we've been running them within a Firefox Selenium environment. When we attempted to run the suite through Internet Explorer, we found that several (but not all) calls to fill_in raised the following Selenium error:

      OR: Selenium failure. Please report to the Selenium Users forum at http://forums.openqa.org, with error details from the log window.  The error message is: Object doesn't support this property or method (Selenium::CommandError)
      /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'
      (eval):2:in `fill_in'
      ./features/step_definitions/webrat_steps.rb:15:in `/^I fill in "(.*)" with "(.*)"$/'

Our interim solution was to replace the steps calling fill_in with explicit selenium.type calls. Looking at the implementation of SeleniumSession#fill_in, I notice it is pushing the message "webrat=field_identifier" to the Selenium server. I'm unaware of what Selenium knows about Webrat, so any information toward that end might help in resolving this.

Comments and changes to this ticket

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