 | ReportLink Method (ReportLevel, String, String, String, IReportMetadata) |
Adds the specified link to the report. If the link is a relative file path or points to a file
within the report directory, the linked file will also be included in zipped or copied versions of the report.
Namespace:
Ranorex
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxpublic static void Link(
ReportLevel level,
string category,
string message,
string link,
params IReportMetadata[] metaData
)
Public Shared Sub Link (
level As ReportLevel,
category As String,
message As String,
link As String,
ParamArray metaData As IReportMetadata()
)
Parameters
- level
- Type: RanorexReportLevel
The reporting level of the message. - category
- Type: SystemString
The category name. - message
- Type: SystemString
An optional message to log to the report. - link
- Type: SystemString
The link to add to the report. - metaData
- Type: Ranorex.CoreIReportMetadata
Advanced reference information for use in the report. Used by Ranorex internally.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | If category or link are null. |
See Also