Unable to open html report in Chrome

Ask general questions here.
Posts: 11
Joined: Fri Mar 27, 2020 11:51 am

Unable to open html report in Chrome

Post by palvirani » Sun Sep 27, 2020 10:51 am

Hello Team,

I am not able to open html report in chrome or even in any browser. I am getting the below error
This is the message I am getting

I have already used the below command. But still its not working

"C:\PathTo\Chrome.exe" --allow-file-access-from-files

User avatar
Ranorex Guru
Ranorex Guru
Posts: 6553
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Unable to open html report in Chrome

Post by odklizec » Sun Sep 27, 2020 8:20 pm


I’m afraid, there is no image in your post, so we don’t see the error. Please reupload the image.

BTW, are you sure Chrome is not running in background while you applied "--allow-file-access-from-files" cmd line switch? The thing is, that Chrome is, by default, enabled to run in background, even if the main window is closed. Therefore, starting it with command line might not have any effect! So go to Chrome settings and uncheck this option first:
open-browser-action-fails-when-used-wit ... tml#p42594
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration