Exemple #1
0
        public void TC006_VerifyMarketsFunctionality(String Bname)
        {
            TestFixtureSetUp(Bname, "TC006-Verify Markets Functionality.");
            try
            {
                loginPage.navigateToLoginPage().VerifyLoginPageScreenInDetail();
                loginPage.loginUsingValidEmailIdAndPassword();

                homePage.newVerifyHomePage();
                homePage.VerifyAccountOrSwitchIfRequired("QA Testing - Brand");
                carousels.VerifyCarousels();
                carousels.VerifyMarketsFunctionality();
            }
            catch (Exception e)
            {
                Logging.LogStop(this.driver, test, e, MethodBase.GetCurrentMethod(), Bname + "_TestSuite03_Reskin_Carousels_TC006");
                throw;
            }
            driver.Quit();
        }
        public void TC004_VerifyMarketsFunctionalityOnTheCarousel_InAgGridDetailAndThumbnailViewAndVerifyMagnifierFunctionality(String Bname)
        {
            TestFixtureSetUp(Bname, "TC004-Verify Markets Functionality on the carousel, AgGrid's detail and thumbnail view.");
            try
            {
                loginPage.navigateToLoginPage().VerifyLoginPageScreenInDetail();
                loginPage.loginUsingValidEmailIdAndPassword();

                homePage.newVerifyHomePage();
                homePage.VerifyAccountOrSwitchIfRequired();

                carousels.VerifyCarousels();
                carousels.VerifyMarketsFunctionality();
                viewAdPopup.clickOnButtonOfViewAdPopup("Close");
                carousels.VerifyMarketsFunctionality(false);

                homePage.selectViewForResultsDisplay("Details");
                homePage.VerifyDetailsViewOfAgGrid();

                viewAdPopup.clickOnButtonOfResultsCard("Markets");
                carousels.VerifyMarketsFunctionality(true, false);
                viewAdPopup.clickOnButtonOfViewAdPopup("Close");
                carousels.VerifyMarketsFunctionality(false);

                homePage.selectViewForResultsDisplay("Thumbnail");
                homePage.VerifyThumbnailViewOfAgGrid();

                viewAdPopup.clickOnButtonOfResultsCard("Markets");
                carousels.VerifyMarketsFunctionality(true, false);
                viewAdPopup.clickOnButtonOfViewAdPopup("Close");
                carousels.VerifyMarketsFunctionality(false);
            }
            catch (Exception e)
            {
                Logging.LogStop(this.driver, test, e, MethodBase.GetCurrentMethod(), Bname + "_TestSuite06_Reskin_ViewAdPopup_TC004");
                throw;
            }
            driver.Quit();
        }