Ejemplo n.º 1
0
        public void Not_Visible_Exception_Caught()
        {
            SetUp("edge", 59000, "https://kwaylz.kavi.com/higherlogic/mm/account#/accounts");

            var username    = new PageElement(By.Id("username"));
            var password    = new PageElement(By.Id("password"));
            var loginButton = new PageElement(ByExtension.AttributeValue("value", "Login"));

            username.Clear();
            username.SendKeys("*****@*****.**");
            password.Click();
            password.Clear();
            password.SendKeys("Tester1319");
            loginButton.Click();

            var logoutButton = new PageElement(ByExtension.PartialHref("logout"));

            logoutButton.Click();
        }