Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Any replacement to Wait()
#4
Solved: 11 Years, 4 Months ago
Hi Srini,

You could use "WaitProperty" method too.

It Waits until the specified object property achieves the specified value or exceeds the specified timeout before continuing to the next step.

Syntax:
object.WaitProperty (PropertyName, PropertyValue, [TimeOut in millisec])

Examples:
Code:
VbWindow("FRMDI General").WaitProperty("Text", "FRMDI General", 10000)
VbWindow("FRMDI General").WaitProperty("enabled",True,10000)

Try it out & see , It would solve your problem easily Smile
Reply


Messages In This Thread
Any replacement to Wait() - by srini07 - 11-10-2009, 11:58 PM
RE: Any replacement to Wait() - by jsknight1969 - 11-11-2009, 03:34 AM
RE: Any replacement to Wait() - by srini07 - 11-11-2009, 03:37 AM
RE: Any replacement to Wait() - by sreekanth chilam - 11-11-2009, 01:43 PM
RE: Any replacement to Wait() - by Tarik Sheth - 11-11-2009, 04:34 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  help with wait property function kp_usa 3 4,303 12-20-2012, 10:49 PM
Last Post: kp_usa
  wait QAVA 1 3,014 11-13-2012, 07:29 PM
Last Post: imzeeshan
  How to control WAIT time with STATIC variable? chong67 3 3,987 06-22-2012, 10:38 AM
Last Post: sshukla12
Exclamation Alternative for Wait Statement Veekay 2 8,562 03-20-2012, 07:13 PM
Last Post: swathi
  Verifying the value exists and if not, wait up to 5min HeZma 3 4,060 02-25-2012, 12:21 PM
Last Post: rajpes

Forum Jump:


Users browsing this thread: 1 Guest(s)