Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Alternative for Wait Statement
#2
Solved: 10 Years, 9 Months, 2 Weeks ago
use waitproperty method.
This method is useful for test run synchronization. Unlike the Exist ro wait methods, the WaitProperty method enables you to synchronize the test run based on a specific object property. For example, you can instruct QuickTest to wait for a particular string to appear in a static text control:
' Wait up to 30 seconds for the string "Ready" to appear in the "Status" text control.
Window("Test").Static("Status:").WaitProperty "text", "Ready", 30000
Reply


Messages In This Thread
Alternative for Wait Statement - by Veekay - 03-20-2012, 05:57 PM
RE: Alternative for Wait Statement - by ravi.gajul - 03-20-2012, 06:26 PM
RE: Alternative for Wait Statement - by swathi - 03-20-2012, 07:13 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  help with wait property function kp_usa 3 4,001 12-20-2012, 10:49 PM
Last Post: kp_usa
  wait QAVA 1 2,793 11-13-2012, 07:29 PM
Last Post: imzeeshan
  How to control WAIT time with STATIC variable? chong67 3 3,837 06-22-2012, 10:38 AM
Last Post: sshukla12
  Verifying the value exists and if not, wait up to 5min HeZma 3 3,874 02-25-2012, 12:21 PM
Last Post: rajpes
  How to Handle Browser page wait In Firefox QTP V11. UFTEnthusiast 0 3,471 05-30-2011, 05:25 PM
Last Post: UFTEnthusiast

Forum Jump:


Users browsing this thread: 1 Guest(s)