I'm trying to click this using Ruby 1.8.7 and Watir 1.6.7.

<tr onclick="goTo('/Administration/DeleteFilter.asp', 'Claim')">

The code below worked in Ruby 1.8.6 and Watir 1.6.2

@what = '/Administration/DeleteFilter.asp'
ie.element_by_xpath("//tr[contains(@onclick, '#...@what}')]/").click()

I'm getting this error.

C:/ruby187/lib/ruby/gems/1.8/gems/watir-1.6.7/lib/watir/winClicker.rb:
208: [BUG] Segmentation fault
ruby 1.8.7 (2010-08-16 patchlevel 302) [i386-mingw32]


This application has requested the Runtime to terminate it in an
unusual way.
Please contact the application's support team for more information.

Any ideas?

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com

Reply via email to