public void TC038_VerifyThatPivotOptionsMetricsShouldBeDisplayedAccordingToSelecetdReport_QATesting_AdEx_MediaSpendAndMonthlySpend_InBrandMonthlyAccount(String Bname) { TestFixtureSetUp(Bname, "TC038-Verify Pivot options metrics should be displayed according to selecetd report (i.e QA Testing - Ad Ex - Media Spend and Monthly spend) in Brand monthly account"); try { loginPage.navigateToLoginPage().VerifyLoginPageScreenInDetail(); loginPage.loginUsingValidEmailIdAndPassword(); homePage.newVerifyHomePage(); homePage.VerifyAccountOrSwitchIfRequired("QA Testing - Brand Monthly"); homePage.selectOptionFromSideNavigationBar("QA Testing - Ad Ex - Media Spend"); charts.VerifyPivotTable(); pivotGrid.VerifyPivotOptionsPopup(); string[] mediaOptions = pivotGrid.readSelectedMetricsOptions(); pivotGrid.clickButtonOnPivotOptionsPopup("Cancel"); pivotGrid.VerifyPivotOptionsPopup(false); homePage.selectOptionFromSideNavigationBar("QA Testing - Ad Ex - Monthly Spend"); charts.VerifyPivotTable(); pivotGrid.VerifyPivotOptionsPopup(); string[] monthlyOptions = pivotGrid.readSelectedMetricsOptions(); pivotGrid.clickButtonOnPivotOptionsPopup("Cancel"); fieldOptions.compareListOfItemsInOrder(mediaOptions, monthlyOptions, false); } catch (Exception e) { Logging.LogStop(this.driver, test, e, MethodBase.GetCurrentMethod(), Bname + "_TestSuite09_Reskin_PivotGrid_TC038"); throw; } driver.Quit(); }