public void TC009_23_VerifyClickOnSpecificSummaryTagFromAllTagsOnlySpecificFieldComponentShouldBeOpenInSearchOptions(String Bname) { TestFixtureSetUp(Bname, "TC009_23-Verify Click on specific summary tag from all Tags Only specific field component should be open in Search options."); try { loginPage.navigateToLoginPage().VerifyLoginPageScreenInDetail(); loginPage.loginUsingValidEmailIdAndPassword(); homePage.newVerifyHomePage(); homePage.VerifyAccountOrSwitchIfRequired("QA Testing - Brand Canada"); homePage.selectOptionFromSideNavigationBar("Print Dynamics Dashboard (Occurrence)"); homePage.newVerifyHomePage(); searchPage.VerifyAndLoadSpecificSavedSearch("New Search", true, true); string[] summary = { "Search Options", "Last Media Week" }; summaryTags.VerifySummaryTags(summary); homePage.VerifyAndModifySearchOptions(false, false, "QA Testing - Brand Canada"); searchPage.selectTabOnSearchOptions("Media"); searchPage.VerifyNewMediaSectionOnScreen(); searchPage.selectSpecificMediaTypeOnSearchOptions("Magazine"); searchPage.clickButtonOnSearchOptions("Apply"); Array.Resize(ref summary, summary.Length + 1); summary[summary.Length - 1] = "Magazine"; summaryTags.VerifySummaryTags(summary, false); summaryTags.clickOnSingleSummaryTag("Magazine"); searchPage.VerifyNewMediaSectionOnScreen(); } catch (Exception e) { Logging.LogStop(this.driver, test, e, MethodBase.GetCurrentMethod(), Bname + "_TestSuite05_Reskin_SummaryTags_TC009_23"); throw; } driver.Quit(); }
public void TC015_VerifyChartValueShouldGetUpdatedAccordingToFilterFromPivot(String Bname) { TestFixtureSetUp(Bname, "TC015-Verify Chart value should get updated according to filter from Pivot"); try { loginPage.navigateToLoginPage().VerifyLoginPageScreenInDetail(); loginPage.loginUsingValidEmailIdAndPassword(); homePage.newVerifyHomePage(); homePage.VerifyAccountOrSwitchIfRequired("QA Testing - Brand Monthly"); homePage.selectOptionFromSideNavigationBar("4. Ad Ex Trend - Yearly"); summaryTags.clickOnSingleSummaryTag("Last Year"); searchPage.VerifyNewDateRangeSectionOnScreen("Last Year"); searchPage.selectNewDateRangeOptionFromSection("Custom Range"); searchPage.setCustomDateRange("01/01/2018", "", true); searchPage.clickButtonOnSearchOptions("Apply"); homePage.newVerifyHomePage(); charts.VerifyCharts(false); string[,] dataGrid1 = charts.captureDataFromChart(""); pivotGrid.selectValueFromPivotGrid(); charts.VerifyCharts(false); string[,] dataGrid2 = charts.captureDataFromChart(""); charts.VerifyDataFromTwoCharts(dataGrid1, dataGrid2, false); } catch (Exception e) { Logging.LogStop(this.driver, test, e, MethodBase.GetCurrentMethod(), Bname + "_TestSuite12_Reskin_Charts_TC015"); throw; } driver.Quit(); }
public void TC003_VerifyThatEnteredTextInFilterBarShouldBeDisplayedInKeywordFieldSearchOption(String Bname) { TestFixtureSetUp(Bname, "TC003-Verify Entered text in filter bar should be displayed in Keyword field search option"); try { loginPage.navigateToLoginPage().VerifyLoginPageScreenInDetail(); loginPage.loginUsingValidEmailIdAndPassword(); homePage.newVerifyHomePage(); homePage.VerifyAccountOrSwitchIfRequired("QA Testing - Brand Canada"); homePage.selectOptionFromSideNavigationBar("Creative Search"); homePage.newVerifyHomePage(); searchPage.VerifyFilterNowBar(); searchPage.SearchFromFilterNowBar("Food"); searchPage.VerifyFilterNowBar("Food"); summaryTags.VerifySummaryTags(new string[] { "Food in All Fields" }, false); summaryTags.clickOnSingleSummaryTag("Food in All Fields"); searchPage.VerifyNewKeywordSectionOnSearchScreen("Food"); } catch (Exception e) { Logging.LogStop(this.driver, test, e, MethodBase.GetCurrentMethod(), Bname + "_TestSuite16_Reskin_FilterNow_TC003"); throw; } driver.Quit(); }