Forum Discussion
Not sure what could be happening. My only recommendation would be to follow the manual force install instructions for the extension and see if that helps.
Using TC11.11, Chrome 46 and VBScript the following:
Set OWS = CreateObject("Wscript.Shell") OWS.Run "chrome.exe --new-window file://PathToControlPage/page.html"
Works perfectly for me.
Starts Chrome, and loads a control page I have stored in the project so I can identify the newly opened browser. (I open all new browser instances with a control page so I can always find the new one as I sometimes run muliple browsers in a test. As soon as the new browser is found, it will navigate off the control page and into the project leaving the way clear to find the next one opened ...)
- TanyaYatskovska9 years agoSmartBear Alumni (Retired)
Hi Jkutil,
Let me quote the Run article here:
If the specified browser is already running in the system, the method posts a warning message to the test log.
I suppose this is exactly what is happening on your computer. Refer to the “Checking if Browser Is Running” ( http://smartbear.com/viewarticle/75925/ ) article to learn the ways to avoid this warning.
- jkutil9 years agoOccasional Contributor
Tanya,
I've tried that and I can successfully close Chrome (as well as other browsers), but the problem still remains that from scripts and keyword tests that I am unable to open Chrome.
For reference, here are 2 screenshots of the basic keyword test I'm trying:
The Additional Info for the first error are as follows:
An error occurred while accessing the "Close" method or property of the "BrowserWindow" object.
The object or one of its parent objects was not found.Object Whose Method or Property Was Accessed
Alias: Aliases.browser.BrowserWindow Name mapping item: NameMapping.Sys.browser.BrowserWindow Object That Was Not Found
Alias: Aliases.browser.BrowserWindow Name mapping item: NameMapping.Sys.browser.BrowserWindow Click the link above to view and configure mapping settings for the missing object.
Learn about possible causes of the error
I assume the Object wasn't found because it was just closed, but the condition in the While loop still says that it exists.
- anhvu9 years agoFrequent Contributor
I got similar issue, too. In my case, I couldn't use object spy to get a control.
The same setup for two computers, but one computer works perfect, another not.
I have gone through all supports for chrome settings, TestComplete Chrome Extension.... but it doesn't help.
Everytime, I try to browser an object, I got message "Message - TestComplete Chrome Extension is not Installed or is Disabled.
Related Content
- 2 years agoautomation_ph
Recent Discussions
- 3 days agovladd1