> ## Documentation Index
> Fetch the complete documentation index at: https://qatech-docs-bankid-manual-auth.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# File Downloads

> Testing to export and download files

## Testing File Downloads

QA.tech's agent can test file download functionality in your web applications. When a file download is triggered during a test, the agent will:

1. Detect the download event
2. Wait for the download to complete
3. Verify the file was downloaded successfully
4. Show a success message with the file details

<img width="400px" src="https://mintcdn.com/qatech-docs-bankid-manual-auth/Iuvp3YRUsy5_DeyT/images/file-download-modal.png?fit=max&auto=format&n=Iuvp3YRUsy5_DeyT&q=85&s=95b02daae013715c2257c6f9521022ee" alt="File Download Modal" data-path="images/file-download-modal.png" />

To test file downloads just write the test like you normally would and the agent will handle the rest.
For example *Click the export button* will automatically download the file and verify it was downloaded successfully.

### Download Limitations

* The agent will wait up to 30 seconds for a download to complete
* The agent will download files up to 100MB in size
* Some specialized download types (like streaming media) are not supported
* Downloaded files are just temporary and you can not upload the file again
* To test that a downloaded file follows a format please contact us and we can help
* Files can not be downloaded from emails
  Contact us if you have questions or need to test this functionality
