Micro Focus QTP (UFT) Forums
How to use sleep function - 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: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: How to use sleep function (/Thread-How-to-use-sleep-function)



How to use sleep function - srivania - 08-06-2008

Hello,

Can any one please tell me how to use the sleep (VB function) in QTP...

Thanks in advance


RE: How to use sleep function - kishoreinchennai - 08-06-2008

Interesting I am afraid we cannot The Simple sleep(1000) dont work in QTP
Possible solutuions:
wait (10)

If you are still particular in using sleep :-) windows shell object has a sleep method you can use it.


RE: How to use sleep function - Rekha - 08-14-2008

object.Sleep(int Time) will work