Exemple #1
0
        public void LessThan5Chars()
        {
            NavigateTo.LoginFormScenarioThroughMenu();
            Actions.FillLoginForm(Config.Credentials.Invalid.Username.FourCharacters, Config.Credentials.Valid.Password, Config.Credentials.Valid.Password);

            alert = Driver.driver.SwitchTo().Alert();

            Assert.AreEqual(Config.AlertsTexts.UsernameLengthOutOfRange, alert.Text);
            alert.Accept();
        }
Exemple #2
0
 public void Initialize()
 {
     Actions.InitializeDriver();
     NavigateTo.LoginFormScenarioThroughTestCases();
 }