public void CleanUp() { extent.EndTest(test); test.Log(LogStatus.Info, "EndTest() method will stop capturing information about the test log"); extent.Flush(); test.Log(LogStatus.Info, "Flush() method of ExtentReports wil push/write everything to the document"); extent.Close(); test.Log(LogStatus.Info, "Close() method will clear/close all resource of the ExtentReports object"); pom.Dispose(); }
public void Cleaup() { pom.Dispose(); }