コード例 #1
0
 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);
 }
コード例 #2
0
 public void Setup()
 {
     helper.InitBrowser("Chrome");
     helper.BrowserManage();
     helper.NavigateTo("https://wordpress.com/");
     wpLogin.logIn(user, password);
     wpLogin.AcceptCookie();
 }
コード例 #3
0
        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();
        }