예제 #1
0
        public void FirstTest()
        {
            //Click na button "Prijava"
            SeleniumSetMethods.Click("action", PropertyType.Name);

            // Console.WriteLine("Alert message: " + SeleniumGetMethods.GetText("div: contains('Korisničko')", PropertyType.CssName));
        }
예제 #2
0
        public void ThirdTest()
        {
            //Upisivanje ispravnog Passworda-a
            SeleniumSetMethods.EnterText("Password", "Password1!", PropertyType.Name);

            //Click na button "Prijava"
            SeleniumSetMethods.Click("action", PropertyType.Name);
        }
예제 #3
0
        public void SecoundTest()
        {
            //Upisivanje ispravnog Username-a
            SeleniumSetMethods.EnterText("Username", "tester12", PropertyType.Name);

            //Click na button "Prijava"
            SeleniumSetMethods.Click("action", PropertyType.Name);
        }
예제 #4
0
        public void ForthTest()
        {
            //Upisivanje ispravnog Username-a
            SeleniumSetMethods.EnterText("Username", "tester12", PropertyType.Name);

            //Upisivanje neispravnog Passworda-a
            SeleniumSetMethods.EnterText("Password", "Password1", PropertyType.Name);

            //Click na button "Prijava"
            SeleniumSetMethods.Click("action", PropertyType.Name);
        }