public void LoginSoftUni() { WebDriverWait wait = new WebDriverWait(this.Driver, TimeSpan.FromSeconds(60)); IWebElement loginButton = wait.Until <IWebElement>((w) => { return(w.FindElement(By.LinkText("Вход"))); }); loginButton.Click(); SoftUniUser softUniUser = AccessExcelData.GetTestDataSoftUniUser("Login"); this.userName.Clear(); this.userName.SendKeys(softUniUser.Username); this.passWord.Clear(); this.passWord.SendKeys(softUniUser.Password); this.Login.Click(); }
internal void FillRegistrationForm(SoftUniUser user) { throw new NotImplementedException(); }