Ask a Question

Sys.Browser("chrome") works in Version 14 but not in Version 15

SOLVED
Drew7
New Contributor

Sys.Browser("chrome") works in Version 14 but not in Version 15

Recently converted from Testcomplet version 14 to Testcomplete version 15. When testing web applications we used Sys.Browser("chrome") to access and perform functions in Chrome. Since we have gone to Version 15, when I view the object browser, it displays Chrome as a process even though Firefox and IE continue to display as Browsers. Does anyone know how to make Chrome not a "process"?

1 ACCEPTED SOLUTION

Accepted Solutions
Drew7
New Contributor

Re: Sys.Browser("chrome") works in Version 14 but not in Version 15

The real solution was to complete remove Version 14 from your pc. After that verify tcCrHost.exe is running in task manager. This executable is the relation between TestComplete and Chrome's extension. Not all browsers require an extension, however Chrome does require the extension. 

View solution in original post

7 REPLIES 7
ebarbera
Staff

Re: Sys.Browser("chrome") works in Version 14 but not in Version 15

Hi @Drew7 - 

 

Could you send an image of what you are seeing in the object browser?

 

Thanks, 
Emma

Drew7
New Contributor

Re: Sys.Browser("chrome") works in Version 14 but not in Version 15

Absolutely: 

Drew7_0-1638561462287.png

 

Lee_M
Community Leader

Re: Sys.Browser("chrome") works in Version 14 but not in Version 15

TC 15 registers my browsers correctly (Edge and Chrome)

 

I notice that the browser loads up as a proccess and then correctly regonises as a browser after a couple of seconds, possibly this is not happening on your system.

Do you always get this ?

 

Test process:

Load TC with NO browser and check navigate to Object browser

  • Load a browser and watch the new process start and hopefully change type

 

Here are my system details that function as expected

Lee_M_3-1638781475828.png

 

Lee_M_2-1638781176680.png

Lee_M_1-1638781133181.pngLee_M_4-1638782352856.png

 

Lee_M_0-1638781093444.png

 

jkrolczy
Frequent Contributor

Re: Sys.Browser("chrome") works in Version 14 but not in Version 15

Check your Project: Web testing parameters

These can change per a Major version upgrade by their default settings

versus what your current project was using on TC14.

 

 

 

 

 

JamesK
ebarbera
Staff

Re: Sys.Browser("chrome") works in Version 14 but not in Version 15

Hi @Drew7 - 

Thanks for the image - is this affecting your testing?

 

Also - have you tried launching the browser from TestComplete to see if this changes how its registered as opposed to launching chrome manually?

 

Let me know, 


Emma

 

sonya_m
Community Manager

Re: Sys.Browser("chrome") works in Version 14 but not in Version 15

Great suggestions, Community! Thanks to all participants in this thread!

 

Hi @Drew7, please mark the best answer as a Solution to help people quickly find an answer in the future. Thank you! 


Sonya Mihaljova
Community and Education Specialist

Drew7
New Contributor

Re: Sys.Browser("chrome") works in Version 14 but not in Version 15

The real solution was to complete remove Version 14 from your pc. After that verify tcCrHost.exe is running in task manager. This executable is the relation between TestComplete and Chrome's extension. Not all browsers require an extension, however Chrome does require the extension. 

View solution in original post

cancel
Showing results for 
Search instead for 
Did you mean: