Exemplo n.º 1
0
        public void LoginAs(string username, string password)
        {
            UserNameTextBox.SendKeys(username);

            PasswordTextBox.SendKeys(password);

            LoginButton.Click();
        }
Exemplo n.º 2
0
 public void LoginToAPP()
 {
     UserNameTextBox.Clear();
     UserNameTextBox.SendKeys(ReadEnv.ReadData("base", "username"));
     PasswordText.Clear();
     PasswordText.SendKeys(ReadEnv.ReadData("base", "password"));
     LoginButton.Click();
     Assert.True(LaunchButton.Displayed);
 }