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.

How to download a csv file?

isreenivasisreenivas Members
edited November -1 in Sahi - Open Source
Hello, I'm facing in downloading a csv file? What's the actual procedure to downwload a csv file? The problem is when playback:

1. click on a link in the application screen
2. IE displays "To help protect your security, Internet Explorer blocked this site from downloading files to your computer. Click here for options....."

How to download this without displaying above message. I added "csv" to download_contenttypes configuration file and also added steps mentioned http://sahi.co.in/w/handle-file-downloads link.

Pl help.

Comments

  • I got it resolved. You can close this.
  • narayannarayan Administrators
    Hey,

    Can you please post how you solved this, so that others too can benefit?

    Thanks,
    Narayan
  • I corrected this by setting download.download_if_contentdisposition_is_attachment set to true in sahi.properties file. This was false by default. I have not even modified download_contenttypes.txt. excel entry already there and it worked for csv also I guess.
Sign In or Register to comment.