cancel
Showing results for 
Search instead for 
Did you mean: 

Chrome v48 Alert message not being detected by OnOverlappingWindow event

Highlighted
Contributor

Chrome v48 Alert message not being detected by OnOverlappingWindow event

Hi,

 

In our web application, we get browser alert messages on multiple events which cannot be predicted in advance (and many times are unwanted). To smooth our execution, the 'OnOverlappingWindow' setting was set to dismiss the dialog and move on with the script execution. This was working fine till v10.3

 

On upgrade to v11.2 and Chrome updated to v48, the OnOverlappingWindow event stopped detecting browser alert messages. Attached is a sample TC project illustrating the problem. It runs the event on IE which detects a browser alert window, then with Chrome, which does not with the same test.

 

The fun part is, I have asked some other folks to run the same project on TC v11.2 & Chrome v48, its running fine with them, and with SmartBear Tech support as well!

 

The only difference I can see is we are running our project on a VM, others who have run the sample project did it on a host machine. Other settings like TC settings, Chrome settings we have gone through all  of them one by one, uninstalled TC & Chrome and reinstalled twice to ensure the TC plug in is installed correctly, still no luck.

 

Any suggestions..

4 REPLIES 4
Community Manager

Re: Chrome v48 Alert message not being detected by OnOverlappingWindow event

Hi Aalikhalid,

 

Thanks for your project. Could you please refer this behavior to our Support Team? I think that some investigation from our side can be required here.

Thanks in advance.

---------
Tanya Gorbunova
SmartBear Community Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓
Contributor

Re: Chrome v48 Alert message not being detected by OnOverlappingWindow event

Tanya,

 

Thanks for replying. A ticket has alredy been logged since few weeks with support. (Case #00153706)

 

-Ali

Community Manager

Re: Chrome v48 Alert message not being detected by OnOverlappingWindow event

Thanks, Ali.

Please share the solution with us when you and the Support Team find it.

---------
Tanya Gorbunova
SmartBear Community Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓
Contributor

Re: Chrome v48 Alert message not being detected by OnOverlappingWindow event

Found a temporary solution:

 

After discussing with different groups and experiementing it turns out 'Chrome running on Windows 7 hosted on a VM' creates windowless alerts which give trouble to TestComplete.

 

Tested the sample project on windows 8 hosted on a VM, worked perfectly, also on Windows server 2012 hosted on a VM as well.

 

Therefore folks wanting to use the 'OnUnexpectedWindow' event to dismiss browser dialogs on chrome can avoid windows 7 on a VM!

 

The matter has been taken up to chrome developers as well. Not sure when we will get a reply / fix.

 

 

New Here?
Join us and watch the welcome video:
API Testing Mistake #2
APITestingMistake#2
Top Kudoed Authors