Version 6.3 Beta

Squish 6.3 Beta is a preview release showcasing the addition of an Image Search extension and other new features applicable to all editions of the product.

As a supplement to the main property-based object identification, elements can be located on the screen based on their visual appearance. This enables interactions with custom elements, controls from unknown toolkits, and controls from outside of the main application.

The Squish IDE now features the insertion of user interactions like mouseClick() and tapObject() based on images. The search is performed through a newly added ScreenRectangle waitForImage(imageFile, [parameterMap], [searchRegion]) function. The algorithm employed is still quite simple, but future versions will provide more sophisticated look-up options that can deal with color and resolution differences. See How to Do Image-Based Testing for an example automating a chess application.

Once the extension leaves its beta state it will require an additional license. At that point a time-limited free upgrade option will be available for all existing customers.

Comparison of Text and XML Files

The new functions Boolean test.compareTextFiles(expectedFilePath, actualFilePath) and Boolean test.compareXMLFiles(expectedFilePath, actualFilePath) compare the content of two text and XML files, respectively. Instead of performing a plain, byte-by-byte comparison, possible differences are reported for individual lines and elements. Several configuration options exist to allow for acceptable differences in content and formatting.

© 2023 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners.
The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.
Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.