Hi,
I am using Test Suite Runner as explained here:
http://www.ranorex.com/support/user-gui ... suite.html
with Ranorex 3.2.2.16425
And I would like to know if Ranorex Team could provide an XSL compatible with Firefox.
The current XSL relies on ActiveX/VBScript to "post process" part of the XML.
This VBScript is not compatible with Firefox.
XSL format is compatibile with Firefox and Chrome as well, but by adding ActiveX (src = new ActiveXObject("Msxml2.DOMDocument.6.0"); ), you broke this compatibility.
I did some digging in the forum and found:
http://www.ranorex.com/forum/custom-xsl ... t1543.html
this alternative XSL does not work on the XML created by Test Suite
http://www.ranorex.com/forum/javascript ... html#p8494
I tried to use XSL.transform, but the generated HTML is not complete as part of the treatment is done when using IE, with Javascript
I hope my explanation are clear enough
Thomas
An XSL for firefox
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: An XSL for firefox
Hi,
Regards,
Peter
Ranorex Team
Those java script, which are nested in the XSL are third party java scripts and we need them for the charts and a few other things. Therefore we can't change them. Why do you can't open your Report with IE?ThomasP wrote:And I would like to know if Ranorex Team could provide an XSL compatible with Firefox.
Regards,
Peter
Ranorex Team
Re: An XSL for firefox
Hi,
I can use IE, but most of our dev & QA uses Firefox or Chrome and if I want them to use these reports, it would be great if they worked with Firefox / Chrome
And if you still need JavaScript "for the charts and a few other things", it's ok, as long as this JS is compatible with Chrome/Firefox
Thanks,
Thomas P.
I can use IE, but most of our dev & QA uses Firefox or Chrome and if I want them to use these reports, it would be great if they worked with Firefox / Chrome
And if you still need JavaScript "for the charts and a few other things", it's ok, as long as this JS is compatible with Chrome/Firefox
Thanks,
Thomas P.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: An XSL for firefox
Hi,
Meanwhile please use the "good old" IE.
Regards,
Peter
Ranorex Team
I completely agree with you and I've added a issue to our internal bugtracking system. The issue will be discussed internally and if we decide to adapt this, this should be available in one of our next Releases.ThomasP wrote:And if you still need JavaScript "for the charts and a few other things", it's ok, as long as this JS is compatible with Chrome/Firefox
Meanwhile please use the "good old" IE.

Regards,
Peter
Ranorex Team
Re: An XSL for firefox
So I've been terribly annoyed by this for some time now (2 years?). No one on our team uses IE, Chrome is now most popular too right??
I dug into the xsl file and think I got it working cross browser pretty good! I found a section commented out, it said something along the lines of 'Using javascript to display stuff instead of XSL'. I un-commented this section and was surprised that the details below each recording were now visible in both Chrome and Firefox.
I then noticed that clicking on thumbnails would show the image much too low, usually cutting off most of it and making the links below the image inaccessible. I dug around fixing this as well. Now the images display at the very top (which i think is much better than trying to find the center) and I tested this in IE, and latest versions on Chrome and Firefox.
Download my version and compare it if you want to see what I changed. Really not much at all.
Enjoy!
Edit - forum doesn't like file size or format so get it here: https://www.dropbox.com/s/e1ivr1crrupnv ... eport3.xsl
I dug into the xsl file and think I got it working cross browser pretty good! I found a section commented out, it said something along the lines of 'Using javascript to display stuff instead of XSL'. I un-commented this section and was surprised that the details below each recording were now visible in both Chrome and Firefox.

I then noticed that clicking on thumbnails would show the image much too low, usually cutting off most of it and making the links below the image inaccessible. I dug around fixing this as well. Now the images display at the very top (which i think is much better than trying to find the center) and I tested this in IE, and latest versions on Chrome and Firefox.
Download my version and compare it if you want to see what I changed. Really not much at all.
Enjoy!
Edit - forum doesn't like file size or format so get it here: https://www.dropbox.com/s/e1ivr1crrupnv ... eport3.xsl