Seems to be a valid bug - created bug report
http://jira.openqa.org/browse/WTR-485
--
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...@googlegrou
Hi Abe, thanks for the suggestion.
In this case the element is there, it did locate it, it just can't
find the fireEvent method for it...
JavaScript can find it and fire events no problem, so I'm not sure why
Watir is having issues here. I'll create a bug report.
--
Before posting, please read
You could write your own rescue clause for the error:
begin
browser.select_list(:name, 'select').fire_event('change')
rescue WIN32OLERuntimeError
puts "A message that will tell you it can't find the element you wanted."
end
Hope that's helpful.
Abe
--
Before posting, please read http://wa
You could write your own rescue clause for the WIN32OLERuntimeError ...
begin
your code that may error out...
rescue WIN32OLERuntimeError
puts "No registered event for this (or whatever message would work)..."
end
...Just a thought.
Abe
--
Before posting, please read http://watir.com/suppo