Пример #1
0
 public void SetLoginData(string company, string login, string pass)
 {
     CompanyNameInput.SendKeys(company);
     LoginInput.SendKeys(login);
     PasswordInput.SendKeys(pass);
     SubmitButton.Click();
 }
Пример #2
0
 public void Login(string user, string pasw)
 {
     LoginInput.Clear();
     PasswordInput.Clear();
     LoginInput.SendKeys(user);
     PasswordInput.SendKeys(pasw);
     LoginButton.Click();
 }
Пример #3
0
        public void Login(string username, string password)
        {
            LoginInput.SendKeys(username);
            PasswordInput.SendKeys(password);
            LoginButton.Click();

            TestHelpers.WaitForHttpRequest();
        }
Пример #4
0
        public HomePage SignIn(User user)
        {
            LoginInput.SendKeys(user.Name);
            NextButton.Click();
            PasswordInput.SendKeys(user.Password);
            SubmitButton.Click();

            return(new HomePage(driver));
        }
Пример #5
0
 public void SetCorrectLoginData()
 {
     CompanyNameInput.SendKeys(LoginData.CompanyName);
     LoginInput.SendKeys(LoginData.Login);
     PasswordInput.SendKeys(LoginData.Password);
 }
Пример #6
0
 public void InputLogin(string login)
 {
     LoginInput.Click();
     LoginInput.Clear();
     LoginInput.SendKeys(login);
 }
Пример #7
0
 public void SetLoginInput(string text)
 {
     LoginInput.SendKeys(text);
 }