matt
15 years agoOccasional Contributor
aqFileSystem.CopyFile displays message box instead of just returning FALSE
If the PathToExistingFile is not found (because it is invalid) then a message box is incorrectly displayed:
Error Copying File or Folder
Cannot copy file: Cannot read from the source file or disk.
[OK]
This causes script execution to hang indefinitely until the message box is manually dismissed. According to the TC online help:
"If the PathToExistingFile file was not found, the method returns False."
It appears to be a defect that a message box is being displayed.
I am seeing this in TC 7.2 and TC 7.5. I don't know about earlier versions.