Error caused by QTP hooking/environment variables¶
It seems that installing HP QuickTest Professional (QTP) can have undesirable effects on other Java applications, especially ones based on SWT or Eclipse, like the Squish IDE, where QTP installation can lead to this error message at startup:
org.eclipse.swt.SWTException: Failed to execute runnable (org.eclipse.swt.SWTException: Widget is disposed)
Caused by: org.eclipse.swt.SWTException: Widget is disposed:
The problem seems to be documented on the web, for example...
You should contact HP for details on what the QTP installation does and how to fix this problem.
Working around this issue is basically a matter of setting a set of environment variables before running the Squish IDE. On Windows you could create a batch file with the following content
Note that you have to put in the real path to the Squish IDE installation on your system in the last line. For starting the IDE you then run that batch file.
Error caused by QTP affecting the Squish IDE workspace¶
You may also be getting the following error:
In this case the above solution should be applied.
And in addition cleaning the internal (persistent) caches of the Squish IDE might help. To do this start
squishide(.exe) once with the parameter "-clean":