2.38. Version 4.0.1

Table of Contents

2.38.1. General
2.38.2. New IDE
2.38.3. Qt-specific
2.38.4. Java-specific
2.38.5. Web-specific
2.38.6. Native Windows (new edition)
2.38.7. Mac-specific (Cocoa/Carbon edition)
2.38.8. iPhone/iPad-specific
2.38.9. Tk-specific
2.38.10. Source Builds

2.38.1. General

  • Improved the reliability of calls to the dragAndDrop function on Windows machines.

  • Deal with the Tcl "wide" integer type. Fixed overload errors when, for example, the [seek] command is being used.

  • Properly contain internal lookup errors that may occur during calls to the object.exists function.

  • Invoking squishrunner --testsuite now correctly prints all the test scripts' stderr output to stderr instead of merging the scripts' stderr and stdout output all into stdout. This restores the Squish 3.4.x behavior.

  • No longer produce a spurious "Connection closed" error which sometimes occurred on application exit—for example, if the application was quit inside an event handler.

  • Fixed some problems that could occur when running squishrunner --testsuite on the command line where the test scripts output lots of text to stdout.

2.38.2. New IDE

  • Fixed a bug where the Squish IDE could hang during startup.

  • Prevented native Windows dialogs from randomly appearing by upgrading to a newer Java Runtime environment.

  • Fixed high CPU consumption in the Script Console view (Section 8.2.3) after terminating script execution.

  • Recording of new TSL scripts is not supported so this language option is no longer shown.

  • Prevented a spurious exception from occurring when using the Terminate button to stop execution while halted at a breakpoint.

  • Prevented a spurious exception from occurring when filtering out all the results from the Test Results view (Section 8.2.17).

  • Prevented a spurious exception that could occur when opening a file in an editor other than one of the default script editors.

  • Stopped flickering when updating the text shown in the Control Bar Window (Section 8.1.3).

  • Gracefully handle the opening of a test suite that has the same name as an existing test suite.

  • Fixed a problem with the Launch AUT action (Section 8.1.1.22) that could occur when the editor is maximized.

  • Prevented a spurious exception that could occur when quickly toggling a property checkbox in the Verification Point Creator view (Section 8.2.21).

  • Disable the Launch AUT action (Section 8.1.1.22), the Run Test Case action (Section 8.1.1.55), and the Record Test Case action (Section 8.1.1.48) when they don't make sense—for example, when a test case has started.

  • Drastically improved the performance of the Test Results view (Section 8.2.17) by reducing the number of screen refreshes.

  • Automatically open the correct Console view (Section 8.2.3) when stopping at a breakpoint.

  • Improved the error message that appears when an attempt is made to select an invalid "Squish Tools" package.

  • Fixed a regression where the Pref­er­ences dialog (Section 8.3.15)'s Playback preferences page was hidden: it is now visible. This page is used to configure the Snooze Factor and Cursor Animation settings.

  • When a file is deleted any editors that are showing the file's contents are now correctly closed.

  • Fixed the updating of failed image verification points with new expected results.

  • The Delete Test Suite action (Section 8.1.1.14) is now disabled when the AUT is running.

  • Gracefully handle the absence of a suite settings file (suite.conf).

  • The order of test cases is now correctly maintained in the suite.conf file even when a test case is renamed.

  • Any changes made through the Squish IDE that affect the suite.conf file now result in the file being updated immediately. This ensures that if the squishrunner accesses the suite.conf file after a change has been made in the Squish IDE, the squishrunner gets the most up to date data.

  • Fixed results produced by the Check Object Existence action (Section 8.1.1.3).

2.38.3. Qt-specific

  • Wildcard matches can now be used on QGraphicsItem objects' lineColor and fillColor properties.

  • Modifier key presses are now correctly simulated when calling the dragItemBy function.

  • Added a new editable property to QModelIndex objects.

  • Added mouseClick overloads for Q3ListView and Q3TableItem objects. These new overloads don't require mouse button or keyboard modifier arguments.

  • Added a mouseClick overload for clicking web objects inside QtWebKit widgets. This overload doesn't require mouse button or keyboard modifier arguments.

  • Fixed the recording and replay of clicks on QComboBox items that have no text.

  • Improved the performance of looking up items in Qt widgets.

  • Fixed the start*aut (Section 7.4.7) tool's --verbose option

  • Fixed out-of-bounds checking for rows and columns.

  • The object cache is now correctly invalidated when Squish detects that a cached QObject got deleted.

  • Improved the recognition of web elements inside QtWebKit widgets in cases where the widget's HTML document is reloaded.

  • Properties of type QUrl belonging to QObjects are now automatically exposed.

  • Improved the error message that is output when the lookup of a QTableView's cell failed for given a row and column.

  • Improved the reliability of screenshot generation for Qt widgets; also fixed a bug when calling the doubleClickItem function on null objects.

2.38.4. Java-specific

  • Fixed the recording of canceling a SWT ColorDialog.

  • Fixed a rare java.lang.ClassCastException when clicking items in Java AWT GUIs.

  • Fixed Windows error R6034 when trying to launch a Java application with a 64-bit JRE installed.

2.38.5. Web-specific

  • Fixed problems which could occur when running tests with Firefox 3.6.

  • Fixed problems which could occur when calling the closeConfirm and closePrompt functions in test scripts.

  • Improved the recording of clicks on Java applets in web pages.

2.38.6. Native Windows (new edition)

  • Fixed the recording of tests on Windows applications which temporarily close all of their windows.

  • Fixed the recording of mouse clicks on native Windows applications in cases where the object under the mouse cursor changes between the mouse button press and mouse button release.

  • Greatly improved the support for interacting with the Windows system tray.

  • Actions on disabled toolbar items are (correctly) no longer recorded.

2.38.7. Mac-specific (Cocoa/Carbon edition)

  • Fixed synchronization problems which could occur when calling the type function and which caused the script to play back before all the keyboard events were processed.

2.38.8. iPhone/iPad-specific

  • Added support for iOS 4 with the iPhone simulator. Note that separate packages are needed for iPhone OS 3.x and for iOS 4.

  • Support hooking into applications that have an executable file name that is different from the .app name.

  • Added a new command line option --xcode-root=<directory> to the iphonelauncher tool in order to support Xcode installations in non-default locations.

  • Fixed a bug in the hook used to test on the iPhone device itself.

2.38.9. Tk-specific

  • Fixed clicks on iwidgets TabNotebook objects.

2.38.10. Source Builds

  • Perform 32-bit builds on macOS unless the --enable-64bit option is passed to configure.