Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
synchronization issue...
#3
Not Solved
Or you can use the below procedure...

' First set the browser / window object to a variable.

Code:
Set SomeBrowser = Browser("name").Page("name")
Call ToWaitUntil(SomeBrowser)

Public Sub ToWaitUntil(SomeBrowser)
      Do
          Wait 1
      Loop Until SomeBrowser.Exist(1)
End Sub

' The problem with this procedure is that if for some reason the browser remains the same, then it will become an infinite loop.... also, you can use while instead of Until.
Reply


Messages In This Thread
synchronization issue... - by Freddy - 06-23-2008, 02:48 PM
RE: synchronization issue... - by blanchedsouza - 07-15-2008, 04:09 PM
RE: synchronization issue... - by niranjan - 07-15-2008, 08:14 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Object Synchronization as_srini 2 3,265 11-12-2011, 11:04 AM
Last Post: nistalaramesh

Forum Jump:


Users browsing this thread: 1 Guest(s)