Validate File Exists
Use this verification step to confirm that a specific file has been downloaded successfully during test execution.
When to Use
To validate that clicking a Download button results in the correct file being saved.
To ensure files are downloaded with the correct naming convention or extension.
Steps to Add 'Validate File Exists'
During recording, download the file that you want to validate.
Then click Add a Verification Step.
Select Validate file exists.
From the Downloads folder shown in the modal, click on the file you want to validate.
During test execution, the recorder checks whether this file exists in the designated downloads folder after the relevant step runs.
You can view this step in the Features page as part of the recorded scenario.
After running the scenario, you can view the result of this verification step on the Reports page.