예제 #1
0
 private void SetPassword(string Password)
 {
     try
     {
         Console.WriteLine("Is Password textbox displayed? {0}", PasswordTextbox.Displayed);
         PasswordTextbox.Clear();
         PasswordTextbox.SendKeys(Password);
     }
     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();
 }
예제 #3
0
 public void NhapThongTinVaoPasswordTextBox(string VanBanDeNhapVao) => PasswordTextbox.SendKeys(VanBanDeNhapVao);
예제 #4
0
 private void SetPassword(string Password)
 {
     Logger.InfoFormat("Is username box displayed? {0}", PasswordTextbox.Displayed);
     PasswordTextbox.Clear();
     PasswordTextbox.SendKeys(Password);
 }