Checking to see if a web window exists
I'm writing a script to test a web based application and QTP is sometimes trying to click a button before the window which contains the button is displayed. I can put a wait() statement in and it fixes the problem but I'm looking for a more robust way for QTP to check if a window exists. I've tried using statements like...while NOT(window_name.Exists()) but I'm having no luck. Does anyone have any ideas?
Re: Checking to see if a web window exists
You can use waitproperty. Or you can also increase the timeout time.