public void SetLoginData(string company, string login, string pass) { CompanyNameInput.SendKeys(company); LoginInput.SendKeys(login); PasswordInput.SendKeys(pass); SubmitButton.Click(); }
public void Login(string user, string pasw) { LoginInput.Clear(); PasswordInput.Clear(); LoginInput.SendKeys(user); PasswordInput.SendKeys(pasw); LoginButton.Click(); }
public void Login(string username, string password) { LoginInput.SendKeys(username); PasswordInput.SendKeys(password); LoginButton.Click(); TestHelpers.WaitForHttpRequest(); }
public HomePage SignIn(User user) { LoginInput.SendKeys(user.Name); NextButton.Click(); PasswordInput.SendKeys(user.Password); SubmitButton.Click(); return(new HomePage(driver)); }
public void SetCorrectLoginData() { CompanyNameInput.SendKeys(LoginData.CompanyName); LoginInput.SendKeys(LoginData.Login); PasswordInput.SendKeys(LoginData.Password); }
public void InputLogin(string login) { LoginInput.Click(); LoginInput.Clear(); LoginInput.SendKeys(login); }
public void SetLoginInput(string text) { LoginInput.SendKeys(text); }