Forum Discussion
Just verified the extension is for version 11.
As for how I'm launching Chrome, I've tried it both through the scripts
Browsers.Item(btChrome).Run()
and then I've tried the KeywordTests RunBrowser command.
I even recorded an entire keywordtest (launch browser, navigate to url, login) to verify that everything was working. Only part of that script that failed was the opening of the browser, otherwise it seemed to be working as intended.
By any chance, did you reinstall or update Chrome after installing TestComplete? The below is from TC's help
Since version 25, Chrome disables all third-party extensions upon installation or update. This is done to reduce the number of extensions that affect Chrome’s functionality and performance.
Since TestComplete interacts with Google Chrome via the TestComplete Chrome Extension, the latter is disabled as well. Therefore, in order to perform web testing in Chrome ver. 25 and later, you need to enable the extension manually
- jkutil11 years agoOccasional Contributor
Nope, haven't had to reinstall or update Chrome and I double checked the extension:
- dmiscannon11 years agoFrequent Contributor
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.
- Colin_McCrae11 years agoCommunity Hero
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 ...)