Ejemplo n.º 1
0
        public void Init()
        {
            //init pages
            _loginPage        = new LoginPage(Driver);
            _registrationPage = new RegistrationPage(Driver);

            //init registration user
            _user = RegistrationUserFactory.CreateValidUser();

            //navigate to register page
            _loginPage.Navigate();
            _loginPage.FillLoginForm();
        }
 public void OneTimeSetUp()
 {
     _registrationPage = new RegistrationPage(Driver);
     _userFactory      = new RegistrationUserFactory();
     _userRepository   = new UserRepository();
 }
 public void SetUp()
 {
     _staticUser = RegistrationUserFactory.GetStaticUser();
 }