public void InvalidUserNameLogin() { Console.WriteLine(); helper.NavigateTo("https://wordpress.com/"); Assert.AreEqual(true, wpLogin.WelcomeTitle.Displayed); wpLogin.logIn("invalid@#@#", "same"); Assert.AreEqual(true, wpLogin.UserNotExistMessage.Displayed); }
public void Setup() { helper.InitBrowser("Chrome"); helper.BrowserManage(); helper.NavigateTo("https://wordpress.com/"); wpLogin.logIn(user, password); wpLogin.AcceptCookie(); }
public void Setup() { //Add Path to stored values from the local text file, then the corresponding line helper.InitBrowser("Chrome"); helper.BrowserManage(); helper.NavigateTo("https://wordpress.com/"); wpLogin.logIn(user, password); wpLogin.AcceptCookieButton.Click(); }