Click or drag to resize
Ranorex

ReportCopyToFileOrFileStream Method (String, String, Stream)

Note: This API is now 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.

Namespace:  Ranorex
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
[ObsoleteAttribute("Use Report.Copy(string sourceLog, string destinationReportFileName)")]
public static void CopyToFileOrFileStream(
	string sourceLog,
	string destinationReportFileName,
	Stream fileStream
)

Parameters

sourceLog
Type: SystemString
Full path to the source report file.
destinationReportFileName
Type: SystemString
Full path to copy the report file to.
fileStream
Type: System.IOStream
The file stream to write to or null.
Remarks
Make sure the report is saved first to copy all files. Only currently existing files are copied.
See Also