Beispiel #1
0
        public void setUp()
        {
            options = new ChromeOptions();
            options.AddArgument("--ignore-ssl-errors=yes");
            options.AddArgument("--ignore-certificate-errors");

            driver = new ChromeDriver(options);
            driver.Manage().Window.Maximize();
            driver.Navigate().GoToUrl("https://opencart.abstracta.us");

            var loginPage = new LoginPage(driver);

            loginPage.NavigateToLoginPage(driver);

            LoginBO loginBO = new LoginBO();

            loginPage.LoginApplication(loginBO);

            var myAccountPage = new MyAccountPage(driver);

            myAccountPage.NavigateToMyAccountPage(driver);

            var addressPage = new AddressPage(driver);

            addressPage.NavigateToAddressPage(driver);

            changeAddressPage = new ChangeAddressPage(driver);
        }