예제 #1
0
        public override void TestInitialize()
        {
            base.TestInitialize();
            driver.Url = "https://" + serverName + ":30081";

            this.driver.Wait(ExpectedConditions.TitleContains("Authentication"));
            this.driver.WaitForAjax();

            this.loginPage = new LoginPage(driver);
            LoginTenantProtal(this.userName, this.password);
            var welcomeWiz = new WelcomePage(driver);

            try
            {
                welcomeWiz.HandleWelcomeWizard();
            }
            catch (System.Exception ex)
            {}

            this.smpPage = new SmpPage(driver);
        }