BUG: HTML report opens in IE but not FF/Chrome from server

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

Re: BUG: HTML report opens in IE but not FF/Chrome from server

Post by Support Team » Wed Feb 03, 2016 2:09 pm

Hello harshil sanghvi,

Since this issue is quite old, I would like you to go through the questions and suggestions mentioned here: http://www.ranorex.com/forum/bug-html-r ... tml#p24841

Sincerely,
Robert

sandr1983
Posts: 1
Joined: Fri Aug 26, 2016 11:41 am

Re: BUG: HTML report opens in IE but not FF/Chrome from server

Post by sandr1983 » Fri Aug 26, 2016 12:01 pm

Try this, it solves my problem.

[Jenkins] Blocked script execution in 'XXXX' because the document's frame is sandboxed and the 'allow-scripts' permission is not set.
https://github.com/sandr1983/Doc_FAQ/bl ... ecution.md

AnushaRaj
Posts: 1
Joined: Mon Jan 02, 2017 4:26 pm

Re: BUG: HTML report opens in IE but not FF/Chrome from server

Post by AnushaRaj » Mon Jan 09, 2017 10:16 am

Hi,

I am facing a similar issue in Chrome and Edge while trying to open Html Reports. I went through the entire post and could not find a proper solution. Please help

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

Re: BUG: HTML report opens in IE but not FF/Chrome from server

Post by Support Team » Thu Jan 12, 2017 4:04 pm

Hi AnushaRaj,

Welcome to the Ranorex Forum.

The issues that you experience are not related to Ranorex directly, but to security restrictions of the mentioned browsers.

In order to resolve the issue in Chrome, please start the browser with the following flag:
--allow-file-access-from-files
allow_file_access_from_files.png
I’m afraid to tell you that Edge seems to be more restrictive in this case. For example, scripts or ActiveX controls are blocked without any option to allow access. More information can be found at the Microsoft web page.

I would suggest to use IE instead of Edge or other browsers that are not that restrictive in regard to local file access and executing scripts.

Alternatively, you could convert the report to a PDF file like described on our web page. As a consequence, you are also able to open the report in Edge without any issues.

Sincerely,
Johannes
You do not have the required permissions to view the files attached to this post.

Tomsk666
Certified Professional
Certified Professional
Posts: 34
Joined: Thu Mar 28, 2013 12:59 pm
Location: UK
Contact:

Re: BUG: HTML report opens in IE but not FF/Chrome from server

Post by Tomsk666 » Thu Apr 12, 2018 1:46 pm

For the Jenkins issue of HTML reports not showing, this is due to Jenkins security settings, not allowing css javascript etc.
The first answer on here solved this for me.
https://stackoverflow.com/questions/357 ... 8#35785788

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

Re: BUG: HTML report opens in IE but not FF/Chrome from server

Post by Support Team » Fri Apr 13, 2018 8:54 am

Hi Tomsk666,

Thank you for providing this workaround, really appreciated.

Regards,
Markus (S)