My test has to wait until the text appears and click on it (text appears after submitting the request). ie., snychronisation. Right now I am coding my script with pause statement and letting it wait for a constant 6 sec. With this, even though the feild appears before 6 sec, my test waits. Is there any other way to do this? Just like inserting synchronisation points in winrunner, do TP has an utility?
Use a wait event. The help has examples
-Evil will always Triumph because good is dumb-
A wait event is what you are looking for, but keep in mind, that there is syncro built into a TP script automatically. Unlike winrunner where each Set statement has a second time out on it, TP's Attach statement will wait up until x seconds for the object to appear. The x is controlled by a setting called 'Attach Time Out' in the Playback options.