2.1. Version 6.4.2

Table of Contents

2.1.1. General
2.1.2. Scripting
2.1.3. Android-specific
2.1.4. Web-specific
2.1.5. Qt-specific
2.1.6. Java™-specific
2.1.7. macOS-specific (Cocoa/Carbon edition)
2.1.8. Windows (native)-specific
2.1.9. Source Packages

Squish 6.4.2 is a maintenance release containing bugfixes for all editions of the product. See the following sections for a detailed list of all changes.

2.1.1. General

  • Fixed an issue due to which calling attachToApplication would sometimes fail on Windows systems.

  • Stability improvements for squishserver.

2.1.2. Scripting

  • Scripts using the squishtest Python module can now use the XML3 report format.

  • Fixed an issue in the squishtest Python module which caused screenshots taken in response to test failures not to get saved to disk.

  • Fixed memory leak when editing BDD features for JavaScript scripts.

  • The JavaScript source() function - when invoked inside an imported script module - will evaluate code within that module's scope. As a result, functions and variables will no longer leak to the global scope. We advise to port all source calls to import statements.

  • The nativeType function now permits typing just modifier keys when executing tests on macOS, as in nativeType("<Alt>").

  • Fixed IDE crash when using circular imports in Python.

2.1.3. Android-specific

  • Support added for Android-9.0.

  • The Object Snapshot functionality now works as expected when dealing with applications embedding WebView controls.

2.1.4. Web-specific

  • Fixed a problem shutting down Chrome and Firefox processes leading to error messages shown in the server log about QProcess deleted while process is still running.

  • Fixed a problem causing the webhook process to terminate unexpectedly when typing text into an input field.

  • Fixed a problem accessing the text of items in some SmartGWT trees

2.1.5. Qt-specific

  • Fixed geometry and readiness calculation for items that have a non-zero height and width but return an empty bounding rectangle, most notably Text and TextInput items without any text set.

  • Fixed type not throwing an error on invalid special key sequences such as <Contrl>.

  • The type now accepts the modifier Ctrl as documented; the old term Control is still accepted for backwards compatibility.

  • Fixed an issue causing the AUT to abort unexpectedly when enabling qWarning() messages to be fatal errors.

  • Added QImage/QPixmap API in testscripts for Qt 5.11 and later.

  • Fixed an issue causing interactions with partially off-screen QGraphicsItem objects not to fail.

  • Squish now shows the Qt version and configuration when hooking.

2.1.6. Java™-specific

  • Resolved an issue causing the chooseDirectory and chooseFile functions to get stuck when interacting with JavaFx controls embedded into SWT.

  • Fixed Squish accessing JavaFx-web module for Java 9 and later.

  • Fixed object snapshot when having a WebView in JavaFx or Browser in SWT

2.1.7. macOS-specific (Cocoa/Carbon edition)

  • Added support for custom views in the title bar of a window.

2.1.8. Windows (native)-specific

  • Fixed tests ending prematurely in some cases when interacting with plain Win32 (e.g. MFC) toolbar items.

  • Improved reliability of recording user interactions, especially interactions done right after starting the application.

  • Fixed a problem causing Squish not to recognize any HTML elements in IE controls embedded into native Windows applications.

2.1.9. Source Packages

  • Running build install will now also install .pdb files when doing debug builds on Windows.

  • Added support for building with Qt 5.12 (except for Qt on Android).