When testing Excel on Windows, sometimes TestComplete hangs before even launching Excel
Hey everyone!
I use TC and TE to test a proprietary plugin in Excel (WIN7 and WIN10, Office 2010, 2013, 2016)
I see that SOMETIMES (say 10% of the time), on WIN10, TC when launched just hangs before even getting to launch Excel (which is the very first thing it does in our test project).
Now, Task Manager, when this happens, doesn't show anything hoarding either memory or the CPU (no Antimalaware Service Executable suddenly hoarding CPU, we already took care of that), so at a glance it doesn't seem like a process somehow got in TC's way, resources wise.
And since it becomes non responsive, I can't debug (like check in which line of code it got stuck and take it from there).
Only way to recover is to kill TC in Task Manager, after which, upon relaunching and running again it works just fine.
Any of the top of your head suggestions? All the similar topics I've found here seem relevant to TC hanging AFTER the tested app has already been launched, not prior (anything prior seems to involve exceptions and crashes instead).
Since it's Windows 10, I'd suggest going to Tools | Options | Engines | General and turning off the option "Enable support for testing Windows Store applications". It's an educated guess but that particular option enables access to Store based applications which may be suspended in the background, potentially causing this problem. Disable that option, restart TestComplete and try again.