public void CellsChartsPostWorksheetChartTest()
        {
            string name       = "myDocument.xlsx";
            string sheetName  = "SHEET3";
            int?   chartIndex = 0;
            Chart  chart      = new Chart();

            chart.AutoScaling = true;

            string folder = null;

            new Config().UpdateDataFile(folder, name);
            var response = instance.CellsChartsPostWorksheetChart(name, sheetName, chartIndex, chart, folder);

            Console.WriteLine(response);
        }
Beispiel #2
0
        public void CellsChartsPostWorksheetChartTest()
        {
            // TODO uncomment below to test the method and replace null with proper value
            string name       = MYDOC;
            string sheetName  = SHEET3;
            int?   chartIndex = 0;
            Chart  chart      = new Chart();

            chart.AutoScaling = true;

            string folder = TEMPFOLDER;

            UpdateDataFile(folder, name);
            var response = instance.CellsChartsPostWorksheetChart(name, sheetName, chartIndex, chart, folder);

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