public void CellsWorksheetsPostWorkSheetCommentTest() { string name = "Book1.xlsx"; string sheetName = "SHEET1"; string cellName = "B3"; Comment comment = new Comment(); comment.Author = "Roy"; string folder = null; new Config().UpdateDataFile(folder, name); var response = instance.CellsWorksheetsPostWorksheetComment(name, sheetName, cellName, comment, folder); Console.WriteLine(response); }
public void CellsWorksheetsPostWorkSheetCommentTest() { // TODO uncomment below to test the method and replace null with proper value string name = BOOK1; string sheetName = SHEET1; string cellName = "B3"; Comment comment = new Comment(); comment.Author = "Roy"; string folder = TEMPFOLDER; UpdateDataFile(folder, name); var response = instance.CellsWorksheetsPostWorksheetComment(name, sheetName, cellName, comment, folder); Assert.IsInstanceOf <SaaSposeResponse>(response, "response is SaaSposeResponse"); Assert.AreEqual(response.Code, 200); }