/// <summary>
 /// Stores a log file for the test run. Depending on the execution
 /// environment, this call may not successful.
 /// </summary>
 /// <param name="logName">The name of the log file.</param>
 /// <param name="fileContent">The log file content as a string.</param>
 public virtual void WriteLogFile(string logName, string fileContent)
 {
     if (TestService != null && TestService.HasService(TestServiceFeature.TestReporting))
     {
         TestReportingProvider trp = TestService.GetService <TestReportingProvider>(TestServiceFeature.TestReporting);
         if (trp != null)
         {
             trp.WriteLog(null, logName, fileContent);
         }
     }
 }