sameerjade
8 years agoFrequent Contributor
Want to wait until a specific window appears; getting an error
Hello All,
I am trying to use the WaitWindow method to delay my script infinitely until a window displays. I am doing an update process in my application. When the update completes, I get a window which says 'update complete'. I want to wait till this window appears.
My script says:
var dlg = Aliases.update_complete_window_object_name;
dlg.WaitWindow("abc", "Update Complete", -1, -1);
The problem is that my script is failing because it is looking for this window even before my update is finished and hence fails to find the 'update complete' window. How can I make it not fail in this case and just wait for the window to appear?
Thank you,
Sameer