Squish tip of the week: How to validate Qt app layouts without screenshots
Did you know you can verify the visual layout of a Qt application without relying on fragile screenshot and pixel comparisons?
Testing an application means not only verifying itís functionality, but also itís visual layout.
Combining scripting logic with the minimumSizeHint property in Qt widgets, you can compare the minimum required size to the rendered Qt widget size in the application, determining if the layout is acceptable.
To learn more, read the article written by one of our leading Squish and Automated Testing experts, Tomasz Pawlowski: Layout validation for text truncation in Qt applications - froglogic Knowledge Base
Tags for this Thread