Ejemplo n.º 1
0
        public void TestForSubMenuNavigation()
        {
            common.GoToSkiUtahWebsite(chromeDriver);

            try
            {
                //here is one example for each submenu:
                pyt.NavigateSubMenu(chromeDriver, "Lodging");
                rsn.NavigateSubMenu(chromeDriver, "Resort Comparison");
                deals.NavigateSubMenu(chromeDriver, "Beginner");
                passes.NavigateSubMenu(chromeDriver, "Purchase Utah Lift Tickets");
                explore.NavigateSubMenu(chromeDriver, "Utah Areas 101");
            }
            catch
            {
                throw new AssertFailedException("Could not find submenu navigation link");
            }
        }