Knowledge Doc: UFT Developer Alternatives to .Sync Method


Sync Method won't work on pages where the attributes for the object properties get changed during runtime and not current browser is reloaded, below a few alternatives to synchronize properly the script.

Refresh Method before completing the .Sync 
By using this method, the tree hierarchy of the application under test gets updated(refreshed) along with all the windows and child objects present in the application. I noted that the browser itself does not get refreshed but the Page changes in the background while it is “Loading”.
Interface Browser (

WaitUntil and WaitUntilExists
Interface TestObject (

VerifyImageExists and VerifyImageMatches.
ImageUtils code samples (Java SDK) (

Full article:


Knowledge Docs
Comment List