public void GivenILoginToAnyXeroOrganisation() { _driver.Navigate().GoToUrl(AppConfig.Url); UsernameTextBox.SendKeys(TestData.LoginDetails.Email); PasswordTextBox.SendKeys(TestData.LoginDetails.Password); LoginButton.Click(); }
public DashboardPage LoginAsAdmin(TestContext context) { driver.Navigate().GoToUrl(context.Properties["SFURL"].ToString()); LoginRegisterLink.Click(); UsernameTextBox.SendKeys(context.Properties["SFUN"].ToString()); PasswordTextBox.SendKeys(context.Properties["SFPW"].ToString()); LoginButton.Click(); return(NOCSPageHelper.DashboardPage); }
public void EnterUsername(string username) { UsernameTextBox.SendKeys(username); }
//comment public void InputUsername(string username) { UsernameTextBox.Clear(); UsernameTextBox.SendKeys(username); }
public void Login(string username, string password) { UsernameTextBox.SendKeys(username); PasswordTextBox.SendKeys(password); LoginBtn.Click(); }