Forum Discussion
ArtemS
13 years agoSmartBear Alumni (Retired)
Hello Jono,
I can't seem to catch this with unexpected window handling in TC... only on the build server do I get the close/debug dialog.
What else can I do, is there a better way to catch this dialog on the build machine?
There seems to be an issue related to interaction of TestComplete and the Windows Error Reporting system (which shows the "Debug" or "Close Program" dialog you spoke about) under Windows7. I have reproduced this behavior and registered it in our database. We will investigate the issue and inform you about our results. Thank you for reporting it.
Question: Can I just run that waitprocess check a few times in order to catch multiple instances of this cleanup utility?
Yes. You just need to change the "if" condition to "while":
while (Sys["WaitProcess"]("CleanupUtility")["Exists"])
ExitButton.ClickButton();
This would close all instances of your cleanup utility.
Related Content
- 4 years agoLRuoc
- 11 years agoneha_sharma
- 7 years agoVarunawasthi
- 5 years agokaiiii
- 13 years agozdanov
Recent Discussions
- 2 days agoMW_Didata