18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
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.
Downloading file
Hy,
Can I test if a csv download is made? In the browser opened with Sahi, I click on the button then nothing happens. In the normal browser after clicking the button a new general window with "Open with" or "Save file" appears. I've read http://sahi.co.in/w/handle-file-downloads but not helping in my situation.
Can you plizz help?
Can I test if a csv download is made? In the browser opened with Sahi, I click on the button then nothing happens. In the normal browser after clicking the button a new general window with "Open with" or "Save file" appears. I've read http://sahi.co.in/w/handle-file-downloads but not helping in my situation.
Can you plizz help?
Best Answer
-
>the file download by default from sahi happens to the below location.
$path/sahi_pro/userdata/temp/download/
>The download window is not populated when download is initiated from sahi browser
>If Sahi is unable to detect a request as a download, you can force it to download the file by adding URL patterns to the file "download_urls.txt"