Beispiel #1
0
        public void Init()
        {
            _web = new WebInteraction(CurrentTestCase.TestCaseResult.LogPostList,
                                      new SeleniumTafDriver(CurrentTestCase.TestCaseResult.LogPostList, new ChromeDriver()));

            CurrentTestCase.AddReport(new TestCaseExecutionPlainTextReport());
            CurrentTestCase.AddReport(new TestCaseHtmlReport());

            CurrentTestCase.Log(new LogPost.LogPostInfo("Browse to Skogsvårdsportalen"));
            _web.Navigate("https://skogsvardtestintern.sveaskog.se");
        }
Beispiel #2
0
 public static void LogPassingTestStep(string message)
 {
     MyLogger.Info(message);
     CurrentTestCase.Log(Status.Pass, message);
 }
Beispiel #3
0
 private static void LogInfoMessage(Status status, string message)
 {
     MyLogger.Info(message);
     CurrentTestCase.Log(status, message);
 }