示例#1
0
        public void SetUp()
        {
            WebDriverUtil.Init();
            WebDriverUtil.GetWebDriver().Url = MailRuConstants.MailRuUrl;
            WebDriverUtil.GetWebDriver().Manage().Window.Maximize();
            LoginPage loginPage = new LoginPage();
            HomePage  homePage  = loginPage.Login(User.GetDefaultUser());

            Assert.IsTrue(loginPage.IsLogoutLinkDisplayed());
        }