Ok, my problem is to do with handling a windows ***file upload dialog box*.
I'm trying to write some code that will click the *file upload* button,
navigate to path where the file is stored and after selecting a file click
"Open" button of the* file upload dialog box*.
ie.button(:id, "_______").click_no_wait
ie.send_keys("c:\__________")
ie.send_keys("{ENTER}")
Unfortunately click_no_wait just flashes the *dialog box and *does not pop
up the Dialog Box. I've tried click by itself and that opens the *dialog box
* but the rest of the script does not execute.
In this case i cannot use the file upload method:-
$ie.file_field(:name, "").set("your file.txt")
As there is no text field for setting the file name in the textboxes.
Application Functionality:-
There is "Select File" button and on clicking it, shows "File Upload" Dialog
box and if user select a file and press enter the file automatically starts
uploading....
Any Ideas on this?
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
[email protected]
http://groups.google.com/group/watir-general
[email protected]