I am using Squish 4.2.2
for testing a GUI
developed in Qt version 4.7
on linux
. The AUT
is built using statically linked Qt libraries. Since squish doesnot allow recording for statically linked Qt libraries, I am planning to manually create the test cases. However the squish test case fails with following error
Error Script Error Oct 31, 2012
Detail RuntimeError: startApplication() failed
The test case contains a single line to start the AUT. The server log shows only the following warning
AUT does not appear to be dynamically linked against Qt, hooking might fail.
Has anyone else faced a similar issue when testing Qt applications that are statically linked to Qt libraries? Kindly provide pointers for this issue.
Regards adj
You need to have the following correctly setup: 1. The version of Squish must be compatible with the version of Qt used to develop the app. Usually both versions must be the SAME to be compatible. 2. When setting up Squish, point it to the correct QtCore path. 3. Add the application in Edit -> Server Settings -> Manage AUT in the IDE.