You can use image synchronization elements in a test to facilitate the test replay in applications that do not create or modify many windows, but update the contents of the window regularly.
The contents of an image are processed as a value that is either a calculated bitmap hashcode or a text string obtained by optical character recognition. During test execution, the test waits for the contents of a screen area to match the expected image synchronization value before proceeding with the test. If the value is not matched during the synchronization period, an image synchronization timeout is produced in the test log.
You can also add verification points to image synchronizations in the test editor. The verification point passes if the synchronization succeeds and fails if a timeout occurs.
You insert image synchronizations during test recording.
You can click Extract text several times to make sure that the text recognition results are repeatable. If the recognized text differs, click Options to change the Zoom factor or other optical character recognition settings. You should not manually correct the recognized text.
You can click Add to specify multiple expected text strings, Use regular expression to specify a text string as a regular expression, or Factorize to automatically generate a regular expression from multiple expected text strings.