Validate Downloaded Files in Scenario Editor
Validate Downloaded Files in Scenario Editor
Use this guidance when a Scenario Editor test downloads a file and needs to confirm that the expected file was created and contains valid content.
Recommended guidance
- Configure the execution environment so downloads go to a known approved location.
- Validate file name, type, size, and content according to the test objective.
- Do not rely only on browser download UI.
- Clean up downloaded files when the execution environment requires it.
Validation workflow
- Trigger the download action.
- Wait for the file to be available in the configured download location.
- Validate the expected file attributes or content.
- Capture evidence in output if the file is missing or malformed.
Last updated: September 20, 2026