Can I test file downloads?
  • 01 Apr 2022
  • 1 Minute to read
  • Contributors
  • Dark
    Light

Can I test file downloads?

  • Dark
    Light

You can record and execute tests that involve file downloads. However, you cannot test whether the download was complete or run tests on the downloaded file(s).

We are considering the following feature improvements:

  • Check if the downloaded file is valid (i.e., not 0 bytes)
  • Ability to refer to the downloaded file from the Test Result Page, etc.

You can test file uploads with Autify.

Is the downloaded file saved?

No, downloaded files will not be saved anywhere.

The downloaded files are temporarily saved in the test environment while the test is running. However, a new test environment is created at every test and is deleted once the test is complete. Any downloaded file will be deleted at that time.

To check whether the download link is valid, you should be able to do this by adding operations and verifications after the download.

If the download link is invalid, you would expect a dialog informing the user that the link is invalid, or the user will be redirected to a 404 page. Therefore, the steps after the download should fail.

This will be recorded in a screenshot.

However, this solution assumes that an unexpected state will occur. If screens are displayed and operations can be done as expected even when the download link is invalid, please use [JS Step] or devise a similar solution.


Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.