Esempio n. 1
0
        public void ItemsCategoryDropDownMenuTest()
        {
            PropertiesCollection.driver.Navigate().GoToUrl("http://testing.todorvachev.com");

            HomePageObject      homePage      = new HomePageObject();
            TestCasesPageObject testCasesPage = new TestCasesPageObject();
            ItemCategoryDropDownMenuPageObject itemCatDropDownPage = new ItemCategoryDropDownMenuPageObject();

            testCasesPage       = homePage.ClickTestCasesPage();
            itemCatDropDownPage = testCasesPage.ClickItemCategoryDropDownMenuPage();

            if (itemCatDropDownPage.imgDropDownMenu.Displayed)
            {
                Assert.Pass();
            }
            else
            {
                Assert.Fail();
            }
        }