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
Could you please elaborate your question?
Thanks
Ashok N
It is well define btw I ll explain again:
1. I want to upload file through browse element of my web application.
2. the file name which I am attaching is image.gif
3. when manually I select the image.gif from file dialog, the proper file name image.gif displays
4. But when I do it through selenium attachFile(), the file name changed to "se-531411945.file"
5. I observed that when I select file from file dialog, the file path is temp folder of windows dir (means the file temprorily store in temp file)
I hope you got it.
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.
I had looked into selenium code it is like that only, it is bug... but I dont know how to raise here. If any body know how to file bug here please let me know.
