public EventReportingDriver(IWebDriver parentDriver) : base(parentDriver) { report = ReportManager.Instance; this.ExceptionThrown += ExceptionThrownHandler; this.ElementClicked += ElementClickedHandler; this.ElementClicking += ElementClickingHandler; this.FindElementCompleted += FindElementCompletedHandler; }
public void BeforeAll() { report = ReportManager.Instance; TestContext.TestAdapter testAdapter = TestContext.CurrentContext.Test; testInfo = new ReporterTestInfo(); testInfo.TestName = testAdapter.Name; testInfo.FullyQualifiedTestClassName = testAdapter.FullName; testInfo.Status = DifidoTestStatus.success; testStopwatch = new Stopwatch(); testStopwatch.Start(); report.StartTest(testInfo); }