aLorenzo wrote:What is the equivalent of the SyncOnText command in term of your structural commands?
That is a very good question, and the answer is that there is no direct equivalent in structural commands to the
Recall that SyncOnText scans the visible text of a phrase that you selected during a recording -- or a specific proposed visible text that you've edited into the script independent of recording -- hoping to find it in the current page. If it doesn't then, after waiting out the ReTry Interval (a value that you can set as a user), it tries again. Eventually the desired text is found, and playback continues. Otherwise, the upper limit for how long to wait for a page to download is tripped and playback goes on to the next command after an ERROR message.
The SyncOnText command uses a very quick algorithm to get all of the elements' visible text so it meets the criteria of having a very low overhead. The nearest equivalent command, IndexFindElement is much higher -- too high to be useful in a synchronization loop.
-- eValid Support