Issue in Launching chrome , error shown in Ranorex extension

Ranorex Studio, Spy, Recorder, and Driver.
Dhivya_Test
Posts: 1
Joined: Fri Sep 24, 2021 7:49 am

Issue in Launching chrome , error shown in Ranorex extension

Post by Dhivya_Test » Fri Sep 24, 2021 8:12 am

Hi Team,

When running the Ranorex solution , getting stuck with below error
Unchecked runtime.lastError: No tab with id: 62.
Context
background.html
Stack Trace
background.html:0 (anonymous function)

But the same solution is running in a different machine.
Any help to sort this issue?

Jacob
Certified Professional
Certified Professional
Posts: 120
Joined: Mon Mar 22, 2021 10:01 pm

Re: Issue in Launching chrome , error shown in Ranorex extension

Post by Jacob » Mon Sep 27, 2021 10:19 pm

Hi Dhivya!

It sounds like this test could benefit from some RanoreXPath optimization. Many webpages have their elements rendered in JavaScript when rendered on the page, so their attributes can often change from test run to test run. Creating a robust RanoreXPath can help with this. If you inspect this element in the Repository, chances are it is looking for some type of tab controller with an ID of 62. My first suggestion would be to enable Maintenance Mode to see if you can catch the object and the location that the failure is occurring. If that doesn't work, there may be more help we can provide here in the forum, but we will need a Ranorex Snapshot file and more details of the application. I hope this information helps!

--Jacob
Image