Page 1 of 1

Object is currently in use elsewhere running headless browser

Posted: Thu Mar 05, 2020 8:03 am
by mmahra
Hello,

I have a recording that runs successfully on Normal browser but when it comes to run on Selenium chrome drivers I get the below error and not able to identify where the problem is.

Re: Object is currently in use elsewhere running headless browser

Posted: Thu Mar 05, 2020 8:19 am
by odklizec
Hi,

It looks like a Ranorex bug? I'm afraid, this kind of error must be solved directly with Ranorex support. Please create a ticket here:
https://www.ranorex.com/support-query/
BTW, could you please try to disable Report Screenshot steps? Also, are you running the test on the same machine, where you have installed Ranorex Studio? If not, please try to install whole Studio on the target test machine (or at very least, make sure there are installed all Ranorex pre-requisities).

Re: Object is currently in use elsewhere running headless browser

Posted: Thu Mar 05, 2020 9:55 am
by mmahra
I disabled the screenshots and enabled again and seems working fine,
I get this kind of error alot but randomly,
I can see that the most efficient way is to start new cmd for headless browser execution.
I hope I can find a solution for that!

Re: Object is currently in use elsewhere running headless browser

Posted: Thu Mar 05, 2020 10:03 am
by odklizec
Hi,

It's definitely not normal and I really think it's something Ranorex folks should look at. Any workaround you might implement may fail at some point so I would suggest to create a support ticket ;)

Re: Object is currently in use elsewhere running headless browser

Posted: Thu Mar 05, 2020 12:01 pm
by mmahra
Thanks Pavel