Hello,
I would like to answer to the comment by leandropoblet.
I think that resolving this issue by pausing script execution is not the best solution as it won't work when you run nightly tests. If you are facing this situation, a better approach is to insert logic that will make sure that the application window is maximized to your test.
If the fact that the application is not maximized after it is started is an issue, I still do not see a reason to pause the test execution. This seems to be a bug and the test should be halted until the bug is resolved. Or you can handle this situation in your test, register it somehow and then just maximize the application window to continue test execution.
Dmitry Nikolaev
TestComplete Customer Care Team Lead