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(); }
public void Initialize() { Actions.InitializeDriver(); NavigateTo.LoginFormScenarioThroughTestCases(); }