Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Wait() function in QTP
#2
Solved: 11 Years, 4 Months, 4 Weeks ago
There are several ways you can do this.

If you are testing a Web application, then you can use the "Sync" option as follows:

Browser("xyz").Sync --> It will wait untill all the objects to the browser are loaded.

Or you can make use of "WaitProperty" method as follows:

Code:
Browser("").Page("").WebEdit("").WaitProperty "property","condition",timeout

Property--> It may be visible,disabled,value etc.
Condition-->It may be True,False or any specific value

Please try to explore Insert-->Synchronization Point option in QTP. You can make use of QTP Help file
Reply


Messages In This Thread
Wait() function in QTP - by galstar - 08-19-2010, 06:01 PM
RE: Wait() function in QTP - by PrabhatN - 08-19-2010, 06:20 PM
RE: Wait() function in QTP - by galstar - 08-19-2010, 06:29 PM
RE: Wait() function in QTP - by venkatbatchu - 08-19-2010, 09:10 PM
RE: Wait() function in QTP - by basanth27 - 08-24-2010, 08:06 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Calling a function in a Test Script from a function library anupam4j 3 6,180 06-26-2015, 12:31 AM
Last Post: babu123
  help with wait property function kp_usa 3 4,347 12-20-2012, 10:49 PM
Last Post: kp_usa
  wait QAVA 1 3,063 11-13-2012, 07:29 PM
Last Post: imzeeshan
  How to control WAIT time with STATIC variable? chong67 3 4,059 06-22-2012, 10:38 AM
Last Post: sshukla12
Exclamation Alternative for Wait Statement Veekay 2 8,619 03-20-2012, 07:13 PM
Last Post: swathi

Forum Jump:


Users browsing this thread: 2 Guest(s)