Click or drag to resize
Ranorex

Report Class

The Ranorex reporting service.
Used to log messages to a number of configured loggers.
Inheritance Hierarchy
SystemObject
  RanorexReport

Namespace:  Ranorex
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
public class Report

The Report type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberCurrentReportLevel Obsolete.
Gets or sets the current report level that is the minimum ReportLevel message need to have to be included in the report.
Public propertyStatic memberCustomCategoryStyles
Allows setting of custom formatting CSS styles per category. These styles override ReportLevel styles if set.
Public propertyStatic memberDefaultCategory
Gets or sets the default report category to use if not explicitly specified when reporting messages.
Public propertyStatic memberMinimumReportLevel
Gets or sets the current report level that is the minimum ReportLevel message need to have to be included in the report.
Top
Methods
  NameDescription
Public methodStatic memberAttachLogger
Attaches a custom logger to the reporting environment.
Public methodStatic memberCopy(String, String)
Copies a XML or zipped XML report file and all the external files referenced by the report file to a file. This method automatically handles copying from and to zipped and unzipped report files.
Public methodStatic memberCopy(ReportEnvironment, String)
Copies a XML or zipped XML report file and all the external files referenced by the report file to a file. This method automatically handles copying from and to zipped and unzipped report files.
Public methodStatic memberCopyToFileOrFileStream(String, String, Stream) Obsolete.
Copies a XML or zipped XML report file and all the external files referenced by the report file to a file or stream. This method automatically handles copying from and to zipped and unzipped report files.
Public methodStatic memberCopyToFileOrFileStream(ReportEnvironment, String, Stream) Obsolete.
Copies a XML or zipped XML report file and all the external files referenced by the report file to a file or stream. This method automatically handles copying from and to zipped and unzipped report files.
Public methodStatic memberDebug(String)
Logs a debug-level message, using the default category.
Public methodStatic memberDebug(String, String)
Logs a debug-level message.
Public methodStatic memberDetachLogger
Detaches a custom logger from the reporting environment.
Public methodStatic memberEnd
Ends reporting. It is not required to explicitly call this method before shutdown.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodStatic memberError(String)
Logs an error-level message, using the default category.
Public methodStatic memberError(String, String)
Logs an error-level message.
Public methodStatic memberFailure(String)
Logs a logical failure (e.g. test step failure) message, using the default category.
Public methodStatic memberFailure(String, String)
Logs a logical failure (e.g. test step failure) message.
Protected methodFinalize
Finalizer for automatic logger shutdown.
(Overrides ObjectFinalize.)
Public methodStatic memberGetDependentFiles Obsolete.
Gets all the external files referenced by the report file.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberHasReportDataFileExtension
Determines if a file name has the Ranorex Stub View report file extension.
Public methodStatic memberHasReportFileExtension
Determines if a file name has the Ranorex Xml report file extension.
Public methodStatic memberHasZipReportFileExtension
Determines if a file name has the Ranorex Zip report file extension.
Public methodStatic memberInfo(String)
Logs an info-level message, using the default category.
Public methodStatic memberInfo(String, String)
Logs an info-level message.
Public methodStatic memberIsReportFile(String)
Determines if a file is a valid Ranorex report file.
Public methodStatic memberIsReportFile(String, String)
Determines if a file is a valid Ranorex report file.
Public methodStatic memberLink(String)
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.
Public methodStatic memberLink(String, String)
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.
Public methodStatic memberLink(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.
Public methodStatic memberLog(ReportLevel, String)
Logs a message using the DefaultCategory.
Public methodStatic memberLog(ReportLevel, String, String)
Logs a message.
Public methodStatic memberLog(ReportLevel, String, String, IReportMetadata)
Logs a message.
Public methodStatic memberLogData(ReportLevel, String, Object)
Logs a data message.
Public methodStatic memberLogData(ReportLevel, String, String, Object)
Logs a data message.
Public methodStatic memberLogData(ReportLevel, String, String, Object, IReportMetadata)
Logs a data message.
Public methodStatic memberLogHtml(ReportLevel, String)
Logs a message using the DefaultCategory. The message can contain XHTML markup.
Public methodStatic memberLogHtml(ReportLevel, String, String)
Logs a message. The message must contain valid XHTML markup.
Public methodStatic memberLogHtml(ReportLevel, String, String, IReportMetadata)
Logs a message. The message must contain valid XHTML markup.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberProcessSummary(Process)
Logs a message containing a short process summary.
Public methodStatic memberProcessSummary(Int32)
Logs a message containing a short process summary.
Public methodStatic memberProcessSummary(String)
Logs a message containing a short process summary.
Public methodStatic memberProcessSummary(Element)
Logs a message containing a short process summary.
Public methodStatic memberProcessSummary(RepoItemInfo)
Logs a message containing a short process summary.
Public methodStatic memberScreenshot
Logs a message containing a screenshot of the whole desktop.
Public methodStatic memberScreenshot(Element)
Logs a message containing a screenshot of a specified element.
Public methodStatic memberScreenshot(String, Element)
Logs a message containing a screenshot of a specified element.
Public methodStatic memberScreenshot(Element, Boolean)
Logs a message containing a screenshot of a specified element.
Public methodStatic memberScreenshot(String, Element, Boolean)
Logs a message containing a screenshot of a specified element.
Public methodStatic memberScreenshot(ReportLevel, String, String, Element, Boolean, IReportMetadata)
Logs a message containing a screenshot of a specified element.
Public methodStatic memberSetup(ReportLevel, String, Boolean)
Sets up the reporting environment compatible with Ranorex version 2.X.
Public methodStatic memberSetup(ReportLevel, String, Boolean, Boolean)
Sets up the reporting environment compatible with Ranorex version 2.X.
Public methodStatic memberSetupDefault
Sets up the reporting environment with Info, XML logging and console logging enabled.
Public methodStatic memberSnapshot(Element)
Creates and stores a snapshot of the specified target element and adds a link to the snapshot to the report.
Public methodStatic memberSnapshot(String, Element)
Creates and stores a snapshot of the specified target element and adds a link to the snapshot to the report.
Public methodStatic memberSnapshot(ReportLevel, String, String, Element, IReportMetadata)
Creates and stores a snapshot of the specified target element and adds a link to the snapshot to the report.
Public methodStatic memberStart
Starts reporting with the previously configured settings.
Public methodStatic memberSuccess(String)
Logs a logical success (e.g. test step success) message, using the default category.
Public methodStatic memberSuccess(String, String)
Logs a logical success (e.g. test step success) message.
Public methodStatic memberSystemSummary
Logs a message containing a short system the summary.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodStatic memberUnzip
Unzips a zipped XML report file (with the extension ".rxzlog") and all the external files references.
Public methodStatic memberWarn(String)
Logs a warning-level message, using the default category.
Public methodStatic memberWarn(String, String)
Logs a warning-level message.
Public methodStatic memberZip(String, String, String)
Zips the XML report file and all the external files referenced by the report file to a zip file with the extension ".rxzlog".
Public methodStatic memberZip(ReportEnvironment, String, String)
Zips the XML report file and all the external files referenced by the report file to a zip file with the extension ".rxzlog".
Top
See Also