Example #1
0
        public void CellsPageSetupPostFooterTest()
        {
            // TODO uncomment below to test the method and replace null with proper value
            string name        = "Book1.xlsx";
            string sheetName   = "SHEET1";
            int?   section     = 0;
            string script      = "test";
            bool?  isFirstPage = true;
            string folder      = null;

            new Config().UpdateDataFile(folder, name);
            var response = instance.CellsPageSetupPostFooter(name, sheetName, section, script, isFirstPage, folder);

            Console.WriteLine(response);
        }
Example #2
0
        public void CellsPageSetupPostFooterTest()
        {
            // TODO uncomment below to test the method and replace null with proper value
            string name        = BOOK1;
            string sheetName   = SHEET1;
            int?   section     = 0;
            string script      = "test";
            bool?  isFirstPage = true;
            string folder      = TEMPFOLDER;

            UpdateDataFile(folder, name);
            var response = instance.CellsPageSetupPostFooter(name, sheetName, section, script, isFirstPage, folder);

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