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)
Solved! Go to Solution.
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:
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.
It sounds like you don't have chrome properly configured, should be intereacting with pages, not the Window object.
Have you gone through the steps here: https://support.smartbear.com/testcomplete/docs/app-testing/web/general/preparing-browsers/chrome.ht...
-- Version of TestComplete?
-- Version of Chrome?
-- Is there a need for the TestComplete Chrome support update ? (https://support.smartbear.com/downloads/testcomplete/chrome-patches/)
-- Was TestComplete installed before or after Chrome?
I looked over the steps that you suggested. I am properly configured, I have been able to run on Chrome in the past.
I have some steps that use the BrowserWindow object because it contained actions that I required to use.
Here is the info you requested...
TestComplete Version: 12.60.5545.7
Chrome Version: 69.0.3497.100
TestComplete was reinstalled after Chrome update.
There have been no patches applied.
Hm-m... These versions should work...
Have you checked that Chrome extension is installed and enabled in Chrome? https://support.smartbear.com/testcomplete/docs/app-testing/web/general/preparing-browsers/chrome-ex...
Yes, Chrome is installed and enabled. I am able to run a few steps before the problem occurs.
> [...] before the problem occurs.
Can you double check that extension is enabled in Chrome?
I am asking because as far as I remember, there are only two reasons of why Page object may be absent in the TestComplete Object Browser for Chrome and/or Firefox: either update is not installed for the new unsupported version of browser or extension got disabled in Chrome. (This might happen from time to time.)