Using External Tools with the Squish IDE

Last edited on

Synopsis

The Squish IDE can launch external applications based on the selected file in the "Test Suites" view's "Test Case Resources" and "Test Suite Resources":

!screenshot with markers

This is done by associating an external application with a "file association" at...

Edit > Preferences > General > Content Types

...or with "content association" at...

Edit > Preferences > General > Editors > File Associations

Then, when launching the external application the Squish IDE passes the path to the selected file to it. This external application could, for example, be ones favorite text editor, spreadsheet tool, etc., depending on the type of file:

Also, the last selected entry of "Open With..." will become the default, which is then used when double clicking on files of the respective type.

Example for *.txt files and the external application "gedit" (GNOME Editor)

Adding "gedit" (GNOME Editor) as "editor" for the file type "*.txt":

Opening a file with the new "editor":

Example for *.xls files and the external application "LibreOffice Calc"

Adding"LibreOffice Calc" as "editor" for the file type "*.xls":

Opening a file with the new "editor":