public void TCID2() { var consentFailLoginpage = new ConsentLoginPage(Driver); consentFailLoginpage.GoTo(); TestUser(); ConsentLoginPage loginPageAlert = consentFailLoginpage.ReturnWrongErrorMessage(ThetestUser); Assert.IsTrue(loginPageAlert.WrongCredentials, "Error message not visible"); }
public void TCID1() { var consentLoginPage = new ConsentLoginPage(Driver); consentLoginPage.GoTo(); TestUser(); var consentLogin = consentLoginPage.FillOutCredentialsAndLogin(ThetestUser); Assert.IsTrue(consentLogin.IsVisible, "Login page not visible"); }