Beispiel #1
0
        public void Teardown()
        {
            if (report.Status == Status.Fail)
            {
                string screenShotPath = _screenShotGenerator.Capture("Screenshot");
                report.AddScreenShotCapture(screenShotPath);
            }

            report.EndReport();
            if (_driver != null)
            {
                _driver.Quit();
            }
        }
 public static void ClassCleanup()
 {
     BasicReport.EndReport();
 }