daniel_dewinter
6 years agoContributor
Log error (instead of info) when aqFile.Copy fails
Hello,
I'm using aqFile.Copy method to copy some file.
Sometimes the copy action fails (file server/nas unavailable) and a Information Message is send
as stated in the Remarks here: htt...
- 6 years ago
The method returns a boolean true or false as well. Assign the result of the method to a variable and do an if/then logic on the value. If true, do nothing. If false, log an error or a warning to the test log indicating that the copy failed.