public virtual void BeforeEach() { FW.SetLogger(); Driver.Init(); Pages.Init(); Driver.Goto(FW.Config.Test.Url); }
public virtual void BeforeEach() { FW.SetLogger(); Driver.Init(); WrapPages.Init(); Driver.Current.Manage().Window.Maximize(); Driver.GoToPage(FW.Config.Test.Url); }
public virtual void BeforeEach() { FW.SetLogger(); Driver.Init(); Pages.AllPages.Init(); Driver.GoTo(FW.Config.Test.Url); Driver.WindowMaximize(); }
public void Set_logger() { FW.SetLogger(); FW.Log.Info("Test Message"); var file = File.ReadAllText(FW.CurrentTestDirectory + "/log.txt"); Assert.That(FW.CurrentTestDirectory.FullName.EndsWith("Set_logger")); Assert.That(file.Contains("Test Message")); }
public void BeforeEach() { FW.SetLogger(); Driver.Init(); PagesWrapper.Init(); Driver.GotTo("https://statsroyale.com"); Driver.Current.Manage().Window.Maximize(); Thread.Sleep(6000); Driver.Current.FindElement(By.XPath("/html/body/div[1]/div[1]/div[2]/span[1]/a")).Click(); }
public virtual void Setup() { FW.SetLogger(); Driver.Init( type: FW.Config.Driver.Type, browser: FW.Config.Driver.Browser, setWait: FW.Config.Driver.Wait ); Pages.Init(); }
public virtual void Setup() { FW.SetLogger(); Driver.Init(); Driver.Goto(FW.Config.Test.Url); }