History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: WTR-21
Type: Bug Bug
Status: Open Open
Priority: Minor Minor
Assignee: Unassigned
Reporter: Charley Baker
Votes: 1
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Watir

IE.file_field broken with Non English OS; also problem with winClicker

Created: 27/Apr/06 01:39 PM   Updated: 10/Jun/08 02:12 PM
Component/s: Save File
Affects Version/s: None
Fix Version/s: 1.6.2

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
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.

 All   Comments   Work Log   Change History      Sort Order:

marcog - 15/Sep/07 10:27 AM
Workaround for Watir version 1.5.2:

Change line 4069 of watir.rb, and replace every instance of 'Choose file' in the system call with the localized string ("Velg fil" in Norwegian).