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); } }
public void Login(string username, string password) { EmailTextbox.SendKeys(username); PasswordTextbox.SendKeys(password); SubmitButton.Click(); }
public void NhapThongTinVaoPasswordTextBox(string VanBanDeNhapVao) => PasswordTextbox.SendKeys(VanBanDeNhapVao);
private void SetPassword(string Password) { Logger.InfoFormat("Is username box displayed? {0}", PasswordTextbox.Displayed); PasswordTextbox.Clear(); PasswordTextbox.SendKeys(Password); }