| || |
Catch Truncation in PopupList
Is there a way in Silk Test to find out that items shown in a popuplist are truncated?
Because in some cases if you do a get text from a popuplist it shows full text but if you look at it, popuplist is not wide enough to show the complete text so it looks truncated.
Thanks in Advance
Re: Catch Truncation in PopupList
For that you can use some math to figure it out. You can use GetRect to get the width of the object and then based on the width of the string in the list, you can raise an error if a string is longer than the display can handle.