Beispiel #1
0
        public void CellsWorksheetsPutWorksheetFreezePanesTest()
        {
            string name           = "Book1.xlsx";
            string sheetName      = "SHEET1";
            int?   row            = 1;
            int?   column         = 1;
            int?   freezedRows    = 4;
            int?   freezedColumns = 5;
            string folder         = null;

            new Config().UpdateDataFile(folder, name);
            var response = instance.CellsWorksheetsPutWorksheetFreezePanes(name, sheetName, row, column, freezedRows, freezedColumns, folder);

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

            UpdateDataFile(folder, name);
            var response = instance.CellsWorksheetsPutWorksheetFreezePanes(name, sheetName, row, column, freezedRows, freezedColumns, folder);

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