Eclipse IDE Integration
The Squish IDE is a stand-alone IDE based on Eclipse. To integrate Squish into an previously installed Eclipse, install the Squish Eclipse Integration plugin. The Eclipse integration works with Eclipse 3.7 or later and requires that at least one scripting language editor is installed.
The Squish Eclipse integration plugin can be found in the Downloads section of Qt Customer Portal after choosing Squish as a product. The downloadable file (with the title
Squish IDE (Eclipse Integration)) is
$(version) must be 5.1.0 or higher. Download the file to your local disk. You do not need to unpack it.
To install the Squish Eclipse Integration Plugin in Eclipse:
- Select Help > Install New Software to open the Install dialog.
- Select Add to open the Add Repository dialog.
- In the Name field, enter a name, such as Squish Eclipse Integration.
- Select the Archive button to open a file chooser dialog, and locate the Squish Eclipse Integration
.zipfile you downloaded.
- Select the OK button (or the Open button, and so on, depending on the platform) in the file chooser.
- In the Add Repository dialog, select OK.
In the Install dialog, expand the entry for Squish Eclipse Integration to show all the available features. The most fundamental feature is called Squish UI. It provides basic Squish support and must be checked to enable using Squish within Eclipse. Also included is support for script editors. Select at least one of the editor support items.
Once you have selected the features you want, click the Next button and follow the dialog's instructions. For example, accept license agreements or acknowledge security warnings. Keep going until you can finally click the Finish button. During the process you may be prompted with a dialog informing you that the Squish integration is not signed. If you received the
.zip file from Qt Company, it is safe to install the features.
Once the features have been added Eclipse will prompt you to restart. Doing the restart is not necessary as you need to quit Eclipse completely now anyway.
After installing Squish features and exiting Eclipse, you need to modify the
eclipse.ini file. You can find it next to the Eclipse executable (on macOS in
Eclipse.app/Contents/Eclipse). It is a plain text file that you can edit with a text editor. Add the following line to
The line can be placed anywhere after the
-vmargs line, but it has to be kept on a line of its own. Usually it is best and easiest to just append the line to the end of the file.
eclipse.ini ensures that the Squish Video Player is working properly. It is used for replaying videos captured during the test execution. You can now restart Eclipse and finish setup.
The last step is to choose the Squish tools package that you want to use. This is the package that contains Squish's supporting command line tools, such as squishrunner and squishserver. These tools must be downloaded separately from Qt Customer Portal. Once you have downloaded and unzipped them, you can tell Eclipse where they are by clicking the Preferences > Squish menu option and choosing the directory where the Squish tools are located. For more information about installing the Squish tools, see Installation.
Once Eclipse knows where the Squish tools are, you are ready to use Eclipse as your test editing and running environment. The best way to start is to switch to the Test Management Perspective. This is done in the standard Eclipse way, by clicking Window > Show Perspective > Squish Test Management, for example. This makes Eclipse look and behave like the standalone Squish IDE and provides access to all the Squish-specific perspectives and views that are used for recording, editing, and running Squish tests. You can adapt Squish perspectives within Eclipse to suit your own preferences by adding or removing views, or you can add Squish views to your other perspectives.
The Squish perspectives and views inside Eclipse look and behave like those in Squish IDE.
© 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.