Ask a Question

TestComplete Using Chrome - Unable to find the object BrowserWindow(0)

SOLVED
bb1832j
Occasional Contributor

TestComplete Using Chrome - Unable to find the object BrowserWindow(0)

Running TestComplete using the Chrome browser, when Chrome is first started, a blank screen is shown for a variable amount of time ("White Screen of Death").  After adding steps to get around this, when I get to the page I want to work with, I keep getting the following error:

Unable to find the object BrowserWindow(0). See Additional Information for details.

The object "BrowserWindow(0)" does not exist.

Afterward, multiple step fail that have the BrowserWindow(0) object.  I am not sure how to get around this. 

I was able to collect an object snapshot.  Instead of BrowserWindow(0), I get something like the following:

Window("Chrome_WidgetWin_1", "WEBPAGE- Google Chrome", 2)

15 REPLIES 15
tristaanogre
Esteemed Contributor

ACtually, I wonder if it may also be a licensing/plug in thing.  You won't see the BrowserWindow off the Browser object if you don't have the Web module enabled.

 

Go to File | Install Extensions and make sure the Web box is chcked and all child boxes as well.  


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
bb1832j
Occasional Contributor

Hello @AlexKaras,

I double checked, and yes the Chrome extension is enabled.

 

@tristaanogre,

I do have the Web Module installed and the license is current. All of the child boxes are checked as well.

TanyaYatskovska
SmartBear Alumni (Retired)

Hi @bb1832j,

 

I have one more thing to check - open the Priority of objects list in the project settings and make sure that NativeWebObject is somewhere on the top of this list:

2019-01-08_100349.png

 

Refer to the Project Properties - General Open Applications Options article for more information.

 

If this doesn't help, I recommend that you contact our Support Team - a deeper investigation may be required here.

 

---------
Tanya Yatskovskaya
SmartBear Community and Education Manager



TanyaYatskovska
SmartBear Alumni (Retired)

Hi @bb1832j,

 

Was the issue resolved? Do you mind sharing a solution with us?

---------
Tanya Yatskovskaya
SmartBear Community and Education Manager



bb1832j
Occasional Contributor

Hello @TanyaYatskovska,

Using your suggestion, I changed the order of the priority of objects and moved NativeWebObject and ChromeWebObject to the top.  I stopped getting the BrowserWindow error and started getting the invisible desktop error.  I pulled up a solution that had me update the registry for the Remote Desktop being minimized.

 

Thanks

TanyaYatskovska
SmartBear Alumni (Retired)

That's great! Happy to help 🙂

---------
Tanya Yatskovskaya
SmartBear Community and Education Manager



cancel
Showing results for 
Search instead for 
Did you mean: