Forum Discussion
mjohnsen
14 years agoNew Contributor
I have added code to wait for the menu bar to be active. My application hangs until the loading is completed, so this works ok, but not fully. In short "blinks", my application will be active even though it is still loading, and go back to hanging. I have to repeat this code:
while (menuBar === null) {
menuBar = <myFwk>.CreateMenuBar();
}
There is a risk that this will not work, it is not a an elegant way of dealing with the issue. I am surprised TestComplete is not able to handle this in a safe way...