Tips
July 17, 2024

Tip of the Day 11

Tip 11

Easily Automate File Downloads in Sahi Pro

How to use this Tip?

Sahi Pro automatically detects file downloads triggered from your web application.

These downloads are saved to <Sahi Pro>/userdata/temp/download directory.

You can use Action 'Save Downloaded As' to save the file to a desired location.

How does this help you?

While downloading a file, 'Save As' dialogs may be shown by the browser to download and save the fle. Since Sahi Pro automatically handles file downloads, your automation need not handle these 'Save As' dialogs.

Sahi Pro also appends a 'sessionId' to the filename downloaded. Thus, during Parallel Playback, multiple simultaneous tests do not overwrite each other’s files.

Download this Tip as a PDF

Continue reading