Forum Discussion
HKosova
Alumni
14 years agoHi Ory,
You're actually pretty close. You just need to pass the created attributes object as a parameter to the Log.Message call:
That blog post was written based on a pre-release beta build of TestComplete 8, and the test log behavior appears to have been changed since then.
You're actually pretty close. You just need to pass the created attributes object as a parameter to the Log.Message call:
var Attrs = Log.CreateNewAttributes();
Attrs.ExtendedMessageAsPlainText = false;
Log.Message ("Log Message ", "<html><body><p>This is my <b style=\"color : green\">HTML</b> message. </p> </body> </html>", pmNormal, Attrs);
That blog post was written based on a pre-release beta build of TestComplete 8, and the test log behavior appears to have been changed since then.