Page 1 of 1

Renaming rxlog to xml supported?

Posted: Thu Dec 06, 2012 7:17 pm
by lyn5000
Instead of opening an rxlog with ranorex report viewer, is renaming the rxlog to xml and then opening in a browser supported?

I see this mentioned in this topic:
http://www.ranorex.com/forum/ranorex-rx ... t4004.html

I see the xml can be viewed fine in IE9 but in Firefox when you Expand All you can't see the report output under the test module (e.g. Validate.Exists output).

If renaming is not supported, is there a way to install the report viewer on a machine without installing the whole of Ranorex?

Just wondering, since for those who want to see test results (e.g. a link to the rxlog sent in email) but don't have Ranorex installed, is the only way they can see results to have IE9 installed and open an rxlog that has been renamed to xml?

Re: Renaming rxlog to xml supported?

Posted: Fri Dec 07, 2012 9:02 am
by Support Team
Hi,

It depends on the used Ranorex version as we changed the way how reports are now (with Ranorex 4.0) generated and represented.
It is no longer possible to rename it to XML, but instead of renaming it to XML you can now rename it to HTML in order to open it with the Internet Explorer.
It is also possible to copy the ReportViewer in order to open the reports on a machine where Ranorex is not installed.
In order to open a Report you have to copy the following files:
Ranorex.Controls.dll
Ranorex.Core.dll
Ranorex.ReportViewer.exe

With the older Ranorex version it should be possible to open it in FF.
Could it be that you turned of the JavaScript support for FF?

Regards,
Markus

Re: Renaming rxlog to xml supported?

Posted: Sat Dec 08, 2012 12:00 am
by lyn5000
I just tried with Ranorex 4.0.0.20817.

I renamed the rxlog files:
tests_20121207_143905.rxlog
tests_20121207_143905_20121207_143905.rxlog.data

to:
tests_20121207_143905_20121207_143905.html
tests_20121207_143905_20121207_143905.html.data

The .html file then opens fine in IE9.

However, in Firefox (17.0.1), Chrome and Safari (Windows 7) the page is just blank (just shows part of the RanorexReport4.png file). Javascript is enabled in Firefox.

How would someone on a Mac view the log file?

Re: Renaming rxlog to xml supported?

Posted: Mon Dec 10, 2012 2:47 pm
by Support Team
Hello,

Unfortunately, it is not possible to view reports in other browsers than Internet Explorer at the moment. We are planning to change the report file that it can be viewed in other browsers as well.

Regards,
Bernhard

Re: Renaming rxlog to xml supported?

Posted: Tue Feb 05, 2013 1:49 am
by carsonw
Hi there, just wondering if there is any progress on making the new report format cross browser compatible? This problem is preventing us from being able to upgrade to Ranorex v4.

The reason this is a problem for us is because we have our Ranorex Tests run through CCNET as our tests run continuously. The results are then displayed via a web interface, which works great under v3 (well, if you view it through IE). Under the new structure, this is no longer possible so we would not be able to view any results for any tests on our test machines.

The end result is upgrading is not possible for us until this is resolved and we'd really like to move version 4. Thanks!

Carson.

Re: Renaming rxlog to xml supported?

Posted: Wed Feb 06, 2013 5:34 pm
by Support Team
Hello Carson,

Unfortunately, I cannot say when this feature will be available in Ranorex. At the moment it is only possible to view the report in Internet Explorer if you rename the rxlog file and the rxlog.data file.

Regards,
Bernhard

Re: Renaming rxlog to xml supported?

Posted: Thu Feb 07, 2013 12:45 am
by carsonw
Hi, we tried that but it still does not work when viewed through a website hosted by IIS (i.e. it's fine locally, but we have many test environments and machines and we do not run tests locally, I wouldn't expect most people do..?).

Our suspicion is that it relates to some ways ActiveX controls are being used where they weren't before. Is there any way that we can work together to find a solution (maybe we are doing something wrong), because this new implementation has completely broken the ability to view results through CCNET which makes continuous integration impossible for us under this new model... it's frustrating.

Re: Renaming rxlog to xml supported?

Posted: Fri Feb 08, 2013 4:42 pm
by Support Team
Hello,

We changed some java script functions. Now the report loads the data dynamically into the browser. Do you have some security settings which avoid that?

Regards,
Bernhard

Re: Renaming rxlog to xml supported?

Posted: Mon Feb 11, 2013 3:07 pm
by Support Team
Hello,

the ActiveX controls have not changed in Ranorex 4.0 but the report data moved to a seperate *.data file. A default IIS installation does not know this specific file type. You have to add a MIME Type for .data files to your iis website configuration.

1) Open you iis, select your website
2) Choose the "MIME Types" feature (in the iis section of the dashboard)
3) Choose "Add..."
4) Add
File name extension: .data
MIME type: application/xml

Now you should be able to view the hosted report in IE. You still have to rename the files to X.rxlog.html , X.rxlog.html.data but you can avoid this by adding another MIME type for .rxlog

File name extension: .rxlog
MIME type: text/html

Regards,
Florian
Ranorex Team

Re: Renaming rxlog to xml supported?

Posted: Wed Feb 13, 2013 6:34 pm
by carsonw
I'm certain I responded to this post, but I don't see it so I guess I just imagined it! :)

Anyway, just wanted to say thanks so much for the tip Florian, what you suggested worked perfectly! We've now upgraded all our test and dev systems to version 4 and everything is running smoothly.

Thanks again!

Carson.