Forum Discussion

djvakarjoshi1's avatar
djvakarjoshi1
Occasional Contributor
6 years ago
Solved

Launching browser

Hi,

 

I am trying to open chrome using the following code:

Browsers.Item(btchrome).Run(LoginURL);

Sys.Browser().BrowserWindow(0).Maximize();

 

But this throws exception as Error Undefined. May I know what has to be done in this.

  • tristaanogre's avatar
    tristaanogre
    6 years ago

    Two questions:

     

    1) What version of Chrome are you running?

    2) What version of TestComplete are you running?

    If Chrome has updated recently, you may be running a version of Chrome that needs a patch for TC.  Currently, there are patches available for Chrome 79 (the latest version) for TC 14.20 and 14.30.