[ 
http://jira.openqa.org/browse/WTR-21?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=20420#action_20420
 ] 

Stephan Kämper commented on WTR-21:
-----------------------------------

Using Watir 2.0.2 on a (German) WinXP there's the same issue.

Additionally I added 

{code}
def open_button
  file_upload_window.button(:value => /&Open|&Abrir|.&ffnen/)
end
{code}

in order to actually find & click the button to open (and upload) the file.

Furthermore using 'Ö&ffnen' (with a German u-umlaut) resulted in an encoding 
error: 
{code}...watir-2.0.4/lib/watir/dialogs/file_field.rb:24: invalid multibyte char 
(US-ASCII)
...watir-2.0.4/lib/watir/dialogs/file_field.rb:24: invalid multibyte char 
(US-ASCII)
...watir-2.0.4/lib/watir/dialogs/file_field.rb:24: syntax error, unexpected 
$end, expecting ')'
    file_upload_window.button(:value => /&Open|&Abrir|Ö&ffnen/)
                                                        ^ (SyntaxError)
(eval):1:in `klass'
{code}


> IE.file_field broken with Non English OS; also problem with winClicker
> ----------------------------------------------------------------------
>
>                 Key: WTR-21
>                 URL: http://jira.openqa.org/browse/WTR-21
>             Project: Watir
>          Issue Type: Bug
>          Components: Save File
>            Reporter: Charley Baker
>             Fix For: Soon
>
>
> doc_chooser = IE.attach(:url, "http://***";)
> doc_chooser.file_field(:name, "filename").set("file://C:/Temp/test.jpg")
> The dialog pop up but then nothing happened. 
> In fact, in the winClicker script, one wait for the "Chose file" window, but 
> my OS is in french (=> "Choix
> du fichier") !! Same problem with the "&Open" button to close the dialog.

-- 
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