public void SetUp()
 {
     Initialize();
     Driver.GoToUrl("http://automationpractice.com/index.php");
     _automationPracticeLoginPage = new AutomationPracticeLoginPage(Driver);
     _automationPracticeFormPage  = new AutomationPracticeFormPage(Driver);
     _user = AutomationPracticeFormFactory.CreateUser();
     _automationPracticeLoginPage.GoToCreateAnAccountForm(_user.Email);
 }
Beispiel #2
0
 public void FillFormWithoutEmail(AutomationPracticeFormModel user)
 {
     FirstNameField.SendKeys(user.FirstName);
     LastNameField.SendKeys(user.LastName);
     PasswordField.SendKeys(user.Password);
     AddressField.SendKeys(user.Address);
     CityField.SendKeys(user.City);
     PostalCode.SendKeys(user.PostalCode);
     MobilePhone.SendKeys(user.MobilePhone);
 }