Exemple #1
0
        public void TC008_VerifyThatUserIsAbleToSelectAdsFromCarouselView_ClickingAnywhereOnAdFromCarouselShouldSelectTheAdCheckbox(String Bname)
        {
            TestFixtureSetUp(Bname, "TC008-Verify User able to select Ads from carousel view (Anywhere click on Ad from carousel should select the Ad checkbox ).");
            try
            {
                loginPage.navigateToLoginPage().VerifyLoginPageScreenInDetail();
                loginPage.loginUsingValidEmailIdAndPassword();

                homePage.newVerifyHomePage();
                homePage.VerifyAccountOrSwitchIfRequired("QA Testing - Brand");
                carousels.VerifyCarousels();
                carousels.VerifySelectAdFunctionality(false, true);
                carousels.VerifySelectAdFunctionality(true);
            }
            catch (Exception e)
            {
                Logging.LogStop(this.driver, test, e, MethodBase.GetCurrentMethod(), Bname + "_TestSuite03_Reskin_Carousels_TC008");
                throw;
            }
            driver.Quit();
        }
        public void TC007_9_VerifyInAsACounterOfSelectedItems_ClickingTheExportButtonInThisStateShouldExpandTheSecondaryExportActions_ExportSelectedAndResetSelected_AndTheCancelButton(String Bname)
        {
            TestFixtureSetUp(Bname, "TC007_9-Verify in As a counter of selected items - Clicking the export button in this state should expand the secondary export actions (Export Selected and Reset Selected) and the Cancel button");
            try
            {
                loginPage.navigateToLoginPage().VerifyLoginPageScreenInDetail();
                loginPage.loginUsingValidEmailIdAndPassword();

                homePage.newVerifyHomePage();
                homePage.VerifyAccountOrSwitchIfRequired("QA Testing - Brand");
                carousels.VerifySelectAdFunctionality(false);
                carousels.clickOnExportOptions("", 1);
            }
            catch (Exception e)
            {
                Logging.LogStop(this.driver, test, e, MethodBase.GetCurrentMethod(), Bname + "_TestSuite04_Reskin_Export_TC007_9");
                throw;
            }
            driver.Quit();
        }