Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to use sleep function
#1
Solved: 11 Years, 3 Months ago
Hello,

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

Thanks in advance
Reply
#2
Solved: 11 Years, 3 Months ago
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.
Reply
#3
Solved: 11 Years, 3 Months ago
object.Sleep(int Time) will work
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Calling a Function in Function Library when function is defined in an Action jitenderkkr 0 2,926 11-27-2014, 12:53 PM
Last Post: jitenderkkr
  How can I fetch server time using function Now or any other function? blanchedsouza 2 5,074 11-07-2009, 08:34 PM
Last Post: Ankur
  QTP Going To Sleep While Running Test jaxdlp 2 3,725 03-12-2008, 11:19 AM
Last Post: Ankur

Forum Jump:


Users browsing this thread: 1 Guest(s)