waiting for a window to open
How do you program TP so that it waits for a new window to open up before performing an action like clicking on a button on the new window.
Right now, the new window takes more time to open up so TP is unable to find the button and throws error.
Re: waiting for a window to open
1) Turn the option for Playback-Attach Time out up from the default of 10.
2) put a basic SLEEP statment before the line (i.e. Sleep 10)
3) do a loop until the window is present.
do until Window("name",tpAttachNoWait).Exists or x = 100
x = x + 1