public void CellsPivotTablesGetPivotTableFieldTest() { string name = "TestCase.xlsx"; string sheetName = "SHEET4"; int? pivotTableIndex = 0; int? pivotFieldIndex = 0; string pivotFieldType = "Row"; string folder = "TEMPFOLDER"; new Config().UpdateDataFile(folder, name); var response = instance.CellsPivotTablesGetPivotTableField(name, sheetName, pivotTableIndex, pivotFieldIndex, pivotFieldType, folder); Console.WriteLine(response); }
public void CellsPivotTablesGetPivotTableFieldTest() { // TODO uncomment below to test the method and replace null with proper value string name = PivTestFile; string sheetName = SHEET4; int? pivotTableIndex = 0; int? pivotFieldIndex = 0; string pivotFieldType = "Row"; string folder = TEMPFOLDER; UpdateDataFile(folder, name); var response = instance.CellsPivotTablesGetPivotTableField(name, sheetName, pivotTableIndex, pivotFieldIndex, pivotFieldType, folder); Assert.IsInstanceOf <PivotFieldResponse>(response, "response is PivotFieldResponse"); Assert.AreEqual(response.Code, 200); }