/// <summary> /// Verifies that the application was successfully logged out of /// </summary> /// <returns>Boolean true if successful, false otherwise</returns> private Boolean verifySucessfulLogout() { Boolean success = false; pageLoaded.isDomComplete(driver); //If the login page header contains "Login", then the application is deemed successfully logged out of if (getText(elementDictionary["eleLoginPageContentHeader"]).Contains("Login")) { success = true; } return(success); }
/// <summary> /// Verifies successful login /// </summary> /// <returns>Boolean true if successful, false otherwise</returns> private Boolean verifySucessfulLogin() { PageLoaded pl = new PageLoaded(); pl.isDomComplete(driver); Boolean success = false; //If the page header contains "Welcome", then the application is deemed successfully logged into if (getText(elementDictionary["eleHomePageAllContentHeader"]).Contains("Welcome")) { success = true; } return(success); }