Squish uses some .ini files to control some
aspects of the command line tools and the IDE's behavior. In general
these files should not be edited;
instead use the Squish IDE and Environment Variables (Section 15.5) to change any
settings.
The .ini files include
ide.ini, paths.ini, and
server.ini. These files are stored in the
%APPDATA%\froglogic\Squish\ver1 folder on Windows
and the $HOME/.squish/ver1 directory on Unix-like
systems such as Linux. In addition, for Squish for Qt editions there
is a file called qtwrapper.ini which is stored in
the SQUISHDIR/etc directory.
![]() | Squish for Qt for Windows-specific |
|---|---|
If you are testing Qt applications on Windows that are not deployed or
tested on other platforms you can force Squish to use native Windows
dialogs rather than Qt dialogs (e.g., for opening files and for
printing). To do this edit the [General] UseNativeDialogs = 1 With this in place, Squish will use native dialogs when running Qt applications on Windows. Note that this should not be done for applications that are to be tested cross-platform with the same Squish tests. |
The paths.ini file is used to store various
paths—for example, where global scripts are stored. In the case of
global scripts (which are stored under key
“GlobalScriptDirs”), when using the findFile function to find a script file to pass to
the source function, findFile first looks in the test case's scripts
directory, then in the test suite's shared scripts directory, then in
the paths listed in the paths.ini file, and finally
in the directories listed in the SQUISH_SCRIPT_DIR
environment variable. (The search stops as soon as the file is found.)
The paths.ini file shouldn't need to be hand edited
(see the Global Scripts view (Section 16.2.7)), but if you move
your Squish setup to another system you will want to copy this
file—assuming that you use the same paths of course.
Squish for Mac OS X, and Unix versions of
Squish for Qt,
Squish for Tk, and
Squish for Xview, read an additional file at startup,
SQUISHDIR/etc/ignoredauts.txt, if it exists.
The file is a list of process names, one per line. On Linux each process
name is the same name as the executable binary file; on other systems it
is the name used by the ps or
top programs.
Squish will not hook into any process listed in
this file. This file exists to provide a last resort means of stopping
Squish from hooking into a sub-processes launched by an AUT that would
be adversely affected by an attempt to hook into it—for example,
it might terminate prematurely. If you have a problem with hooking
into a sub-process it is best to contact froglogic's technical support
for advice before editing this file.