Renaming rxlog to xml supported?

Ranorex Spy, Recorder, and Studio.
lyn5000
Posts: 50
Joined: Mon Feb 13, 2012 5:52 pm

Renaming rxlog to xml supported?

Post by lyn5000 » Thu Dec 06, 2012 7:17 pm

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?

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Renaming rxlog to xml supported?

Post by Support Team » Fri Dec 07, 2012 9:02 am

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
.
Image

lyn5000
Posts: 50
Joined: Mon Feb 13, 2012 5:52 pm

Re: Renaming rxlog to xml supported?

Post by lyn5000 » Sat Dec 08, 2012 12:00 am

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?

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Renaming rxlog to xml supported?

Post by Support Team » Mon Dec 10, 2012 2:47 pm

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
.
Image

carsonw
Posts: 178
Joined: Tue Nov 08, 2011 10:01 pm

Re: Renaming rxlog to xml supported?

Post by carsonw » Tue Feb 05, 2013 1:49 am

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.

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Renaming rxlog to xml supported?

Post by Support Team » Wed Feb 06, 2013 5:34 pm

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
.
Image

carsonw
Posts: 178
Joined: Tue Nov 08, 2011 10:01 pm

Re: Renaming rxlog to xml supported?

Post by carsonw » Thu Feb 07, 2013 12:45 am

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.

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Renaming rxlog to xml supported?

Post by Support Team » Fri Feb 08, 2013 4:42 pm

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
.
Image

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Renaming rxlog to xml supported?

Post by Support Team » Mon Feb 11, 2013 3:07 pm

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
.
Image

carsonw
Posts: 178
Joined: Tue Nov 08, 2011 10:01 pm

Re: Renaming rxlog to xml supported?

Post by carsonw » Wed Feb 13, 2013 6:34 pm

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.