public void Setup() { // creates a test ExtentManager.CreateTest(this.GetType().Name + "." + TestContext.CurrentContext.Test.Name, TestContext.CurrentContext.Test.FullName); // calling flush writes everything to the log file if (WebConfig.AutoLaunchBrowser) { driver = DriverManager.StartDriver(); driver.Manage().Window.Maximize(); } }
public void Setup() { // creates a test ExtentManager.CreateTest(this.GetType().Name + "." + NUnit.Framework.TestContext.CurrentContext.Test.Name, NUnit.Framework.TestContext.CurrentContext.Test.FullName); }
public void TeardownAll() { //calling flush generates the report ExtentManager.Flush(); // DriverManager.CloseAllDrivers(); }
public void TeardownAll() { //calling flush generates the report ExtentManager.Flush(); }