Verifying static text scaling and fit to boundaries
We are currently using Silk to validate the correct fit of UI elements within the window boundaries of a non-web based Win9x application. This type of validation is useful for verifying that the bounding rectangles of all controls, bitmaps, or text elements fit within the confines of a parent window or dialog when the Font Size property (Small or Large Fonts) has been changed in the Windows Display Control Panel.
I would like to extend this capability to include verifying that the text in Static Text boxes, PushButtons, CheckBoxes, etc. is correctly scaled up/down for the selected Font Size setting, and that the text fits within the bounding rectangle of the control it is associated with. This would also be useful for validating the "fit" of text to controls when an application is localized (think German).
Silk does not appear to provide support for determining the font scaling of text, or the text "fit" to a control's bounding rect. Any suggestions on how to obtain this information (Win API calls, external tools, etc.) is greatly appreciated.
Sr. Software Test Automation Engineer
Home Networking Operations
Re: Verifying static text scaling and fit to boundaries
I think I read something about that problem on the Compuware site (QARun is the product). This tool is able to check font and size of text. Try this link: http://www.compuware.com/products/au...ucts/qarun.htm