title: UFT 12.0 unable to synchronize an object using .Exists property
body: <p>from last few days i am trying to synchronize two objects that are dependent on each other for their execution. </p>
  
  <p>EX: Object B should execute only after the completion of object A.</p>
  
  <p>Now, in my scenario, the Object A is taking some time to execute, for this I need to synchronize the two objects.</p>
  
  <p>The Completion of object will result in an image which will tell the user that the process is completed successfully or failed.</p>
  
  <p>Below is my code: </p>
  
  <pre><code>sLoop = True
  
  Do while sLoop
  
  If (Browser("ABC").Page("PQR").Frame("XYZ").Image("BatchSuccess").Exist) then
      msgbox "in if"
      sLoop = false
  Else
      msgbox "in else"
      sLoop = true
  End If
  Loop
  </code></pre>
  
  <p>Other Activities... </p>
  
  <p>My IF condition is getting executed before it gets satisfied.
  there is an image of ongoing process which the UFT is considering as the successful...</p>
  
  <p>Note: there is also an image while executing the object. (observation, UFT is not able to distinguish between these 2 images)</p>