Exemple #1
0
        public void CellsWorksheetsGetWorkSheetMergedCellTest()
        {
            string name            = "Book1.xlsx";
            string sheetName       = "SHEET1";
            int?   mergedCellIndex = 1;
            string folder          = null;

            new Config().UpdateDataFile(folder, name);
            var response = instance.CellsWorksheetsGetWorksheetMergedCell(name, sheetName, mergedCellIndex, folder);

            Console.WriteLine(response);
        }
        public void CellsWorksheetsGetWorkSheetMergedCellTest()
        {
            // TODO uncomment below to test the method and replace null with proper value
            string name            = BOOK1;
            string sheetName       = SHEET1;
            int?   mergedCellIndex = 1;
            string folder          = TEMPFOLDER;

            UpdateDataFile(folder, name);
            var response = instance.CellsWorksheetsGetWorksheetMergedCell(name, sheetName, mergedCellIndex, folder);

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