CraigB
5 years agoContributor
Solved
How to have a test wait for a window to appear?
Hi
When starting up an application I need to wait for the login window to appear. And then, after that I need to wait for the main window. Etc. TestComplete offers a function that, from it's...
- 5 years ago
Question:
Is <Mapped window name> the window you're waiting for? If so... that's kind of what I was saying about the implementation of WaitWindow.
If this is the case, the better way of doing what you want is this.
Aliases.<TestedApp>.WaitAliasChild(<Mapped window name>, 30000)If you want to still use WaitWindow, you would need to know it's direct parent. So, the code would be
Aliases.<TestedApp>.<mapped window of parent object>.WaitWindow('*', <insert titel here>, -1, 30000)