Hi Natasha,

Have you tried file_field?

browser = Watir::IE.attach(...)
browser.file_field(:id,"open_file").set(filepath)


On Jun 16, 6:26 am, Natasha Ranney <itsn...@yahoo.co.uk> wrote:
> Hi
>
> Thanks for the pointer.
>
> Unfortunately I don't think it will help, as it looks for HTML tag <input
> type = file> :(
>
> But following is the piece of code that invokes the popup in my case:
>
> <div>
>                         <a href="#" class="linkbutton alt">
>                                 <span class="left"></span>
>                                 <span id="spnUploadButton" 
> class="middle">Upload your images to MOO</span>
>
>                                 <span class="right"></span>
>                         </a>
>                 </div>
>
> And the above is using a Flash method to invoke File uploader.
> Thanks,
> Natasha
>
> ________________________________
> From: Željko Filipin <zeljko.fili...@wa-research.ch>
> To: watir-general@googlegroups.com
> Sent: Tuesday, 16 June, 2009 12:46:15
> Subject: [wtr-general] Re: Automating a File uploader popup
>
> On Tue, Jun 16, 2009 at 10:47 AM, Natasha <itsn...@yahoo.co.uk> wrote:
> > One of the links on our company website invokes a file uploader popup
> > window.
>
> This does not work?
>
> http://wiki.openqa.org/display/WTR/File+Uploads
>
> Željko
> --http://watirpodcast.com/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to