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
BUG: HTML report opens in IE but not FF/Chrome from server
- Support Team
- Site Admin
- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
Re: BUG: HTML report opens in IE but not FF/Chrome from server
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
[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
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
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
- Support Team
- Site Admin
- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
Re: BUG: HTML report opens in IE but not FF/Chrome from server
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
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
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
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
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
The first answer on here solved this for me.
https://stackoverflow.com/questions/357 ... 8#35785788
- Support Team
- Site Admin
- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
Re: BUG: HTML report opens in IE but not FF/Chrome from server
Hi Tomsk666,
Thank you for providing this workaround, really appreciated.
Regards,
Markus (S)
Thank you for providing this workaround, really appreciated.
Regards,
Markus (S)