public bool IsLogInSuccessful() { var wpLogin = WebPageFactory.CreatePage <WebPageLogin>(); wpLogin.WaitForPageReady(); wpLogin.Open(); return(true); }
public void ThenWebPageIsDisplayedOnTheBrowser(string pageName) { var expectedWebPage = WebPageFactory.CreatePageNamed(pageName); Assert.IsTrue(expectedWebPage.IsDisplay()); if (expectedWebPage.IsDisplay()) { _resultWebPage = WebPageFactory.CreatePageNamed(pageName); } }
public void GivenWebPageIsDisplayedOnTheBrowser(string pageName) { _inputWebPage = WebPageFactory.CreatePageNamed(pageName); _inputWebPage.Open(); _inputWebPage.WaitForPageReady(); }