[ http://jira.openqa.org/browse/WTR-270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Charley Baker updated WTR-270: ------------------------------ Fix Version/s: (was: 1.6.7) Soon > Watir 1.6.2: Watir::Exception::UnknownObjectException when accessing image > via :src (Firefox) > --------------------------------------------------------------------------------------------- > > Key: WTR-270 > URL: http://jira.openqa.org/browse/WTR-270 > Project: Watir > Issue Type: Bug > Components: FireWatir > Affects Versions: 1.6.2 > Environment: Windows XP > Reporter: John Fitisoff > Priority: Major > Fix For: Soon > > > I'm starting to look at porting our test framework over to 1.6.2 from 1.4.1 > and ran into a problem clicking on images. See steps below. > require 'watir/browser' > Watir::Browser.default = 'firefox' > b.goto('www.google.com') > b.image(:src, 'http://www.google.com/intl/en_ALL/images/logo.gif').click > No problems with IE. Don't have a Safari environment yet. Stack trace: > Watir::Exception::UnknownObjectException: Unable to locate element, using > :src, "http://www.google.com/intl/en_ALL/images/logo.gif" > from > c:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/MozillaBaseElement.rb:967:in > `assert_exists' > from > c:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/MozillaBaseElement.rb:1112:in > `click' > from (irb):3:in `breakpoint' > from c:/ruby/lib/ruby/site_ruby/1.8/breakpoint.rb:563:in `breakpoint' > from > C:/eclipse/perforce_workspace/eng/test/watir/framework/ui.rb:144:in > `start_session' > from C:/eclipse/perforce_workspace/eng/test/watir/framework/ui.rb:218 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.openqa.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira _______________________________________________ Wtr-development mailing list Wtr-development@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-development