Пример #1
0
 /// <summary>
 /// This method defines determines type password
 /// </summary>
 /// <param name="password"></param>
 /// <returns>passwordInput</returns>
 private IWebElement TypePassword(string password)
 {
     PasswordInput = FindElement(passwordLocator);
     PasswordInput.Click();
     PasswordInput.SendKeys(password + Keys.Enter);
     return(PasswordInput);
 }
Пример #2
0
 private IWebElement TypePassword(string password)
 {
     Wait.Until(t => WebDriver.FindElement(By.Id("mailbox:password")).Displayed);
     PasswordInput = WebDriver.FindElement(By.Id("mailbox:password"));
     PasswordInput.Click();
     PasswordInput.SendKeys(password + Keys.Enter);
     return(PasswordInput);
 }
Пример #3
0
 public void LogIn(string username, string password)
 {
     PopupLoginWindow.Click();
     UserNameInput.Click();
     UserNameInput.Clear();
     UserNameInput.SendKeys(username);
     PasswordInput.Click();
     PasswordInput.Clear();
     PasswordInput.SendKeys(password);
     SubmitButton.Click();
 }
Пример #4
0
 public void InputPassword(string password)
 {
     PasswordInput.Click();
     PasswordInput.Clear();
     PasswordInput.SendKeys(password);
 }
Пример #5
0
 public void ClickOnPasswordInput()
 {
     PasswordInput.Click();
 }