public void Setup() { Initialize(); Driver.Url = "https://demoqa.com/automation-practice-form"; practiceFormPage = new PracticeFormPage(Driver); _user = UserFactory.GetValidUser(); }
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(); }