public void CellsWorksheetsPostWorsheetTextReplaceTest() { string name = "Book1.xlsx"; string sheetName = "SHEET1"; string oldValue = "1234"; string newValue = "56678"; string folder = null; new Config().UpdateDataFile(folder, name); var response = instance.CellsWorksheetsPostWorsheetTextReplace(name, sheetName, oldValue, newValue, folder); Console.WriteLine(response); }
public void CellsWorksheetsPostWorsheetTextReplaceTest() { // TODO uncomment below to test the method and replace null with proper value string name = BOOK1; string sheetName = SHEET1; string oldValue = "1234"; string newValue = "56678"; string folder = TEMPFOLDER; UpdateDataFile(folder, name); var response = instance.CellsWorksheetsPostWorsheetTextReplace(name, sheetName, oldValue, newValue, folder); Assert.IsInstanceOf <WorksheetReplaceResponse>(response, "response is WorksheetReplaceResponse"); Assert.AreEqual(response.Code, 200); }