An XSL for firefox

Ask general questions here.
ThomasP
Posts: 2
Joined: Wed Mar 14, 2012 1:19 pm

An XSL for firefox

Post by ThomasP » Wed Mar 14, 2012 3:12 pm

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

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: An XSL for firefox

Post by Support Team » Thu Mar 15, 2012 1:42 pm

Hi,
ThomasP wrote:And I would like to know if Ranorex Team could provide an XSL compatible with Firefox.
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?

Regards,
Peter
Ranorex Team

ThomasP
Posts: 2
Joined: Wed Mar 14, 2012 1:19 pm

Re: An XSL for firefox

Post by ThomasP » Mon Mar 19, 2012 8:40 pm

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.

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: An XSL for firefox

Post by Support Team » Tue Mar 20, 2012 1:51 pm

Hi,
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
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.

Meanwhile please use the "good old" IE. :)

Regards,
Peter
Ranorex Team

javisHD
Posts: 1
Joined: Fri Nov 09, 2012 11:47 pm

Re: An XSL for firefox

Post by javisHD » Fri Nov 09, 2012 11:59 pm

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. :D

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