Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Software Quality Tools
  3. Squish
  4. Failing to run and record AUT
Qt 6.11 is out! See what's new in the release blog

Failing to run and record AUT

Scheduled Pinned Locked Moved Solved Squish
2 Posts 2 Posters 2.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    JohnnyDoe
    wrote on last edited by
    #1

    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
    Screenshot1.png

    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?

    JakubTopolskiJ 1 Reply Last reply
    0
    • J JohnnyDoe

      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
      Screenshot1.png

      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?

      JakubTopolskiJ Offline
      JakubTopolskiJ Offline
      JakubTopolski
      wrote on last edited by
      #2

      @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.

      ⚙ Test Automation Consultant 🐸 Squish Expert 🐍 Python Enthusiast
      https://cyberalpaca.com
      https://www.linkedin.com/in/jakub-top/

      1 Reply Last reply
      0
      • C clanhuth has marked this topic as solved on
      • M merve referenced this topic on

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved