Upload a file in a web test with the File upload step, from a remote URL, a
previously downloaded file, or a local path.
The File upload step must come before the step that opens the native file
picker.
Setup
- Add a File upload step with a source:
- Remote URL:
http://... or https://... (publicly accessible)
- Previously downloaded file:
file://<download-key> from an earlier
download step
- Local file: absolute path, or path relative to
momentic.config.yaml
- (Optional) Set a File name to rename the uploaded file.
- Add a Click step on the button that opens the file picker.
Limits
- One file per step.
- Maximum file size: 50MB.