Exemple #1
0
        public void TCID2()
        {
            var consentFailLoginpage = new ConsentLoginPage(Driver);

            consentFailLoginpage.GoTo();
            TestUser();
            ConsentLoginPage loginPageAlert = consentFailLoginpage.ReturnWrongErrorMessage(ThetestUser);

            Assert.IsTrue(loginPageAlert.WrongCredentials, "Error message not visible");
        }
Exemple #2
0
        public void TCID1()
        {
            var consentLoginPage = new ConsentLoginPage(Driver);

            consentLoginPage.GoTo();
            TestUser();
            var consentLogin = consentLoginPage.FillOutCredentialsAndLogin(ThetestUser);

            Assert.IsTrue(consentLogin.IsVisible, "Login page not visible");
        }