I want to make this line of code to wait for of 30 seconds if the intended window is not found
Dim win As TWindow Set win = Window(objname, tpAttachWait) 'how to increase this tpattachwait delay to 30 questions
If win.Exists Then
window_status = "N"
By default its waiting for 8 seconds i want to make it to wait for 30 sec ....
Any possible way ..... or i want solution for synchronizing between windows .. the same way QTP and winrunner does....
In Tp how can i do, script to wait until next page is loaded.... i tried with window events and screen events any suggestion ...
im testing web application... the big challenge before mine is synchronization between pages...
pleaz guys help me.....
x = 0
do until window("name",tpattachnowait).exists or x = 30
x = x + 1
thanks alias i think i can use Playback.Attachtimeout = 30 with out using tpattachwait flag
whats your suggestion
the reason for using tpAttachNoWait is that it ignores the AttachTimeOut Parameter and will not run-time error if the object does not exist when the line is executed.
ya that ok, but i want the code to jump to error handler if window fails ......
Alias... I really like the trick the you've proposed with the loop! It already addresses an issue for me... Thanks
If you always do what you've always done, you will always get what you've always got!