A progress dialog appears after selecting the 'OK' button. When the progress is complete, the progress dialog disappears and then a main form is focused
I tried to use the .waitWindow to launch the main form when the progress is complete. But it does not work. So I have to use 'Delay(10000)' to wait the progress dialog complete after selecting the OK button.
Are there other ways to wait for the completion of the progress rather than using the delay(10000)?