Forum Discussion
TanyaYatskovska
Alumni
12 years agoHi Leandro,
You can try playing with the OCR feature. The idea is that you can interpret your button as an image on which TestComplete identifies the written text. Please refer to the "Using Optical Character Recognition - Overview" article for details.
Another idea is to use Region Checkpoints. This approach is more reliable as compared to the previous one. However, it requires much more time to prepare data for the test. You will need to create checkpoints for each button where the entire text is written. During the test, you can compare the actual/displayed image of the button with the stored one. If they are different, the text was truncated.