Esempio n. 1
0
        //WS-65
        public void Mall_LeftPanelFilters_WS_65()
        {
            if (false)
            {
                Assert.Ignore();
            }
            else
            {
                MainHomePage     menuPage = InitialPage.Go().Logon().ClickLogin();
                GoToMallHomePage mallPage = menuPage.NavigateToMall();
                Assert.AreEqual(" By Price:", mallPage.GetFilterTitleText(0), "The subtitle is not the right one");
                Assert.AreEqual("  Under $25", mallPage.GetFilterChkTypeByPrice(0),
                                "The category to filter it's wrong labeled");
                Assert.AreEqual("  $25 - $50", mallPage.GetFilterChkTypeByPrice(1),
                                "The category to filter it's wrong labeled");
                mallPage.CheckOptionByPrice("Under $25");
                Assert.IsTrue(mallPage.FilterByPriceUnderWorks("$25"), "The Filter Under $25 is not working");
                mallPage.CheckOptionByPrice("Under $25");
                mallPage.CheckOptionByPrice("$25 - $50");
                Assert.IsTrue(mallPage.FilterByPriceUnderWorks("$25"), "The Filter $25 - $50 is not working");

                /*Assert.AreEqual("  $50 - $100", mallPage.GetFilterChkTypeByPrice(2), "The category to filter it's wrong labeled");
                 * Assert.AreEqual("  $100 - $250", mallPage.GetFilterChkTypeByPrice(3), "The category to filter it's wrong labeled");
                 * Assert.AreEqual("  $250 - $500", mallPage.GetFilterChkTypeByPrice(4), "The category to filter it's wrong labeled");
                 * Assert.AreEqual("  $500 +", mallPage.GetFilterChkTypeByPrice(5), "The category to filter it's wrong labeled");
                 * Assert.AreEqual(" Purchase Type:", mallPage.GetFilterTitleText(1), "The subtitle is not the right one");
                 * Assert.AreEqual("  Email (Instant)", mallPage.GetFilterChkTypeByPurchase(0), "The category to filter it's wrong labeled");
                 * Assert.AreEqual("  Mail (A Few Days)", mallPage.GetFilterChkTypeByPurchase(1), "The category to filter it's wrong labeled");
                 * Assert.AreEqual("  Multi-Store !", mallPage.GetFilterChkTypeByPurchase(2), "The category to filter it's wrong labeled");
                 * Assert.AreEqual(" Categories:", mallPage.GetFilterTitleText(2), "The subtitle is not the right one");
                 * Assert.AreEqual("  Featured", mallPage.GetFilterChkTypeByCategory(9), "The category to filter it's wrong labeled");
                 * Assert.AreEqual("  All", mallPage.GetFilterChkTypeByCategory(10), "The category to filter it's wrong labeled");
                 * Assert.AreEqual("  Accessories", mallPage.GetFilterChkTypeByCategory(11), "The category to filter it's wrong labeled");
                 * Assert.AreEqual("  Apparel & Shoes", mallPage.GetFilterChkTypeByCategory(12), "The category to filter it's wrong labeled");
                 * Assert.AreEqual("  Babies and Kids", mallPage.GetFilterChkTypeByCategory(13), "The category to filter it's wrong labeled");
                 * Assert.AreEqual("  Bed & Bath", mallPage.GetFilterChkTypeByCategory(14), "The category to filter it's wrong labeled");
                 * Assert.AreEqual("  Books and Music", mallPage.GetFilterChkTypeByCategory(15), "The category to filter it's wrong labeled");
                 * Assert.AreEqual("  Décor", mallPage.GetFilterChkTypeByCategory(16), "The category to filter it's wrong labeled");
                 * Assert.AreEqual("  Department Stores", mallPage.GetFilterChkTypeByCategory(17), "The category to filter it's wrong labeled");
                 * Assert.AreEqual("  DVD's and Movies", mallPage.GetFilterChkTypeByCategory(18), "The category to filter it's wrong labeled");
                 * Assert.AreEqual("  Electronics", mallPage.GetFilterChkTypeByCategory(19), "The category to filter it's wrong labeled");
                 * Assert.AreEqual("  Food and Wine", mallPage.GetFilterChkTypeByCategory(20), "The category to filter it's wrong labeled");
                 * Assert.AreEqual("  Gifts", mallPage.GetFilterChkTypeByCategory(21), "The category to filter it's wrong labeled");
                 * Assert.AreEqual("  Health & Beauty", mallPage.GetFilterChkTypeByCategory(22), "The category to filter it's wrong labeled");
                 * Assert.AreEqual("  Home & Garden", mallPage.GetFilterChkTypeByCategory(23), "The category to filter it's wrong labeled");
                 * Assert.AreEqual("  Jewelry & Watches", mallPage.GetFilterChkTypeByCategory(24), "The category to filter it's wrong labeled");
                 * Assert.AreEqual("  Kitchen & Cooking", mallPage.GetFilterChkTypeByCategory(25), "The category to filter it's wrong labeled");
                 * Assert.AreEqual("  Office", mallPage.GetFilterChkTypeByCategory(26), "The category to filter it's wrong labeled");
                 * Assert.AreEqual("  Pets", mallPage.GetFilterChkTypeByCategory(27), "The category to filter it's wrong labeled");
                 * Assert.AreEqual("  Restaurants", mallPage.GetFilterChkTypeByCategory(28), "The category to filter it's wrong labeled");
                 * Assert.AreEqual("  Sports and Fitness", mallPage.GetFilterChkTypeByCategory(29), "The category to filter it's wrong labeled");
                 * Assert.AreEqual("  Toys and Games", mallPage.GetFilterChkTypeByCategory(30), "The category to filter it's wrong labeled");
                 * Assert.AreEqual("  Travel & Entertainment", mallPage.GetFilterChkTypeByCategory(31), "The category to filter it's wrong labeled");*/
            }
        }
Esempio n. 2
0
 public void Mall_VerifyPageLoads_WS_61()
 {
     if (!DataParser.ReturnExecution("WS_61"))
     {
         Assert.Ignore();
     }
     else
     {
         _file = "Resources\\" + client + "\\TestsData\\WS_61.xml";
         string       url  = GeneralData.GetUrl(_file);
         MainHomePage home = InitialPage.Go().Logon().ClickLogin();
         home.NavigateToMall();
         Assert.AreEqual(url, home.GetCurrentUrl(), "The URL is not correct");
     }
 }
Esempio n. 3
0
 public void General_IdentifyIncorrectLinks_WS_1112()
 {
     if (!DataParser.ReturnExecution("WS_1112"))
     {
         Assert.Ignore();
     }
     else
     {
         string url = ConfigUtil.ImportConfigURL("Resources\\Url.xml", client);
         url = url.Substring(0, 28);
         MainHomePage home = InitialPage.Go().EnterId(client).Logon().ClickLogin();
         Assert.AreEqual("Recognize Someone", home.GetLeftMenuOpts(0), "Link is Broken or not well written");
         NominationHomePage nomination = home.NavigateToNominationSpan();
         Assert.AreEqual(url + "ng#/recognize", home.GetCurrentUrl(), "Url is Broken or not well written or redirects to other pages");
         home = nomination.NavigateToHomePage();
         Assert.AreEqual("Event Calendar", home.GetLeftMenuOpts(1), "Link is Broken or not well written");
         EventCalendar events = home.NavigateToEventCalendar();
         Assert.AreEqual(url + "event_calendar#/", home.GetCurrentUrl(), "Url is Broken or not well written or redirects to other pages");
         home = events.NavigateToHomePage();
         Assert.AreEqual("Go To Mall", home.GetLeftMenuOpts(2), "Link is Broken or not well written");
         GoToMallHomePage mall = home.NavigateToMall();
         Assert.AreEqual(url + "mall#/", home.GetCurrentUrl(), "Url is Broken or not well written or redirects to other pages");
         home = mall.NavigateToHomePage();
         Assert.AreEqual("My Awards", home.GetLeftMenuOpts(3), "Link is Broken or not well written");
         MyAwards awards = home.NavigateToMyAwards();
         Assert.AreEqual(url + "my_awards#/", home.GetCurrentUrl(), "Url is Broken or not well written or redirects to other pages");
         home = awards.NavigateToHomePage();
         Assert.AreEqual("Pending Approvals", home.GetLeftMenuOpts(4), "Link is Broken or not well written");
         PendingApprovals pending = home.NavigateToPendingApprovals();
         Assert.AreEqual(url + "approval#/", home.GetCurrentUrl(), "Url is Broken or not well written or redirects to other pages");
         home = awards.NavigateToHomePage();
         Assert.AreEqual("My Redemptions", home.GetLeftMenuOpts(5), "Link is Broken or not well written");
         MyRedemptions redemption = home.NavigateToMyRedemptions();
         Assert.AreEqual(url + "my_redemptions#/", home.GetCurrentUrl(), "Url is Broken or not well written or redirects to other pages");
     }
 }
Esempio n. 4
0
        public void General_IdentifyIncorrectLinks_WS_1112()
        {
            if (!DataParser.ReturnExecution("WS_1112"))
            {
                Assert.Ignore();
            }
            else
            {
                MainHomePage home = InitialPage.Go().Logon().ClickLogin();
                switch (client)
                {
                case "HSS":
                {
                    Assert.AreEqual(" Recognize Someone", home.GetLeftMenuOpts(0),
                                    "Link is Broken or not well written");
                    NominationHomePage nomination = home.NavigateToNomination();
                    Assert.AreEqual(url + "nomination", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    home = nomination.NavigateToHomePage();
                    Assert.AreEqual(" Event Calendar", home.GetLeftMenuOpts(1), "Link is Broken or not well written");
                    EventCalendar events = home.NavigateToEventCalendar();
                    Assert.AreEqual(url + "event_calendar", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    home = events.NavigateToHomePage();
                    Assert.AreEqual(" Go To Mall", home.GetLeftMenuOpts(2), "Link is Broken or not well written");
                    GoToMallHomePage mall = home.NavigateToMall();
                    Assert.AreEqual(url + "mall", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    home = mall.NavigateToHomePage();
                    Assert.AreEqual(" My Awards", home.GetLeftMenuOpts(3), "Link is Broken or not well written");
                    MyAwards awards = home.NavigateToMyAwards();
                    Assert.AreEqual(url + "my_awards", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    home = awards.NavigateToHomePage();
                    Assert.AreEqual(" Pending Approvals", home.GetLeftMenuOpts(4),
                                    "Link is Broken or not well written");
                    PendingApprovals pending = home.NavigateToPendingApprovals();
                    Assert.AreEqual(url + "approval", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    home = pending.NavigateToHomePage();
                    Assert.AreEqual(" My Redemptions", home.GetLeftMenuOpts(5), "Link is Broken or not well written");
                    MyRedemptions redemption = home.NavigateToMyRedemptions();
                    Assert.AreEqual(url + "my_redemptions", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    home = redemption.NavigateToHomePage();
                    Assert.AreEqual(" Send Appreciation", home.GetLeftMenuOpts(6),
                                    "Link is Broken or not well written");
                    SendAppreciationPage appreciation = home.NavigateToSendAppreciation();
                    Assert.AreEqual(url + "customer_appreciation", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    break;
                }

                case "Pinnacol":
                {
                    Assert.AreEqual(" Recognize Someone", home.GetLeftMenuOpts(0),
                                    "Link is Broken or not well written");
                    NominationHomePage nomination = home.NavigateToNominationSpan();
                    Assert.AreEqual(url + "nomination#/", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    home = nomination.NavigateToHomePage();
                    home.ExpandMenuPinnacol();
                    Assert.AreEqual(" Event Calendar", home.GetLeftMenuOpts(1), "Link is Broken or not well written");
                    EventCalendar events = home.NavigateToEventCalendar();
                    Assert.AreEqual(url + "event_calendar#/", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    home = events.NavigateToHomePage();
                    home.ExpandMenuPinnacol();
                    Assert.AreEqual(" Go To Mall", home.GetLeftMenuOpts(2), "Link is Broken or not well written");
                    GoToMallHomePage mall = home.NavigateToMall();
                    Assert.AreEqual(url + "mall#/", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    home = mall.NavigateToHomePage();
                    home.ExpandMenuPinnacol();
                    Assert.AreEqual(" My Awards", home.GetLeftMenuOpts(3), "Link is Broken or not well written");
                    MyAwards awards = home.NavigateToMyAwards();
                    Assert.AreEqual(url + "my_awards#/", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    home = awards.NavigateToHomePage();
                    home.ExpandMenuPinnacol();
                    Assert.AreEqual(" Pending Approvals", home.GetLeftMenuOpts(4),
                                    "Link is Broken or not well written");
                    PendingApprovals pending = home.NavigateToPendingApprovals();
                    Assert.AreEqual(url + "approval#/", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    break;
                }

                case "Textron":
                case "Eurest":
                case "BAE":
                {
                    switch (client)
                    {
                    case "Textron":
                        url = url.Substring(0, 39);
                        break;
                    }
                    Assert.AreEqual(" Recognize Someone", home.GetLeftMenuOpts(0),
                                    "Link is Broken or not well written");
                    NominationHomePage nomination = home.NavigateToNomination();
                    Assert.AreEqual(url + "nomination", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    home = nomination.NavigateToHomePage();
                    Assert.AreEqual(" Event Calendar", home.GetLeftMenuOpts(1), "Link is Broken or not well written");
                    EventCalendar events = home.NavigateToEventCalendar();
                    Assert.AreEqual(url + "event_calendar", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    home = events.NavigateToHomePage();
                    Assert.AreEqual(" Go To Mall", home.GetLeftMenuOpts(2), "Link is Broken or not well written");
                    GoToMallHomePage mall = home.NavigateToMall();
                    Assert.AreEqual(url + "mall", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    home = mall.NavigateToHomePage();
                    Assert.AreEqual(" My Awards", home.GetLeftMenuOpts(3), "Link is Broken or not well written");
                    MyAwards awards = home.NavigateToMyAwards();
                    Assert.AreEqual(url + "my_awards", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    home = awards.NavigateToHomePage();
                    Assert.AreEqual(" Pending Approvals", home.GetLeftMenuOpts(4),
                                    "Link is Broken or not well written");
                    PendingApprovals pending = home.NavigateToPendingApprovals();
                    Assert.AreEqual(url + "approval", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    home = pending.NavigateToHomePage();
                    Assert.AreEqual(" My Redemptions", home.GetLeftMenuOpts(5), "Link is Broken or not well written");
                    MyRedemptions redemption = home.NavigateToMyRedemptions();
                    Assert.AreEqual(url + "my_redemptions", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    break;
                }

                case "Akron":
                {
                    Assert.AreEqual(" Recognize Caregiver", home.GetLeftMenuOpts(7),
                                    "Link is Broken or not well written");
                    NominationHomePage nomination = home.NavigateToNominationCaregiver();
                    Assert.AreEqual(url + "nomination", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    home = nomination.NavigateToHomePage();
                    Assert.AreEqual(" Event Calendar", home.GetLeftMenuOpts(1), "Link is Broken or not well written");
                    EventCalendar events = home.NavigateToEventCalendar();
                    Assert.AreEqual(url + "event_calendar", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    home = events.NavigateToHomePage();
                    Assert.AreEqual(" Go To Mall", home.GetLeftMenuOpts(2), "Link is Broken or not well written");
                    GoToMallHomePage mall = home.NavigateToMall();
                    Assert.AreEqual(url + "mall", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    home = mall.NavigateToHomePage();
                    Assert.AreEqual(" My Awards", home.GetLeftMenuOpts(3), "Link is Broken or not well written");
                    MyAwards awards = home.NavigateToMyAwards();
                    Assert.AreEqual(url + "my_awards", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    home = awards.NavigateToHomePage();
                    Assert.AreEqual(" My Redemptions", home.GetLeftMenuOpts(5), "Link is Broken or not well written");
                    MyRedemptions redemption = home.NavigateToMyRedemptions();
                    Assert.AreEqual(url + "my_redemptions", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    home = redemption.NavigateToHomePage();
                    Assert.AreEqual(" Social Stream", home.GetLeftMenuOpts(8), "Link is Broken or not well written");
                    SocialStreamHomePage socialStream = home.NavigateToSocialStream();
                    Assert.AreEqual(url + "social_stream", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    home = socialStream.NavigateToHomePage();
                    Assert.AreEqual(" My Activity", home.GetLeftMenuOpts(9), "Link is Broken or not well written");
                    MyActivityHomePage myActivity = home.NavigateToMyActivity();
                    Assert.AreEqual(url + "my_activities", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    home = myActivity.NavigateToHomePage();
                    Assert.AreEqual(" View Hierarchy", home.GetLeftMenuOpts(10),
                                    "Link is Broken or not well written");
                    ViewHierarchyHomePage hierarchy = home.NavigateToViewHierarchy();
                    Assert.AreEqual(url + "hierarchy", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    home = hierarchy.NavigateToHomePage();
                    Assert.AreEqual(" Recognition Training", home.GetLeftMenuOpts(11),
                                    "Link is Broken or not well written");
                    TrainingHomePage training = home.NavigateToTraining();
                    Assert.AreEqual(url + "videos", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    break;
                }

                case "GreatExpressions":
                {
                    url = url.Substring(0, 36);
                    Assert.AreEqual(" Recognize Someone", home.GetLeftMenuOpts(0),
                                    "Link is Broken or not well written");
                    NominationHomePage nomination = home.NavigateToNomination();
                    Assert.AreEqual(url + "nomination", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    home = nomination.NavigateToHomePage();
                    Assert.AreEqual(" Go To Mall", home.GetLeftMenuOpts(2), "Link is Broken or not well written");
                    GoToMallHomePage mall = home.NavigateToMall();
                    Assert.AreEqual(url + "mall", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    home = mall.NavigateToHomePage();
                    Assert.AreEqual(" My Awards", home.GetLeftMenuOpts(3), "Link is Broken or not well written");
                    MyAwards awards = home.NavigateToMyAwards();
                    Assert.AreEqual(url + "my_awards", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    home = awards.NavigateToHomePage();
                    Assert.AreEqual(" My Pending Approvals", home.GetLeftMenuOpts(4),
                                    "Link is Broken or not well written");
                    PendingApprovals pending = home.NavigateToPendingApprovals();
                    Assert.AreEqual(url + "approval", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    home = pending.NavigateToHomePage();
                    Assert.AreEqual(" View Hierarchy", home.GetLeftMenuOpts(10),
                                    "Link is Broken or not well written");
                    ViewHierarchyHomePage hierarchy = home.NavigateToViewHierarchy();
                    Assert.AreEqual(url + "hierarchy", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    break;
                }

                case "UC":
                {
                    url = url.Substring(0, 32);
                    Assert.AreEqual(" Recognize Someone", home.GetLeftMenuOpts(0),
                                    "Link is Broken or not well written");
                    NominationHomePage nomination = home.NavigateToNomination();
                    Assert.AreEqual(url + "nomination", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    home = nomination.NavigateToHomePage();
                    Assert.AreEqual(" Go To Mall", home.GetLeftMenuOpts(2), "Link is Broken or not well written");
                    GoToMallHomePage mall = home.NavigateToMall();
                    Assert.AreEqual(url + "mall", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    home = mall.NavigateToHomePage();
                    Assert.AreEqual(" My Awards", home.GetLeftMenuOpts(3), "Link is Broken or not well written");
                    MyAwards awards = home.NavigateToMyAwards();
                    Assert.AreEqual(url + "my_awards", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    home = awards.NavigateToHomePage();
                    Assert.AreEqual(" My Activity", home.GetLeftMenuOpts(9), "Link is Broken or not well written");
                    MyActivityHomePage myActivity = home.NavigateToMyActivity();
                    Assert.AreEqual(url + "my_activities", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    home = myActivity.NavigateToHomePage();
                    Assert.AreEqual(" My Redemptions", home.GetLeftMenuOpts(5), "Link is Broken or not well written");
                    MyRedemptions redemption = home.NavigateToMyRedemptions();
                    Assert.AreEqual(url + "my_redemptions", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    home = redemption.NavigateToHomePage();
                    Assert.AreEqual(" Report Builder", home.GetLeftMenuOpts(12),
                                    "Link is Broken or not well written");
                    ReportBuilderHomePage report = home.NavigateToReportBuilder();
                    Assert.AreEqual(url + "report_builder", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    break;
                }

                case "TRU":
                case "Shawcor":
                {
                    switch (client)
                    {
                    case "TRU":
                        url = url.Substring(0, 38);
                        break;
                    }
                    home.ExpandMenuPinnacol();
                    Assert.AreEqual(" Recognize Someone", home.GetLeftMenuOpts(0),
                                    "Link is Broken or not well written");
                    NominationHomePage nomination = home.NavigateToNominationSprint();
                    Assert.AreEqual(url + "nomination#/", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    home = nomination.NavigateToHomePage();
                    Assert.AreEqual(" Event Calendar", home.GetLeftMenuOpts(1), "Link is Broken or not well written");
                    EventCalendar events = home.NavigateToEventCalendar();
                    Assert.AreEqual(url + "event_calendar#/", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    home = events.NavigateToHomePage();
                    home.ExpandMenuPinnacol();
                    Assert.AreEqual(" Go To Mall", home.GetLeftMenuOpts(2), "Link is Broken or not well written");
                    GoToMallHomePage mall = home.NavigateToMall();
                    Assert.AreEqual(url + "mall#/", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    home = mall.NavigateToHomePage();
                    home.ExpandMenuPinnacol();
                    Assert.AreEqual(" My Awards", home.GetLeftMenuOpts(3), "Link is Broken or not well written");
                    MyAwards awards = home.NavigateToMyAwards();
                    Assert.AreEqual(url + "my_awards#/", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    home = awards.NavigateToHomePage();
                    home.ExpandMenuPinnacol();
                    Assert.AreEqual(" Pending Approvals", home.GetLeftMenuOpts(4),
                                    "Link is Broken or not well written");
                    PendingApprovals pending = home.NavigateToPendingApprovals();
                    Assert.AreEqual(url + "approval#/", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    home = awards.NavigateToHomePage();
                    home.ExpandMenuPinnacol();
                    Assert.AreEqual(" My Redemptions", home.GetLeftMenuOpts(5), "Link is Broken or not well written");
                    MyRedemptions redemption = home.NavigateToMyRedemptions();
                    Assert.AreEqual(url + "my_redemptions#/", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    break;
                }

                case "Sprint":
                {
                    url = url.Substring(0, 35);
                    home.ExpandMenuPinnacol();
                    Assert.AreEqual(" Recognize Someone", home.GetLeftMenuOpts(0),
                                    "Link is Broken or not well written");
                    NominationHomePage nomination = home.NavigateToNominationSprint();
                    Assert.AreEqual(url + "ng#/recognize", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    home = nomination.NavigateToHomePage();
                    Assert.AreEqual(" Event Calendar", home.GetLeftMenuOpts(1), "Link is Broken or not well written");
                    EventCalendar events = home.NavigateToEventCalendar();
                    Assert.AreEqual(url + "ng#/event_calendar", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    home = events.NavigateToHomePage();
                    Assert.AreEqual(" Go To Mall", home.GetLeftMenuOpts(2), "Link is Broken or not well written");
                    GoToMallHomePage mall = home.NavigateToMall();
                    Assert.AreEqual(url + "mall#/", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    home = mall.NavigateToHomePage();
                    Assert.AreEqual(" My Awards", home.GetLeftMenuOpts(3), "Link is Broken or not well written");
                    MyAwards awards = home.NavigateToMyAwards();
                    Assert.AreEqual(url + "my_awards#/", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    home = awards.NavigateToHomePage();
                    Assert.AreEqual(" Pending Approvals", home.GetLeftMenuOpts(4),
                                    "Link is Broken or not well written");
                    PendingApprovals pending = home.NavigateToPendingApprovals();
                    Assert.AreEqual(url + "ng#/approval", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    home = awards.NavigateToHomePage();
                    Assert.AreEqual(" My Redemptions", home.GetLeftMenuOpts(5), "Link is Broken or not well written");
                    MyRedemptions redemption = home.NavigateToMyRedemptions();
                    Assert.AreEqual(url + "my_redemptions#/", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    break;
                }

                case "HealthAlliance":
                {
                    Assert.AreEqual(" Recognize Someone", home.GetLeftMenuOpts(0),
                                    "Link is Broken or not well written");
                    NominationHomePage nomination = home.NavigateToNominationSprint();
                    Assert.AreEqual(url + "nomination", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    home = nomination.NavigateToHomePage();
                    Assert.AreEqual(" Go To Mall", home.GetLeftMenuOpts(2), "Link is Broken or not well written");
                    GoToMallHomePage mall = home.NavigateToMall();
                    Assert.AreEqual(url + "mall", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    home = mall.NavigateToHomePage();
                    Assert.AreEqual(" My Awards", home.GetLeftMenuOpts(3), "Link is Broken or not well written");
                    MyAwards awards = home.NavigateToMyAwards();
                    Assert.AreEqual(url + "my_awards", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    home = awards.NavigateToHomePage();
                    Assert.AreEqual(" Pending Approvals", home.GetLeftMenuOpts(4),
                                    "Link is Broken or not well written");
                    PendingApprovals pending = home.NavigateToPendingApprovals();
                    Assert.AreEqual(url + "approval", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    home = awards.NavigateToHomePage();
                    Assert.AreEqual(" My Redemptions", home.GetLeftMenuOpts(5), "Link is Broken or not well written");
                    MyRedemptions redemption = home.NavigateToMyRedemptions();
                    Assert.AreEqual(url + "my_redemptions", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    break;
                }

                case "WesternConnecticut":
                {
                    home.ExpandMenuPinnacol();
                    Assert.AreEqual(" Recognize Someone", home.GetLeftMenuOpts(0),
                                    "Link is Broken or not well written");
                    NominationHomePage nomination = home.NavigateToNominationSprint();
                    Assert.AreEqual(url + "nomination#/", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    home = nomination.NavigateToHomePage();
                    Assert.AreEqual(" Event Calendar", home.GetLeftMenuOpts(1), "Link is Broken or not well written");
                    EventCalendar events = home.NavigateToEventCalendar();
                    Assert.AreEqual(url + "event_calendar#/", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    home = events.NavigateToHomePage();
                    Assert.AreEqual(" Go To Mall", home.GetLeftMenuOpts(2), "Link is Broken or not well written");
                    GoToMallHomePage mall = home.NavigateToMall();
                    Assert.AreEqual(url + "mall#/", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    home = mall.NavigateToHomePage();
                    Assert.AreEqual(" My Awards", home.GetLeftMenuOpts(3), "Link is Broken or not well written");
                    MyAwards awards = home.NavigateToMyAwards();
                    Assert.AreEqual(url + "my_awards#/", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    home = awards.NavigateToHomePage();
                    Assert.AreEqual(" Pending Approvals", home.GetLeftMenuOpts(4),
                                    "Link is Broken or not well written");
                    PendingApprovals pending = home.NavigateToPendingApprovals();
                    Assert.AreEqual(url + "approval#/", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    home = awards.NavigateToHomePage();
                    Assert.AreEqual(" My Redemptions", home.GetLeftMenuOpts(5), "Link is Broken or not well written");
                    MyRedemptions redemption = home.NavigateToMyRedemptions();
                    Assert.AreEqual(url + "my_redemptions#/", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    home = awards.NavigateToHomePage();
                    Assert.AreEqual(" My Activity", home.GetLeftMenuOpts(9), "Link is Broken or not well written");
                    MyActivityHomePage myActivity = home.NavigateToMyActivity();
                    Assert.AreEqual(url + "my_activities#/", home.GetCurrentUrl(),
                                    "Url is Broken or not well written or redirects to other pages");
                    break;
                }
                }
            }
        }