radu
7 years agoOccasional Contributor
disable screenshot for Log.Error
Dear all,
Is there a way to instruct TestComplete (TC) not to take a screenshot for certain situations?
For example you create a function which deletes a folder from C drive, but for a certain reasons the deletion doesn't work, and an error occurs; at this point TC takes a screenshot and adds it to the report, although showing a screenshot with your application/web application to the log doesn't add any value.
Is it possible to write something for the Picture parameter so that the screenshot is not taken?
Log.Error(MessageText, AdditionalInformation, Priority, Attr, Picture, FolderID);
Thank you!
R