public void SetLoginData(string company, string login, string pass) { CompanyNameInput.SendKeys(company); LoginInput.SendKeys(login); PasswordInput.SendKeys(pass); SubmitButton.Click(); }
public void SetCorrectLoginData() { CompanyNameInput.SendKeys(LoginData.CompanyName); LoginInput.SendKeys(LoginData.Login); PasswordInput.SendKeys(LoginData.Password); }