Пример #1
0
        public void TC003_VerifySliderNavigationFunctionalityBelowCarousel(String Bname)
        {
            TestFixtureSetUp(Bname, "TC003-Verify Slider navigation functionality below Carousel.");
            try
            {
                loginPage.navigateToLoginPage().VerifyLoginPageScreenInDetail();
                loginPage.loginUsingValidEmailIdAndPassword();

                homePage.newVerifyHomePage();
                homePage.VerifyAccountOrSwitchIfRequired("QA Testing - Brand");
                carousels.VerifyCarousels();
                string[] imgSourceList1 = carousels.GetImageSourceFromCarouselAndClickSlider(true, false);
                string[] imgSourceList2 = carousels.GetImageSourceFromCarouselAndClickSlider(false, false);
                fieldOptions.compareListOfItemsInOrder(imgSourceList1, imgSourceList2, false);
                string[] imgSourceList3 = carousels.GetImageSourceFromCarouselAndClickSlider(true, false);
                fieldOptions.compareListOfItemsInOrder(imgSourceList1, imgSourceList3);
            }
            catch (Exception e)
            {
                Logging.LogStop(this.driver, test, e, MethodBase.GetCurrentMethod(), Bname + "_TestSuite03_Reskin_Carousels_TC003");
                throw;
            }
            driver.Quit();
        }