FileDownload
You use the FileDownload keyword to download (and export) a file.
Signature
The ServerConfig keyword supports the following signature:
FileDownload(FileName,ButtonRN/NULL,Save/Cancel)
The file downloads to the following location: C:\\temp\\Download_File
.
Note: The Exefiles folder must be copied from the TestHarness before
execution.
Desktop Examples
The following table describes how to use the FileDownload keyword to download a file in desktop applications.
Target Object | Inputs | Closing Action | Comments |
---|---|---|---|
abc.txt |
NULL |
Save |
Downloads the file. |
export.csv |
SWE Export Applet.btnNext |
Cancel |
Cancels the download pop-up window. |
Mobile Examples
The FileDownload keyword does not apply to mobile applications.