Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Delay Time in QTP
#5
Solved: 10 Years, 9 Months, 4 Weeks ago
A better way is to wait for the object, with a time out (say 10 seconds) this way you can handle failures too and variations between machines.

(this is psudo code while loop is probably better)

Code:
continue = false
for x = 1 to 10
  if (object exists) then
    continue = true
    x = 10
  endif
  wait(1000)
next
if continue <> true then (fail with approperate error)
Reply


Messages In This Thread
Delay Time in QTP - by kamalakannan_anandan - 05-26-2011, 03:12 PM
RE: Delay Time in QTP - by vIns - 05-26-2011, 03:30 PM
RE: Delay Time in QTP - by kamalakannan_anandan - 05-26-2011, 03:45 PM
RE: Delay Time in QTP - by Skepsis - 06-13-2011, 03:31 AM
RE: Delay Time in QTP - by Palanimurugana - 05-26-2011, 03:32 PM
RE: Delay Time in QTP - by tbien - 07-04-2011, 11:37 AM
RE: Delay Time in QTP - by rajpes - 07-04-2011, 11:48 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Time Delay issue with Exist mv8167 11 24,075 06-19-2017, 02:56 PM
Last Post: grosorg
  Delay between keystrokes Alobarb 0 2,575 01-13-2012, 11:48 PM
Last Post: Alobarb

Forum Jump:


Users browsing this thread: 1 Guest(s)