public void SetUp()
        {
            _homePage = UnityWrapper.Resolve <IHomePage>();

            _loginPage = _homePage.ClickOnLoginLink <LoginPage>();

            var email    = JsonConfig.GetJsonValue("Email");
            var password = JsonConfig.GetJsonValue("Password");

            _loginPage.EnterEmail(email);
            _loginPage.EnterPassword(password);
            _loginPage.CheckRememberMeRadioButton();
            _userAccountPage = _loginPage.ClickOnlogInButton <UserAccountPage>();
        }
Exemplo n.º 2
0
        public void SetUp()
        {
            _homePage = UnityWrapper.Resolve <IHomePage>();

            _loginPage = _homePage.ClickOnLoginLink <LoginPage>();

            var email    = "*****@*****.**";
            var password = "******";

            _loginPage.EnterEmail(email);
            _loginPage.EnterPassword(password);
            _loginPage.CheckRememberMeRadioButton();
            _userAccountPage = _loginPage.ClickOnlogInButton <UserAccountPage>();
        }
        public void SetUp()
        {
            _homePage = UnityWrapper.Resolve <IHomePage>();

            _random   = new Random();
            telNumber = _random.Next(100000, 200000000);
            var value = _random.Next(100, 20000);

            _loginPage = _homePage.ClickOnLoginLink <LoginPage>();

            var email    = "*****@*****.**";
            var password = "******";

            newEmail = $"snscareers{value}@yahoo.com";
            _loginPage.EnterEmail(email);
            _loginPage.EnterPassword(password);
            _loginPage.CheckRememberMeRadioButton();
            _userAccountPage = _loginPage.ClickOnlogInButton <UserAccountPage>();
        }
        public void SetUp()
        {
            _homePage = UnityWrapper.Resolve <IHomePage>();

            _random   = new Random();
            telNumber = _random.Next(100000, 200000000);
            var value = _random.Next(100, 20000);

            _loginPage = _homePage.ClickOnLoginLink <LoginPage>();

            var email    = JsonConfig.GetJsonValue("Email");
            var password = JsonConfig.GetJsonValue("Password");

            newEmail = $"nsntestaccount{value}@yahoo.com";
            _loginPage.EnterEmail(email);
            _loginPage.EnterPassword(password);
            _loginPage.CheckRememberMeRadioButton();
            _userAccountPage = _loginPage.ClickOnlogInButton <UserAccountPage>();
        }