public bool IsLoggedIn(string username) { Pages.LoginPage loginPage = new Pages.LoginPage(driver); return(loginPage.GetLoggedInUserName().Trim().ToLower().Equals(username)); }
public bool IsLoggedIn(string username) { Pages.LoginPage loginPage = new Pages.LoginPage(driver); return (loginPage.GetLoggedInUserName().Trim().ToLower().Equals(username)); }
public bool IsLoggedIn(string username) { log.Info("Into IsLoggedIn() method of Steps."); Console.WriteLine("Into IsLoggedIn() method of Steps."); Pages.LoginPage loginPage = new Pages.LoginPage(driver); return (loginPage.GetLoggedInUserName().Trim().ToLower().Equals(username)); }
public string GetLoggedInUserName() { Pages.LoginPage loginPage = new Pages.LoginPage(driver); return(loginPage.GetLoggedInUserName()); }