In this chapter we will cover the following recipes:
Posting messages to the log
Posting screenshots to the log
Creating folders in the log
Changing log messages' appearance
Getting the number of errors in the log
Changing pictures' format
Comparing screenshots with dynamic content
Decreasing log size
Generating log in our own format
Exporting log to MHT format
Sending logs via e-mail
Introduction
One of the most important feature in every automation tool is logging capabilities. Well-implemented test logs allow easy discovery, help to fix script problems, and identify reasons for failure.
In this chapter, we will discuss frequently used log features and issues one may face while working with TestComplete.