public void TestFixtureSetUp() { if (DebugHelper == null) { DebugHelper = new DebugHelper(); } RestoreDb(); RecordHelper.StartRecord(); Try(OpenBrowser, true); }
public void SetUp() { Try(() => { RecordHelper.StartRecord(); if (!MainPage.IsBrowserOpen()) { Try(OpenBrowser); AfterReload = true; TestSuccess = true; } else { if (!TestSuccess) // jak zmienimy nunita na nowego do wywalenia nunit 2.6 ma taka flage { MainPage.GoToUrl(Url); AfterReload = true; TestSuccess = true; } } }); }