예제 #1
0
 private void SetUserEmail(string UserName)
 {
     try
     {
         Console.WriteLine("Is Email textbox displayed? {0}", EmailTextbox.Displayed);
         EmailTextbox.Clear();
         EmailTextbox.SendKeys(UserName);
     }
     catch (Exception e)
     {
         Logger.Error("Error: ", e);
         throw (e);
     }
 }
예제 #2
0
 public void Login(string username, string password)
 {
     EmailTextbox.SendKeys(username);
     PasswordTextbox.SendKeys(password);
     SubmitButton.Click();
 }