Forum Discussion
nastester
7 months agoRegular Contributor
Not sure if this will help you much but I have a script routine that I call in a keyword test to do something similar:
function DownloadFileExists()
{
var file = "C:\\Users\\" + Sys.UserName + "\\Downloads\\Text_Messaging.pdf"
if (aqFileSystem.Exists(file)) {
Log.Message("File exists: " + file);
} else {
Log.Error("File does not exist")
}
}
Related Content
Recent Discussions
- 6 days ago
- 6 days ago
- 9 days ago