About File Download Page

This page implements multiple ways initiating a file download.

Download Files

File Downloads are relatively easy to test.

They are sometimes a little harder to automate.

Automating Download Files

One approach to automating Downloads is to use an HTTP library and directly pull down the file.

The other is to use the default functionality in your chosen Browser Automating Tool and trap the file download.

Page Functionality

The page has multiple approaches to generating the file.

No JavaScript is used so each link or button has a reference to the file URL.

Some of these connect directly to a file on the server, some make a server call which generates and returns the file.

Automating

Try and trigger each download mechanism using both direct and browser based automating.

Make sure to compare the results of the download to what you expected.

Help keep this site free by joining our Patreon Membership site. Membership costs as little as $1 a month and includes access to exclusive e-books and online training courses.