"VERIFY_FILE_DOWNLOAD" Command

Description: This command checks to see whether a specific file is downloaded to a particular file location and it has the option of deleting it after downloading and verifying. The option “Validate file” allows validating that the file is correct.

Usage Scenario: Suppose we want to download a file and wait 10 seconds for the download to finish. Then verify that it was downloaded. If your file is downloaded directly in Downloads folder (C:\Users\USERNAME\Downloads), you can use your own user for local runs, but for cloud executions on SaaS installations, the username is ‘xpoint’.

Procedure: Define your step and uncheck "Delete file after check". Set your timeout to needed time (10 seconds for example) and enter the path of the file where it will be downloaded (C:\Users\username\Downloads). Your step will look like this:

image-20240605-143528.png

 

 

Suggested articles

https://subject7.zendesk.com/hc/en-us/articles/13138460246679-How-to-verify-a-downloaded-file-by-using-only-parts-of-the-name

Related pages