Beispiel #1
0
        internal void LoginSuccess()
        {
            //Navigate to Turn up application
            driver.Navigate().GoToUrl("http://horse-dev.azurewebsites.net/Account/Login?ReturnUrl=%2f");

            WaitHelpers.ForElement(By.Id("UserName"), driver, TimeSpan.FromSeconds(10));

            // Identify and enter username
            UserName.SendKeys("hari");

            //Identify and enter password
            Password.SendKeys("123123");

            //Identify and click on Login button
            Loginbutton.Click();
        }