Micro Focus QTP (UFT) Forums
wait - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: wait (/Thread-wait)



wait - QAVA - 11-13-2012

Hi,

Instead of writing wait 2, what else can i write?

Thanks.


RE: wait - imzeeshan - 11-13-2012

You can use "Sync" or "WaitProperty".

Sync: Waits till page has loaded completely.
Syntax: Object.Sync

WaitProperty: Waits until the specified object property achieves the specified value or exceeds the specified timeout before continuing to the next step.
Syntax:
Code:
Object.WaitProperty (PropertyName, PropertyValue, [TimeOut])