This Question is Possibly Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
6 Replies Last post: Feb 10, 2009 12:12 AM by Prashant  
Chetan Beginner 17 posts since
Oct 21, 2008
Currently Being Moderated

Dec 23, 2008 5:17 AM

file name change when using attachFile()

Hi,

 

when I use attachFile() function its working fine in ff but the file name change to some other name though the file contents are same.

 

I attached "image.gif" which changed to "se-531411945.file" (this file primarly saved to temp file)

 

Please let me know if any body have solution.

 

Thanks,

Chetan

anatar02 Master 379 posts since
Apr 4, 2008
Currently Being Moderated
2. Jan 7, 2009 8:35 AM in response to: Chetan
Re: file name change when using attachFile()

Could you please elaborate your question?

 

Thanks

Ashok N

Prashant Beginner 2 posts since
Oct 23, 2007
Currently Being Moderated
4. Feb 6, 2009 2:29 AM in response to: Chetan
Re: file name change when using attachFile()

I am also facing the same issue. I am using old classic yahoo mail compose feature.

selenium.attachFile("uploadfile","http://www.google.co.in/intl/en/privacy.html");

the file attached to mail with name sel-12424.html.

 

This is something making the function unusable. Please let confirm whethere is it a bug or do we need to change anything to preserve original file name.

Prashant Beginner 2 posts since
Oct 23, 2007
Currently Being Moderated
6. Feb 10, 2009 12:12 AM in response to: Chetan
Re: file name change when using attachFile()

More Like This

  • Retrieving data ...