18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

_setFile doesn't work on IE7 , works on Firefox 3.0

hari19hari19 Members
edited August 2009 in Sahi - Open Source
I previously had an issue where _setFile did not work ( http://sahi.co.in/forums/viewtopic.php?id=1073 )
This was fixed in a build Narayan mailed me and also in the 20090715 build.

This works on firefox but does not work on IE 7.
I've recorded a script that uses _setFile.

When I run the script with Firefox the sahi console logs show the file being uploaded :
[java]
21548648327595
[java] Content-Disposition: form-data; name="importFile"; filename="my.xml"
[java] Content-Type: application/octet-stream
[java]
[java] <?xml version='1.0' encoding='UTF-8'?>
[java] <!DOCTYPE Configuration PUBLIC 'mydtd.dtd' 'mydtd.dtd'>
...
...


When I run the same script with IE 7 I see :
[java]
7d9222154c0a7c
[java] Content-Disposition: form-data; name="importFile"; filename=""
[java] Content-Type: application/octet-stream
[java]
[java]
7d9222154c0a7c
Tagged:
Sign In or Register to comment.