public void RunAfterAnyTestsAsync()
 {
     if (BaseConfiguration.JiraResult == "SuiteLevel")
     {
         JsonContext.InfoFinishDate = DateHelper.CurrentDateTimeZoneStamp;
         this.GetJSONStringforSuite();
         if (BaseConfiguration.PublishJira == "Yes")
         {
             SuiteLevelConfiguration.PostToJIRA();
         }
     }
 }
 public void RunAfterAnyTestsAsync()
 {
     if (BaseConfiguration.JiraResult == "SuiteLevel")
     {
         SuiteExtent.EndTest(DriverContext.ExtentStepTest);
         SuiteExtent.Flush();
         TestContext.AddTestAttachment(this.Filename);
         JsonContext.InfoFinishDate = DateHelper.CurrentDateTimeZoneStamp;
         this.GetJSONStringforSuite();
         if (BaseConfiguration.PublishJira == "Yes")
         {
             SuiteLevelConfiguration.PostToJIRA();
         }
     }
 }