Hi,
I am using following code in my suite to generate my customized report.
Ranorex.Core.Reporting.TestReport.Setup(ReportLevel.Debug, "MyReport", true); Ranorex.Core.Reporting.TestReport.BeginTestSuite("My AUT Automation Test Suite Report");
By doing this, i am only getting the ranorex report,
but i need an XML report too which ranorex creates when it automatically generates an automation report i.e. when report customization is not used.
Thanks
Devendra
Need XML Report along with Ranorex Report
-
- Posts: 3
- Joined: Thu Jul 11, 2013 5:11 am
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Need XML Report along with Ranorex Report
Hello,
I am afraid that I don't know exactly what you want to do. Do you want to have both report files?
If yes why do you need both files?
Thank you!
Regards,
Bernhard
I am afraid that I don't know exactly what you want to do. Do you want to have both report files?
If yes why do you need both files?
Thank you!
Regards,
Bernhard
-
- Posts: 3
- Joined: Thu Jul 11, 2013 5:11 am
Re: Need XML Report along with Ranorex Report
The thing is, we need to publish results each time we execute our regression suite, for that purpose i think instead of uploading ranorex report, XML report will be a better option, so that the report can be viewed on a machine where ranorex is not installed.
Regards
Devendra
Regards
Devendra
Re: Need XML Report along with Ranorex Report
The reports are in HTML format, so if you change the extensions to *.HTML and *.HTML.DATA instead of *.RXLOG and *.RXLOG.DATA, respectively, you can view them in any browser.
Also, if you right-click on the TestSuite in the rxtst file and select Properties, you can change the name parameters used by Ranorex to create the reports. Just change the ".rxlog" to ".html" and re-compile and you will be able to view the reports in a browser without manual renames.
You have to have ALL report files in the same directory as the HTML files or it will not work.
Also, if you right-click on the TestSuite in the rxtst file and select Properties, you can change the name parameters used by Ranorex to create the reports. Just change the ".rxlog" to ".html" and re-compile and you will be able to view the reports in a browser without manual renames.
You have to have ALL report files in the same directory as the HTML files or it will not work.
Shortcuts usually aren't...
-
- Posts: 3
- Joined: Thu Jul 11, 2013 5:11 am
Re: Need XML Report along with Ranorex Report
Thanks Krstcs for your reply.
I checked with your solution, but the thing is *.HTML and *.HTML.DATA reports are not as good as ranorex report.
While was checking I manually changed *.RXLOG extension to *.XML.
It worked to show report in a good format but the problem with this is when I am trying to expand the test case heirarchy, I am not able to.
I am also attaching the report with *.XML and *.RXLOG extension. Please look into it once, you will get to know my perspective.
Thanks again,
Devendra
I checked with your solution, but the thing is *.HTML and *.HTML.DATA reports are not as good as ranorex report.
While was checking I manually changed *.RXLOG extension to *.XML.
It worked to show report in a good format but the problem with this is when I am trying to expand the test case heirarchy, I am not able to.
I am also attaching the report with *.XML and *.RXLOG extension. Please look into it once, you will get to know my perspective.
Thanks again,
Devendra
You do not have the required permissions to view the files attached to this post.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Need XML Report along with Ranorex Report
Hello,
Thanks for your reports.
It looks like that your report file is corrupt since I couldn't open the *.rxlog file.
I have repaired your log in order to view it.
Please try to open it with Internet Explorer.
Regards,
Markus (T)
Thanks for your reports.
It looks like that your report file is corrupt since I couldn't open the *.rxlog file.
I have repaired your log in order to view it.
Please try to open it with Internet Explorer.
Regards,
Markus (T)
You do not have the required permissions to view the files attached to this post.
Re: Need XML Report along with Ranorex Report
Hello Markus,
I tried to open report.rxlog and I got error message
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
--------------------------------------------------------------------------------
Access is denied. Error processing resource 'file:///C:/Users/Yoad/Downloads/RanorexReport3.xsl'.
I tried also to open report.xml and I don't see nothing why?
regards,
Yoad
I tried to open report.rxlog and I got error message
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
--------------------------------------------------------------------------------
Access is denied. Error processing resource 'file:///C:/Users/Yoad/Downloads/RanorexReport3.xsl'.
I tried also to open report.xml and I don't see nothing why?
regards,
Yoad
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Need XML Report along with Ranorex Report
Hello Yoad,
Please make sure that the RanorexReport3.xsl file is located in the same folder as the report.rxlog file. Additionally please make sure that Internet Explorer is allowed to access information that are not under its control.
There are some other posts in the forum treating a similar issue. Please find them using the following links:
http://www.ranorex.com/forum/xml-fragme ... t2530.html
http://www.ranorex.com/forum/is-it-poss ... t1588.html
Regards,
Bernhard
Please make sure that the RanorexReport3.xsl file is located in the same folder as the report.rxlog file. Additionally please make sure that Internet Explorer is allowed to access information that are not under its control.
There are some other posts in the forum treating a similar issue. Please find them using the following links:
http://www.ranorex.com/forum/xml-fragme ... t2530.html
http://www.ranorex.com/forum/is-it-poss ... t1588.html
Regards,
Bernhard