Example #1
0
        public void CellsPivotTablesDeleteWorksheetPivotTableFiltersTest()
        {
            string name            = "TestCase.xlsx";
            string sheetName       = "SHEET4";
            int?   pivotTableIndex = 0;
            bool?  needReCalculate = true;
            string folder          = "TEMPFOLDER";

            new Config().UpdateDataFile(folder, name);
            var response = instance.CellsPivotTablesDeleteWorksheetPivotTableFilters(name, sheetName, pivotTableIndex, needReCalculate, folder);

            Console.WriteLine(response);
        }
Example #2
0
        public void CellsPivotTablesDeleteWorksheetPivotTableFiltersTest()
        {
            // TODO uncomment below to test the method and replace null with proper value
            string name            = PivTestFile;
            string sheetName       = SHEET4;
            int?   pivotTableIndex = 0;
            bool?  needReCalculate = true;
            string folder          = TEMPFOLDER;

            UpdateDataFile(folder, name);
            var response = instance.CellsPivotTablesDeleteWorksheetPivotTableFilters(name, sheetName, pivotTableIndex, needReCalculate, folder);

            Assert.IsInstanceOf <SaaSposeResponse>(response, "response is SaaSposeResponse");
            Assert.AreEqual(response.Code, 200);
        }