public void TC004_VerifyPivotGridWhenNoPivotFieldsOptionsAreSelected(String Bname) { TestFixtureSetUp(Bname, "TC004-Verify Pivot Grid when no Pivot fields options are selected."); try { loginPage.navigateToLoginPage().VerifyLoginPageScreenInDetail(); loginPage.loginUsingValidEmailIdAndPassword(); homePage.newVerifyHomePage(); homePage.VerifyAccountOrSwitchIfRequired("QA Testing - Brand Canada"); homePage.selectOptionFromSideNavigationBar("Print Report by Market"); charts.VerifyPivotTable(); pivotGrid.VerifyPivotOptionsPopup(); string[] selectedOptions = pivotGrid.readSelectedPivotOptions(); foreach (string selected in selectedOptions) { pivotGrid.select_deselectOptionFromPivotOptionsPopup(selected, false); } pivotGrid.clickButtonOnPivotOptionsPopup("Apply"); pivotGrid.VerifyColumnsInPivotGrid(selectedOptions, null); } catch (Exception e) { Logging.LogStop(this.driver, test, e, MethodBase.GetCurrentMethod(), Bname + "_TestSuite09_Reskin_PivotGrid_TC004"); throw; } driver.Quit(); }