Qt GUI test framework preview available for download
Mar 10, 2004 — by LinuxDevices Staff — from the LinuxDevices Archive — viewsFroglogic is offering previews of Squish 1.1, expected to ship “in about one month.” Squish is a cross-platform automated GUI testing framework for applications written using Trolltech's Qt GUI toolkit. Squish 1.1 adds Python support, a “Squish Spy” for object properties and methods inspection, a test script debugger, and automatic insertion of test verification points.
Froglogic describes new features as follows:
- Python support — Test scripts can be written and recorded in Python, as well as in Tcl. “We conducted a survey among Squish's customers. After Tcl, Python was by far the most popular [scripting language],” said Harri Porten, froglogic Director of Marketing.
- Squish Spy — Allows Squish to hook up to a running application to inspect its objects properties and methods by either clicking on objects in the application or by navigating the object tree view. The already existing hook-up mechanism of Squish is used, meaning the Squish Spy is also non-intrusive and doesn't require any modifications to the application.
- Test script debugger — Instead of just executing a test case, it can be executed in the debugger now as well. This way break points can be set, and the user can step through test scripts. This opens up many possibilities for the future like allowing to execute a test until a break point and recording from there.
- Automatic insertion of test verification points — The combination of the Squish Spy and the debugger are the foundation of this new feature. By halting the test script at a specified point and choosing objects and properties in the running application, it is possible to insert test verification points into the test script via the Squish IDE without having to write the code manually.
Other smaller improvements include:
- Basic ActiveX support: It is possible to send key and mouse events to ActiveX components embedded in Qt applications via QActiveX.
- Better control over the squishserver (–stop command)
- Additional event compression heuristics have been implemented
- Usability improvements in the Squish IDE
- Support for 64 bit and FreeBSD platforms
- All test result logs contain file and line number information
- Better error messages
“The direction and new features of Squish 1.1 have been highly influenced by our customers.” said Reginald Stadlbauer, froglogic Director of Development.
The final version of Squish 1.1 is expected to be released in about one month, but a technology preview is available for download now from the Froglogic Website.
This article was originally published on LinuxDevices.com and has been donated to the open source community by QuinStreet Inc. Please visit LinuxToday.com for up-to-date news and articles about Linux and open source.