[ 
http://jira.openqa.org/browse/WTR-316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zeljko closed WTR-316.
----------------------

    Resolution: Won't Fix

If this is still a problem, please report it here: 
https://github.com/watir/watir-classic/issues

> Watir::Image save issue with IE8 [patch]
> ----------------------------------------
>
>                 Key: WTR-316
>                 URL: http://jira.openqa.org/browse/WTR-316
>             Project: Watir
>          Issue Type: Bug
>          Components: Save File
>    Affects Versions: 1.6.2
>         Environment: Internet Explorer 8 installed, WinXP or Vista.
>            Reporter: Jason Truesdell
>             Fix For: Soon
>
>         Attachments: diff.txt, diff.txt
>
>
> In IE8, image.save fails to set the path name for which to save an image. 
> This is due to a change in IE.
> With IE8, the control ID for the Save Picture edit control is no longer 1148. 
> It appears to be 1001. I created a patch which resolves the issue, at least 
> with AutoIt 3 installed, by replacing the hard-coded control ID with a 
> [CLASS:Edit] selector. This appears to resolve the issue in IE7 and IE8.
> The patch is attached as a file.
> 125c125
> <         system("ruby -e \"require 'win32ole'; 
> @autoit=WIN32OLE.new('AutoItX3.Control'); [email protected] 'Save 
> Picture', '', 15; if waitresult == 1\" -e \"@autoit.ControlSetText 'Save 
> Picture', '', '[CLASS:Edit]', '#{path}'; @autoit.ControlSend 'Save Picture', 
> '', '1', '{ENTER}';\" -e \"end\"")
> ---
> >         system("ruby -e \"require 'win32ole'; 
> > @autoit=WIN32OLE.new('AutoItX3.Control'); [email protected] 'Save 
> > Picture', '', 15; if waitresult == 1\" -e \"@autoit.ControlSetText 'Save 
> > Picture', '', '1148', '#{path}'; @autoit.ControlSend 'Save Picture', '', 
> > '1', '{ENTER}';\" -e \"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

Reply via email to