예제 #1
0
 public void Setup()
 {
     Initialize();
     Driver.Url       = "https://demoqa.com/automation-practice-form";
     practiceFormPage = new PracticeFormPage(Driver);
     _user            = UserFactory.GetValidUser();
 }
예제 #2
0
 public void FillForm(UserRegProp user)
 {
     UserNameField.SendKeys(user.FirstName);
     PasswordField.SendKeys($"{ user.Password}1Z*");
     ConfirmPasswordField.SendKeys($"{ user.Password}1Z*");
     EmailField.SendKeys($"{user.Email}@gmail.com");
     Register.Submit();
 }