Skip to main content

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.

  • 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

  1. Trigger the download action.
  2. Wait for the file to be available in the configured download location.
  3. Validate the expected file attributes or content.
  4. Capture evidence in output if the file is missing or malformed.

Last updated: September 20, 2026