MonicaTeotia
2 years agoOccasional Contributor
verifying if a file is downloaded
Hi Team,
On click of download button an excel file is downloaded in my application.
How can I verify whether the file has been downloaded?
Use double backslashes '\\'
function FileExistsExample() { if (aqFileSystem.Exists("C:\\Temp\\Book1.xlsx")) { Log.Message("File exist"); } else { Log.Message("File does not exist") } }
You can change the default download folder location in your browser.