示例#1
0
        public MyAccountPage FillingFieldsRegister(string firstName, string lastName, string email,
                                                   string telephone, string password, string passwordConfirm)
        {
            RegisterPage filling = new RegisterPage();

            filling.ClickInputFirstNameField(firstName);
            filling.ClickInputLastNameField(lastName);
            filling.ClickInputEMailField(email);
            filling.ClickInputTelephoneField(telephone);
            filling.ClickInputPasswordField(password);
            filling.ClickInputPasswordConfirmField(passwordConfirm);
            filling.CheckNewsletterSubscribe();
            filling.ClickPrivacyPolicy();
            filling.ClickButtonContinue();
            filling.ClickButtonsuccess();
            return(new MyAccountPage());
        }