Exemple #1
0
        private static void LoginFromThroughTheMenu()
        {
            //  driver.Navigate().GoToUrl(Config.BaseURL);
            // driver.Manage().Window.Maximize();
            Thread.Sleep(4000);

            NavigateTo.LoginFromThroughTheMenu();
            Thread.Sleep(500);
        }
Exemple #2
0
 public static void TestingLoginForms()
 {
     Driver.driver.Navigate().GoToUrl(Config.BaseURL);
     // Driver.driver.Manage().Window.Maximize();
     NavigateTo.LoginFromThroughTheMenu();
     Actions.FillLoginForm(Config.Credentials.Valid.Username, Config.Credentials.Valid.Password, Config.Credentials.Valid.ConfirmPassword);
     alertBox = Driver.driver.SwitchTo().Alert();
     //alertBox.Accept();
     //  Assert.AreEqual(Config.AlertMessages.SuccessfulLogin, alertBox.Text);
     alertBox.Accept();
 }