Chrome does not react on TestComplete 12
Hi all,
This morning i upgraded to TestComplete 12. After that,my scripts that worked fine on TC11 don't react to Chrome anymore.
I can see in the log that 'The browser is already running' (which is not true by the way) and then he tries to navigate to a page, but never reaches it as Chrome never (visible or invisible) opens.
Any one with the same problem?
Basically this is the code:
BrowserItems = CreateVariantArray(0, 2)
Set BrowserItems(0) = Browsers.Item("iexplore")
Set BrowserItems(1) = Browsers.Item("chrome")
Set BrowserItems(2) = Browsers.Item("firefox")
browserindex = VarArrayLowBound(BrowserItems, 1)
While browserIndex <= VarArrayHighBound(BrowserItems, 1)
Call BrowserItems(browserIndex).Run
'Opens the specified URL in a running instance of the specified browser.
Call Browsers.CurrentBrowser.Navigate(Project.variables.TestURL&"/dashboard")
log.message("browsed to Dashboard")
Call Sys.Browser.Page(Project.variables.TestURL&"/dashboard").wait
'Wait till page is existing
Do
aqutils.Delay(100)
Loop until Sys.Browser.Page(Project.variables.TestURL&"/dashboard").Exists
log.message("dashboard loaded")
' do stuff
Call Aliases.browser.BrowserWindow.Close(5000)
Wend