Beispiel #1
0
 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();
     }
 }
Beispiel #2
0
 public void Setup()
 {
     // creates a test
     ExtentManager.CreateTest(this.GetType().Name + "." + NUnit.Framework.TestContext.CurrentContext.Test.Name, NUnit.Framework.TestContext.CurrentContext.Test.FullName);
 }
Beispiel #3
0
 public void TeardownAll()
 {
     //calling flush generates the report
     ExtentManager.Flush();
     // DriverManager.CloseAllDrivers();
 }
Beispiel #4
0
 public void TeardownAll()
 {
     //calling flush generates the report
     ExtentManager.Flush();
 }