Failing to run and record AUT
-
I am currently evaluating Squish, but am not doing much progress. Squish refuses to run my AUT.
I create a test suite, browse for my AUT and then try to record a test case. It fails with
The Runner/Server log shows:
R: [2024-03-08T13:45:46.466+0100] 2024-03-08T13:45:46 START Start 'appstarter' Test 'appstarter' started S Squish tools: [2024-03-08T13:45:46.474+0100] 13:45:46:474 Info: Connection from 127.0.0.1:52194. S Squish tools: [2024-03-08T13:45:46.474+0100] 13:45:46:474 Info: Starting AUT 'xyz' with wrappers Qt: C:\Users\ME\Squish for Windows 7.2.1\bin\dllpreload.exe C:\app\bin\xyz.exe S Squish tools: [2024-03-08T13:45:46.474+0100] 13:45:46:474 Warning: Could not start AUT 'xyz': The system cannot find the file specified. R: [2024-03-08T13:45:46.474+0100] 2024-03-08T13:45:46 FATAL Starting application Application 'xyz' could not be started. An error occurred while starting the AUT. R: [2024-03-08T13:45:46.474+0100] 2024-03-08T13:45:46 END End of test Giving up after error R: [2024-03-08T13:45:46.474+0100] ******************************************************* R: [2024-03-08T13:45:46.474+0100] Summary: R: [2024-03-08T13:45:46.474+0100] Number of Test Cases: 0 R: [2024-03-08T13:45:46.474+0100] Number of Tests: 0 R: [2024-03-08T13:45:46.474+0100] Number of Errors: 0 R: [2024-03-08T13:45:46.474+0100] Number of Fatals: 1 R: [2024-03-08T13:45:46.474+0100] Number of Fails: 0 R: [2024-03-08T13:45:46.474+0100] Number of Passes: 0 R: [2024-03-08T13:45:46.474+0100] Number of Expected Fails: 0 R: [2024-03-08T13:45:46.474+0100] Number of Unexpected Passes: 0 R: [2024-03-08T13:45:46.474+0100] Number of Warnings: 0 R: [2024-03-08T13:45:46.474+0100] ******************************************************* S Squish tools: [2024-03-08T13:45:46.474+0100] 13:45:46:474 Info: Connection to 127.0.0.1:52194 closed. R: [2024-03-08T13:45:46.474+0100] squishrunner exited with value -1, started with arguments: [C:\Users\ME\Squish for Windows 7.2.1\bin\squishrunner.exe, --host, localhost, --port, 51990, --debugLog, palw, --startapp, --suitedir, C:\tests\suite_five, --cwd, @server, --aut, xyz]
I guess the warning about the system cannot find the file specified is the key, but I don't see why it doesn't. The path is correct.
What I am missing?
-
@JohnnyDoe it seems that you might be using an incorrect Squish package. Based on
Starting AUT 'xyz' with wrappers Qt
I guess your intention is to test a Qt application. At the same time
C:\Users\ME\Squish for Windows 7.2.1
suggests that you are using Squish for Windows. For testing Qt applications, the Squish for Qt package is required.
Take a look at https://doc.qt.io/squish/installing-from-binary-packages.html#choosing-the-correct-squish-package
I hope this will help. -