public virtual void InitTest() { try { trace.Log(CurrentTestName); CreateApp(); NavigateToHomePage(); } catch { CloseApp(); throw; } }
public virtual string CurrentTestName => TestContext.TestName; // NUnit => replace or override this method with: TestContext.CurrentContext.Test.Name protected TestsBase() { trace = new TracingService(GetType(), Constants.DefaultTraceSource); trace.Log("Init Tracing Service - Success"); }