/// <summary>
 /// This method is used to log any test comments.
 /// </summary>
 /// <param name="message">A string containing the test comments.</param>
 public static void FilteredComment(string message)
 {
     SpotTestLog.WriteRaw("\t<Comment type=\"0\">"
                          + "<Text>" + FilterUnsafeXml(message) + "</Text>"
                          + "<Date>" + GetDate() + "</Date>"
                          + "<Time>" + DateTime.Now.TimeOfDay.ToString() + "</Time>"
                          + "</Comment>");
 }
 private static void LocalComment(string message, CommentType ct)
 {
     SpotTestLog.WriteRaw("\t<Comment type=\"" + (int)ct + "\">"
                          + "<Text><![CDATA[" + message + "]]></Text>"
                          + "<Date>" + GetDate() + "</Date>"
                          + "<Time>" + DateTime.Now.TimeOfDay.ToString() + "</Time>"
                          + "</Comment>");
 }
 private static void LogKnownFailureCount()
 {
     SpotTestLog.WriteRaw("\t<KnownFailureCount>" + "<Text>" + m_knownFailureCount.ToString() + "</Text>"
                          + "<Date>" + GetDate() + "</Date>" + "<Time>" + DateTime.Now.TimeOfDay.ToString()
                          + "</Time>" + "</KnownFailureCount>");
 }
 private static void LogSkipCount()
 {
     SpotTestLog.WriteRaw("\t<SkipCount>" + "<Text>" + m_skipCount.ToString() + "</Text>"
                          + "<Date>" + GetDate() + "</Date>" + "<Time>" + DateTime.Now.TimeOfDay.ToString()
                          + "</Time>" + "</SkipCount>");
 }
 internal static void WriteMessage(string message)
 {
     SpotTestLog.WriteRaw("\t\t" + "<Text><![CDATA[" + message + "]]></Text>" +
                          "<Date>" + GetDate() + "</Date>" +
                          "<Time>" + DateTime.Now.TimeOfDay.ToString() + "</Time>");
 }