public void OneTimeTearDown() { ExtentReport.Flush(); ExtentReport.email_send(); XML.append(); if (newrunflag) { //Generate Run GUID _dbresults.UpdateEndTime(TestData.RunGuid.ToString()); } if (resultflag) { _dbresults.UpdateScriptPassCount(); } }