Haha...I guess I got a work around for uploading.

Usually the input field expects us to click and select the file name
using the browser. And ofcourse the input field doesn't have automatic
"Click".
So I inserted the respond attribute of click and .... here comes the
magic part.
1) I click on the input, obviously it isn't doing anything
2) I inserted the typed the text into the input field

and voila....it worked like charm.

I have tested this in Mac, would appreciate if anybody can test in
windows.

Still looking for the solution to download.

Cool,
Bala.

On Sep 29, 10:49 am, Bala <[email protected]> wrote:
> Hi Hari,
>
>   1) Yes, the type of the input is file
>   2) Actually I am on mac, but let me check by inserting double
> slashes...I completely forgot about that.
>
> -Bala.
>
> On Sep 28, 7:51 pm, Harihara Vinayakaram <[email protected]> wrote:
>
> > Hi
> >    Can you check the following :
>
> > 1) The variable that needs to be set (i.e. form variable) should be of type
> > <input type="file" ..>
>
> > 2) If you are on a Windows machine make sure that your inputs are of the
> > type "c:\\tmp\\abx.xml"
>
> > There is no way to simulate the popping up of the file browse (I tried using
> > some XBL and also some selenium user extensions) but I was not able to
> > succeed
>
> > Regards
> > Hari
>
> > On Tue, Sep 29, 2009 at 6:06 AM, Bala <[email protected]> wrote:
>
> > > Hey Guys,
>
> > > I highly appreciate your responsiveness and time you spending into
> > > this project.
>
> > > Currently, I am working with
> > > 1. file downloading...which opens a
> > >         a) dialog box asking whether to open or save
> > >         b) where to save
>
> > > and
> > > 2. file uploading...which has a input element with type="file" (a text
> > > box with a browse button)
> > >         I was able to type into the input field mentioned above
> > > directly, but when I submit the form...it couldn't find the file -
> > > which tells me that I can do that way...only optioned left being
> > >         a) click on the browse button which opens a dialog(again)
> > >         b) insert the file address into the address field.
>
> > > I tried the selenium way(mentioned above), but dint seem to work. Any
> > > idea and example would be highly appreciated.
>
> > > Thanks,
> > > Bala.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"tellurium-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/tellurium-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to