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 (microfocus.com)
WaitUntil and WaitUntilExists
Interface TestObject (microfocus.com)
VerifyImageExists and VerifyImageMatches.
ImageUtils code samples (Java SDK) (microfocus.com)
Full article: https://portal.microfocus.com/s/article/KM000010062