''' path should be a string with full path to your destination, e.g. "C:\\Users\\User\\Desktop\\shot.jpg" Sys.Desktop will provide a screenshot from the whole desktop. You can use any mapped object instead of Sys.Desktop '''
2. Enable Post image on error option in your Project -> Properties -> Playback -> Log
3. Currently TestComplete does not have an option to export log to Excel format, however you can create a feature request.