Page 2 of 2

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

Posted: Wed Feb 03, 2016 2:09 pm
by Support Team
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

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

Posted: Fri Aug 26, 2016 12:01 pm
by sandr1983
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

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

Posted: Mon Jan 09, 2017 10:16 am
by AnushaRaj
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

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

Posted: Thu Jan 12, 2017 4:04 pm
by Support Team
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

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

Posted: Thu Apr 12, 2018 1:46 pm
by Tomsk666
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

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

Posted: Fri Apr 13, 2018 8:54 am
by Support Team
Hi Tomsk666,

Thank you for providing this workaround, really appreciated.

Regards,
Markus (S)