Esempio n. 1
0
        public void registerCorrectly()
        {
            RegisterBO registerBO = new RegisterBO();

            registerPage.RegisterApplication(registerBO);

            var expectedResult = "http://opencart.abstracta.us/index.php?route=account/success";
            var actualResult   = driver.Url;

            Assert.AreEqual(expectedResult, actualResult);
        }
Esempio n. 2
0
        public void registerShortPassword()
        {
            RegisterBO registerBO = new RegisterBO();

            registerBO.password        = "******";
            registerBO.passwordConfirm = "123";
            registerBO.email           = "*****@*****.**";
            registerPage.RegisterApplication(registerBO);

            var expectedResult = "https://opencart.abstracta.us/index.php?route=account/register";
            var actualResult   = driver.Url;

            Assert.AreEqual(expectedResult, actualResult);
        }