public void CellsHypelinksPutWorkSheetHyperlinkTest() { string name = "Book1.xlsx"; string sheetName = "SHEET1"; int? firstRow = 1; int? firstColumn = 1; int? totalRows = 2; int? totalColumns = 3; string address = "http://wwww.aspose.com"; string folder = null; new Config().UpdateDataFile(folder, name); var response = instance.CellsHypelinksPutWorksheetHyperlink(name, sheetName, firstRow, firstColumn, totalRows, totalColumns, address, folder); Console.WriteLine(response); }
public void CellsHypelinksPutWorkSheetHyperlinkTest() { // TODO uncomment below to test the method and replace null with proper value string name = BOOK1; string sheetName = SHEET1; int? firstRow = 1; int? firstColumn = 1; int? totalRows = 2; int? totalColumns = 3; string address = "http://wwww.aspose.com"; string folder = TEMPFOLDER; UpdateDataFile(folder, name); var response = instance.CellsHypelinksPutWorksheetHyperlink(name, sheetName, firstRow, firstColumn, totalRows, totalColumns, address, folder); Assert.IsInstanceOf <HyperlinkResponse>(response, "response is HyperlinkResponse"); Assert.AreEqual(response.Code, 200); }