For the complete documentation index, see llms.txt. This page is also available as Markdown.

File

Upload a file into a file input Element.

File chooses a file and uploads it through a file input on the page. Use it after you have downloaded or generated the file you need in an earlier step.

File Test Step

When to use it

  • Upload a file the Flow just downloaded.

  • Upload a file created with Generate file.

  • Pair with Open file when you need to open a downloaded file in the browser instead of uploading it.

Example Flow

Generate a file, then upload it with File.

Generate file then File upload

Configure

Basics

Field
What to set

Element

The file input Element

File

Last Downloaded (default) or Generated File

Generated File

The generated file to upload when File is Generated File

Advanced

Field
What to set

Status on fail

When should screenshots be taken?

Always (default) or On Failures

Pro tip: Download or generate the file in an earlier step in the same Test Case so Last Downloaded or Generated File points at the right content.

Tags: action, input, file, upload

Last updated