Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dynamic wait in QTP
#4
Solved: 11 Years, 4 Months, 3 Weeks ago
Good. That is one of the way to use it. Which timer have you used ? Mercury.timers or timer ?

Always remember a While loop with the browser busy property will help you to get for the required time. skeletally like this,

Code:
i=0
a = Browser().getroproperty("busy")

While a=True
  wait 1
  i=i+1
loop Until a=False or i>30

I am pretty sure you will reply back saying "I dont want to use Wait". However your timer is only hoodwinking the wait. Timer is nothing but a delayed usage of wait Wink
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Reply


Messages In This Thread
Dynamic wait in QTP - by Hema - 10-07-2009, 05:08 PM
RE: Dynamic wait in QTP - by Saket - 10-07-2009, 05:13 PM
RE: Dynamic wait in QTP - by Hema - 10-07-2009, 06:47 PM
RE: Dynamic wait in QTP - by basanth27 - 10-07-2009, 07:24 PM
RE: Dynamic wait in QTP - by jsknight1969 - 10-07-2009, 08:18 PM
RE: Dynamic wait in QTP - by venkatbatchu - 10-15-2009, 05:07 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to identify dynamic webtable as unique in QTP? sudheendramurthy 4 18,653 02-23-2016, 06:16 PM
Last Post: vinod123
  What is the procedure to wait after select the webradio group.? Uma 2 3,998 09-29-2011, 02:07 AM
Last Post: Uma
  How to compare Dynamic PDF content via QTP. upadhyay40 0 3,362 12-10-2010, 03:16 PM
Last Post: upadhyay40

Forum Jump:


Users browsing this thread: 5 Guest(s)