[
http://jira.openqa.org/browse/WTR-455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zeljko closed WTR-455.
----------------------
Resolution: Won't Fix
If this is still a problem, please report it here:
https://github.com/watir/watir-classic/issues
> link.src generates link.rb:42:in `method_missing': unknown property or
> method: `src' (NoMethodError) HRESULT error code:0x80070057
> ----------------------------------------------------------------------------------------------------------------------------------
>
> Key: WTR-455
> URL: http://jira.openqa.org/browse/WTR-455
> Project: Watir
> Issue Type: Bug
> Components: HTML Controls
> Affects Versions: 1.6.5
> Environment: ruby 1.9.1 and 1.9.2 mingw from
> http://rubyinstaller.org/ with devkit
> Reporter: Kevin DeRossett
> Priority: Critical
>
> My Fix for Watir::Link.src in link.rb at line 39'ish
> @o.getElementsByTagName("IMG")[0.to_s] was failing/not returning a
> #<WIN32OLE_TYPE:DispHTMLImg>
> so calling .src failes
> def src
> assert_exists
> imgsrc = ""
> @o.getElementsByTagName("IMG").each { |img|
> imgsrc = img.src
> break
> }
> return imgsrc
> end
--
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
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-development