Test reports to non-ranorex users, how?
Re: Test reports to non-ranorex users, how?
We also would need the Ranorex Report Viewer as standalone tool, please.
Re: Test reports to non-ranorex users, how?
I just checked this link, but gives me a "file Not Found" message with a button to "Back To Ranorex NextCloud". I am developing with Ranorex exclusively in C#. I use the Report module to generate output, e.g. Report,Log, Report.Error, etc. And it works, it creates 2 files with extensions .rxlog and .rxlog.data.odklizec wrote: ↑Tue Mar 15, 2022 1:44 pmHi,
You can find it here:
https://upload.ranorex.com/s/KoCHanqkn7DErJq
I tried to incorporate the ReportToPDFModule, but I get the error message:
I compared my version of the .rxlog.data file with the one created by the Ranorex solution: it is true, mine is missing those 'activity' elements inside 'activity', just as the error message above says.Ranorex.Core.FastXml.XmlDocException
HResult=0x80131500
Message=Element 'activity' does not exist in element 'activity'.
Source=Ranorex.ReportToPDF
StackTrace:
at Ranorex.Core.FastXml.XmlNode.Child(String name)
at Ranorex.PDF.PDFCreator.CreateHeader(XmlNode rootActivity)
at Ranorex.PDF.PDFCreator..ctor(XmlNode rootNode, String xml, RanorexGraphics rg)
at Ranorex.PDF.Program.Main(String[] args)
at Ranorex.PDF.Creator.CreatePDF(String input, String output, String xml, String details)
at Ranorex.AutomationHelpers.Modules.ReportToPDFModule.ConvertReportToPDF(String pdfReportPath, String xml, String details) in C:\myproject\Ranorex\myprojectRx\RanorexAutomationHelpers\Modules\ReportToPDFModule.cs:line 154
at Ranorex.AutomationHelpers.Modules.ReportToPDFModule.CreatePDF() in C:\myproject\Ranorex\myprojectRx\RanorexAutomationHelpers\Modules\ReportToPDFModule.cs:line 104
Maybe I am missing how to correctly link or use the calls to 'Report' to report in my C# code?
Note that I can open my .rxlog file within Ranorex Studio and can see what I am recording there. But I need to convert that to PDF.
Anyone has done that so far?
Thanks,
-
- Posts: 10
- Joined: Thu Feb 10, 2022 2:03 pm
Re: Test reports to non-ranorex users, how?
Find the current solution here: https://stackoverflow.com/a/76358278/1777526
Re: Test reports to non-ranorex users, how?
Sending rxzlog reports to people who don't have Ranorex Studio installed is indeed a very common need and other formats, like html, are not convenient at all.
It's high time Ranorex provides a stand-alone version of the ReportViewer.
This has been requested for years... still waiting for it.
It's high time Ranorex provides a stand-alone version of the ReportViewer.
This has been requested for years... still waiting for it.
Re: Test reports to non-ranorex users, how?
Actually, I am working with Ranorex version 10.5.4, and do not need any extra code or Ranorex Automation Helper libraries to create these PDFs.
Right-click the main Test Suite in your .rxtst file opened in Ranorex Studio, select "Properties". Go to the "Report" tab and check the option "Create single report PDF" it gets created in the "Export PDF to this directory" folder that you also specify on that properties window.
I am able to include this PDF as an artifact in my Azure pipeline and believe me, it displays errors that I am not able to repeat/see when I test in my localhost. Correcting these "errors" and now I am editing that PDF file to be appropriate for my final users.
Right-click the main Test Suite in your .rxtst file opened in Ranorex Studio, select "Properties". Go to the "Report" tab and check the option "Create single report PDF" it gets created in the "Export PDF to this directory" folder that you also specify on that properties window.
I am able to include this PDF as an artifact in my Azure pipeline and believe me, it displays errors that I am not able to repeat/see when I test in my localhost. Correcting these "errors" and now I am editing that PDF file to be appropriate for my final users.
-
- Posts: 2
- Joined: Tue Nov 08, 2022 9:05 am
Re: Test reports to non-ranorex users, how?
This got deleted again, could you please send another link?Support Team wrote: ↑Thu Jul 16, 2020 2:59 pmHere you go! https://upload.ranorex.com/s/pA5T9L2iqREXaNp
Hopefully, it won't get deleted this time