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.
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.
Thanks for replying. A ticket has alredy been logged since few weeks with support. (Case #00153706)
Please share the solution with us when you and the Support Team find it.
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.