Example #1
0
        public void WhenICorrectCredentials()
        {
            PageObjects Login = new PageObjects();

            Login.LoginWithCredentials("BAkintunde", "Pa$$word2");
            Thread.Sleep(3000);
        }
Example #2
0
        public void ThenIAmReturnedToTheLoginPage()
        {
            PageObjects Login         = new PageObjects(_Driver);
            var         usernamefield = Login.txtUserName;

            Thread.Sleep(4000);
            Assert.IsTrue(usernamefield.Displayed);
        }
Example #3
0
        public void WhenIenterMyCorrectCred()
        {
            PageObjects Login = new PageObjects(_Driver);

            Login.LoginWithCredentials("BAkintunde", "Pa$$word13");
            Thread.Sleep(3000);


            //PageObjects Login = new PageObjects();
            //Login.LoginWithCredentials("BAkintundes", "Pa$$word2");
            //Thread.Sleep(3000);
        }
Example #4
0
        public void ThenIAmLoggedIntoTrisus()
        {
            PageObjects Logout = new PageObjects(_Driver);

            Logout.ClickLogout();
        }
Example #5
0
        public void WhenIEnterCorrectCredentials()
        {
            PageObjects Login = new PageObjects(_Driver);

            Login.LoginWithCredentials("BAkintunde", "Pa$$word2");
        }
Example #6
0
        public void WhenLogOut()
        {
            PageObjects Logout = new PageObjects(_Driver);

            Logout.ClickLogout();
        }
Example #7
0
        public void WhenLoggedIntoTrisus()
        {
            PageObjects Login = new PageObjects(_Driver);

            Login.LoginWithCredentials("BAkintunde", "Pa$$word2");
        }