Esempio n. 1
0
        internal void LoginSuccessfull()
        {
            // Populating the data from Excel
            ExcelLib.PopulateInCollection(Base.ExcelPath, "LoginPage");

            // Navigating to Login page using value from Excel
            Driver.driver.Navigate().GoToUrl(ExcelLib.ReadData(3, "Url"));

            // Sending the username
            Email.SendKeys(ExcelLib.ReadData(3, "Email"));

            // Sending the password
            PassWord.SendKeys(ExcelLib.ReadData(3, "Password"));

            // Clicking on the login button
            loginButton.Click();
            PopUp.Click();
            //clicking on skipbutton
            //NextButton.Click();
            //SkipButton.Click();
        }