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

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

            Thread.Sleep(4000);
            Assert.IsTrue(usernamefield.Displayed);
        }
예제 #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);
        }
예제 #4
0
        public void ThenIAmLoggedIntoTrisus()
        {
            PageObjects Logout = new PageObjects(_Driver);

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

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

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

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