cancel
Showing results for 
Search instead for 
Did you mean: 

Suppress 'The Browser is already running' warning

SOLVED
Highlighted
New Contributor

Suppress 'The Browser is already running' warning

I have a script that will always reuse the already open instance of Chrome, so whenever my script kicks off and navigates to the first page specified in my script, I get a 'Warning, the browser is already running' message. I can create a routine that checks for open browsers and closes them first, but I specifically DO want to use the already running instance of Chrome.

 

Is there anyway to supress this warning, or alternatively turn off logging until after that step has occured? I'm using VBA as my scripting language.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Hero

Re: Suppress 'The Browser is already running' warning

Hi,

 

It is possible to disable logging as well as to suppress posting some message to the test log.

But why not to check if the browser is running and use it if it is?

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================

View solution in original post

2 REPLIES 2
Highlighted
Community Hero

Re: Suppress 'The Browser is already running' warning

Hi,

 

It is possible to disable logging as well as to suppress posting some message to the test log.

But why not to check if the browser is running and use it if it is?

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================

View solution in original post

Highlighted
New Contributor

Re: Suppress 'The Browser is already running' warning

Thanks.

 

Solved this by adding in a browser is running check and if so using .Navigate instead of .Run. 

New Here?
Join us and watch the welcome video:
Announcements
Join TechCorner Challenge!
Want a fun and easy way to learn TestComplete? Try solving weekly TechCorner challenges and get into the Leaderboard!

Challenge Status

Changing options from outside of TestComplete

Participate!

How to execute remote test and obtain results via Test Runner REST API

Participate!

Comparing content of HTML table with Excel file data

Participate!

Compare HTML table with Excel file and correct data in the file

Participate!
Top Kudoed Authors