Test file uploads and downloads
Generate files, upload them into inputs, and reuse the last download in a Flow.
Last updated
Generate files, upload them into inputs, and reuse the last download in a Flow.
DoesQA can create files inside a Flow, upload them into a file input, and reuse a file the browser just downloaded. You do not upload files from your laptop into the step.
Use the Flow Builder for this walkthrough.
Start with Open. Point it at the page that has the upload control, or at the start of the journey that leads there.
Add Generate file or Generate image from the Runner family.
Set a Filename, choose the type, and fill the contents or image settings you need.
Continue with Touch and other steps until the file input is ready.
Add Check text or another Check that proves the application accepted the file.

When the application downloads a file during the Run, later steps can use it.
Trigger the download with Touch or another step.
Set File to Last Downloaded.
Open file opens that file in the browser. File uploads it into a file input.
Pro tip: Generate the file in the same Flow (or Step Group) that uploads it. The Generated File picker only lists files created earlier in that path.
Last updated