protected override bool EvaluateLoadedStatus() { if (!OTAElements.WaitForElementOnPageLoad(_driver, textfieldUsername)) { UnableToLoadMessage = "Could not load login page within the designated timeout period"; return(false); } return(true); }
protected override bool EvaluateLoadedStatus() { if (!OTAElements.WaitForElementOnPageLoad(_driver, textlabelPageHeader)) { UnableToLoadMessage = "Could not load Accounts Overview page within the designated timeout period"; return(false); } return(true); }
public void ClickLoginButton() { OTAElements.Click(_driver, buttonLogin); }
public LoginPage SetPassword(string password) { OTAElements.SendKeys(_driver, textfieldPassword, password); return(this); }
public LoginPage SetUsername(string username) { OTAElements.SendKeys(_driver, textfieldUsername, username); return(this); }
public string GetErrorMessage() { return(OTAElements.GetElementText(_driver, textlabelErrorMessage)); }
public bool IsAt() { return(OTAElements.CheckElementIsVisible(_driver, textlabelPageHeader)); }