Page 1 of 1

Object Identification stopped working

Posted: Tue May 30, 2017 8:51 am
by zivshapirawork
Hi

On a laptop, suddenly object identification on Chrome stopped working (test runs but nothing happens). Tests have been running for a long time before this happened on this machine. This machine only has runner installed.

The differences that I noticed on this machine from others are
1. Chrome produces a debug log each time the tests runs with entries as shown below (no other entries)
2. clicking the background.html on the Ranorex extension (during the tests) shows an error (also shown at the bottom)

Any idea how to fix this? :?: :idea:

Note: same automation code, SUT, chrome/Ranorex version are working fine on other machines.
Note: already did restart, reinstall chrome, reinstall extension. tried all web automation solutions
--------------------------------
Chrome 58...110 (latest to date)
Ranorex Runner 7.0.1
Ranorex Chrome extension 1.0.10
Windows 8.1

chrome debug
530/102119.436:ERROR:registration_protocol_win.cc(55)] CreateFile: The system cannot find the file specified. (0x2)
[0530/102124.762:ERROR:registration_protocol_win.cc(83)] TransactNamedPipe: The pipe has been ended. (0x6D)
Ranorex extension
background.js:1 Ranorex: setup background page
background.js:1 Ranorex: begin extension init
background.js:1 Ranorex: extension init complete
background.js:1 Ranorex: tab with id 2 has connected
background.js:1 Ranorex: tab with id 2 has connected
background.html:1 Error in event handler for (unknown): Error: Attempting to use a disconnected port object
at Object.window.RXmsg.post (chrome-extension://egdlgaljianpgdlmfijpphbadibfncdm/msgport.js:1:1881)
at chrome-extension://egdlgaljianpgdlmfijpphbadibfncdm/background.js:1:434
background.js:1 Ranorex: tab with id 2 has disconnected
background.js:1 Ranorex: tab with id 2 has disconnected

Re: Object Identification stopped working

Posted: Tue Jun 13, 2017 9:58 am
by zivshapirawork
updating new chrome 59 has stopped the errors in the Chrome logs, but the background.html link in the Ranorex chrome extension has the same issue still.

Re: Object Identification stopped working

Posted: Wed Jun 14, 2017 1:28 pm
by qwertzu
Hi zivshapirawork,

I can find the same error in the background.html of my Ranorex extension.
Still, my tests can be executed as usual.
So the reason to this issue must be something different.

Could you please give us some more information? Please upload a Ranorex Snapshot and a Compressed Report. This would help us identifying the issue in more detail.

Furthermore, please try to disable the following advanced Chrome settings and see whether the issue still persists:
ChromeSettings.png
regards,
qwertzu

Re: Object Identification stopped working

Posted: Sun Jun 18, 2017 1:11 pm
by zivshapirawork
Hi @qwertzu

1. The settings didn't help (I already tried them). From your screenshot, I think that you have chrome 58 (or earlier) and not 59

2. I can't create a snapshot because even the self of the browser root (domain=...) is not found, in order to make the snapshot.

I will keep investigating. Thanks for helping out :D