I am not familiar with file upload with Selenium, but here are some discussions.
http://www.opensourceconnections.com/2007/06/06/file-uploads-with-selenium/ http://wiki.openqa.org/display/SEL/Selenium+Core+FAQ#SeleniumCoreFAQ-Ican%27tseemtouseSeleniumCoretouploadafile%3BwhenItrytotypeinthefileuploadtextfield%2Cnothinghappens ! http://cakebaker.wordpress.com/2006/03/29/file-upload-with-selenium/ http://gusiev.com/2009/04/upload-files-with-selenium-ide/ Maybe someone could take a look and see if we can add some method in Tellurium to support that. Thanks, Jian On Mon, Sep 28, 2009 at 10: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 -~----------~----~----~----~------~----~------~--~---
