Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Alternative for wait statement.
#2
Solved: 12 Years, 10 Months, 3 Weeks ago
I don't know if this works for browsers, but this is what I do on the clients. I would something like.

Code:
For i = 1 to 20
if Browser("QA SOL Portal > Home").Page("User Accounts_4").Exist(0)=True Then
Exit For
else
Wait 1
End If

So once the page is loaded it will stop the wait.
Reply


Messages In This Thread
Alternative for wait statement. - by adpbinu - 01-30-2010, 12:53 AM
RE: Alternative for wait statement. - by rdemers25 - 01-30-2010, 12:57 AM
RE: Alternative for wait statement. - by adpbinu - 02-05-2010, 01:33 AM

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

Forum Jump:


Users browsing this thread: 1 Guest(s)