public TestBlankFormPage FillEmail(string email) { CustomTestContext.WriteLine($"Fill email - '{email}'"); EmailInput.SendKeys(email); return(this); }
public void NavigateToRegPage(LoginPage loginPage) { loginPage.Navigate("http://automationpractice.com/index.php"); SignInButton.Click(); EmailInput.SendKeys("*****@*****.**"); CreateAccountButton.Click(); }
/// <summary> /// Send Contact us message to exact email and name with exact text /// </summary> /// <param name="email"></param> /// <param name="name"></param> /// <param name="text"></param> /// <returns></returns> public ContactUsPage ContactUs(string email, string name, string text) { NameInput.SendKeys(name); EmailInput.SendKeys(email); MessageTextArea.SendKeys(text); SendSubmit.Click(); return(ConstructPage <ContactUsPage>()); }
/// <summary> /// Sends Email from Admin or Teacher to any user. /// </summary> /// <param name="subject"></param> /// <param name="email"></param> /// <param name="message"></param> /// <returns>MailBoxPage</returns> public MailBoxPage SendEmail(string subject, string email, string message) { SubjectInput.SendKeys(subject); EmailInput.SendKeys(email); MessageInput.SendKeys(message); SubmitInput.Click(); return(ConstructPage <MailBoxPage>()); }
public NameScreenAttrPageObject FillData(string title, string name, string email) { TitleInput.SendKeys(title); YourNameInput.SendKeys(name); EmailInput.SendKeys(email); return(this); }
/// <summary> /// Does registration using given email, password and password confirm. /// </summary> /// <param name="email"></param> /// <param name="password"></param> /// <param name="passwordConfirm"></param> /// <returns></returns> public IndexPage Registration(string email, string password, string passwordConfirm) { EmailInput.SendKeys(email); PasswordInput.SendKeys(password); PasswordConfirmInput.SendKeys(passwordConfirm); WaitWhileNotClickableWebElement(RegistrationButton); RegistrationButton.Click(); return(ConstructPage <IndexPage>()); }
public HomePageObject FillLoginForm(string email, string password) { SignInButton.Click(); // Anasayfadaki giriş yap butonuna tıklar. EmailInput.SendKeys(email); // Kullanıcı girişi formunda email'i doldurur. PasswordInput.SendKeys(password); // Kullanıcı girişi formunda parolayı doldurur. RememberMe.Click(); // Kullanıcının daha sonradan hatırlanması için beni hatırla butonuna tıklar. LogInButton.Click(); // Siteye üye girişi yapılması için giriş yap butonuna tıklar. return(new HomePageObject()); // Kullanıcıyı anasayfaya geri döndürür. }
public bool Login(User user) { if (user.loginOption == LoginOption.Guest) { throw new ArgumentException(); } EmailInput?.SendKeys(user.email); PasswordInput.SendKeys(user.password); SignInButton.Click(); _driver.WaitUntiLoading(); try { return(_driver.SafeFindFirstDisplayedElementBy(_validationIncorrectPasswordWarningLocator, 3) == null); } catch { return(false); } }
public void Login(string email, string password) { EmailInput.SendKeys(email); PasswordInput.SendKeys(password); SignInButton.Click(); }
public PersonalInfoRegistrationPage EnterUserEmail(string userIdentifier) { EmailInput.SendKeys(userIdentifier); return(this); }
public void enterEmail(string email) { EmailInput.Clear(); EmailInput.SendKeys(email); }
public void SendKeysToEmailInput(string keys) { EmailInput.SendKeys(keys); }