public void CellsPageBreaksPutHorizontalPageBreakTest()
        {
            string name        = "Book1.xlsx";
            string sheetName   = "SHEET1";
            string cellname    = "a1";
            int?   row         = 1;
            int?   column      = 1;
            int?   startColumn = 1;
            int?   endColumn   = 1;
            string folder      = null;

            new Config().UpdateDataFile(folder, name);
            var response = instance.CellsPageBreaksPutHorizontalPageBreak(name, sheetName, cellname, row, column, startColumn, endColumn, folder);

            Console.WriteLine(response);
        }
예제 #2
0
        public void CellsPageBreaksPutHorizontalPageBreakTest()
        {
            // TODO uncomment below to test the method and replace null with proper value
            string name        = BOOK1;
            string sheetName   = SHEET1;
            string cellname    = CellName;
            int?   row         = 1;
            int?   column      = 1;
            int?   startColumn = 1;
            int?   endColumn   = 1;
            string folder      = TEMPFOLDER;

            UpdateDataFile(folder, name);
            var response = instance.CellsPageBreaksPutHorizontalPageBreak(name, sheetName, cellname, row, column, startColumn, endColumn, folder);

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