Esempio n. 1
0
        public void Dispose()
        {
            if (!string.IsNullOrEmpty(TestContext.CurrentContext.Test.MethodName))
            {
                if (TestContext.CurrentContext.Result.Outcome != ResultState.Success)
                {
                    Screenshot();
                }
                else
                {
                    Reporting.TestPassed();
                }

                Selenium.Dispose();
            }
        }
Esempio n. 2
0
 public void TestFailed(string message)
 {
     Reporting.TestFailed(message, TakeScreenshot());
 }
Esempio n. 3
0
 public void StartUp()
 {
     Reporting.Setup();
     Reporting.CreateTest();
 }
Esempio n. 4
0
 public void StepPassScreenshot(string message)
 {
     Reporting.StepPassedWithScreenshot(message, TakeScreenshot());
 }