Skip to content

Squish

This is where all questions related to Squish belong

56 Topics 150 Posts
  • 如何在pycharm中运行squish生成的代码?

    Unsolved
    3
    0 Votes
    3 Posts
    145 Views
    H

    Similar discussion was posted previously.
    https://forum.qt.io/topic/150569/coding-squish-python-with-pycharm

  • GitHub Copilot in Squish

    Unsolved
    3
    0 Votes
    3 Posts
    149 Views
    S

    Question first but if answer is no right now, could be a feature request ...

  • Binaries for MacOS ARM

    Unsolved
    2
    0 Votes
    2 Posts
    110 Views
    SGaistS

    Hi,

    AFAIR, 6.2 is too old to have a pre-built package for macOS ARM.

  • Issue with 'xlib' platform plugin.

    Unsolved
    6
    0 Votes
    6 Posts
    447 Views
    P

    I am currently in contact with Squish's QA support, will post the solution here if/when we find it.

  • FileNotFoundError when running test remotely

    Unsolved
    4
    0 Votes
    4 Posts
    439 Views
    H

    In case you want to access to file on remote system (where squishserver is running),
    you should access them via functions offered by "remotesystem" object.
    For more information regarding this object please refer to the following documentation.
    https://doc.qt.io/squish/squish-api.html#remotesystem-object

  • File dialogs in QML application

    Unsolved
    2
    0 Votes
    2 Posts
    203 Views
    H

    As workaround to overcome native file dialog, please refer to the following Knowledge Base article.
    https://kb.froglogic.com/squish/qt/howto/automating-native-file-dialogs/

  • Verification Points and Global Scripted Object Map

    Unsolved
    1
    0 Votes
    1 Posts
    100 Views
    No one has replied
  • 0 Votes
    3 Posts
    208 Views
    S

    Yes, import urllib.request is the correct one. But I used import urllib just to reproduce the fatal error while running the squish test. urllib is not the concern of this topic. I want to discuss the exit code of squishrunner with --retry 1 whenever there is a fatal error. I would expect the non-zero exit code but it returns 0.

  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • Help: using squish with Qt from Python on QNX

    Unsolved
    2
    0 Votes
    2 Posts
    192 Views
    G

    Looking into this further, I think "import squishtest" is what we need.

    We will look into compiling the "squishtest" module under QNX.

  • Build error for squish 8.0.0 on arm64

    Unsolved
    3
    0 Votes
    3 Posts
    345 Views
    W

    I got it running after inserting 2 times the omitted duration template parameter: long

  • squishrunner exited with value -1

    Unsolved
    1
    0 Votes
    1 Posts
    100 Views
    No one has replied
  • Linux 9.4 'type' issue

    Unsolved
    1
    0 Votes
    1 Posts
    210 Views
    No one has replied
  • Unable to pick objects

    Unsolved
    2
    0 Votes
    2 Posts
    281 Views
    JakubTopolskiJ

    Hi Barak,
    I hope you were able to solve the issue by now. Just in case you are still struggling, I would need to know a bit more about your setup, the Squish package you are using, and the Qt libraries used by your application.

    First of all, you need to ensure that you are using a Squish package that is compatible your your application:
    https://doc.qt.io/squish/installing-from-binary-packages.html#choosing-the-correct-squish-package

    If you think that you choose the right one but the problem still occurs, please share the squishserver logs generated after you start the application under test via Squish.

  • Squish not connecting to Application Linux

    Unsolved
    3
    0 Votes
    3 Posts
    561 Views
    L

    Hi Axel,

    Thank you for your reply.

    I checked my Qt packages, and libQt5Widgets is indeed installed, but the issue persists. I decided to reinstall my environment, including qtcreator-8.0.2 (Qt version 5.15.0 (gcc_64)) and squish-for-qt-8.0.0.

    Now, Squish works within QtCreator, meaning that it still doesn't connect with other applications. The recording option can only capture and generate scripts of my actions inside QtCreator but not for the applications run by QtCreator. Thanks for your help.

  • Getting AUT's host address from test script?

    Solved
    5
    0 Votes
    5 Posts
    829 Views
    B

    Hi @clanhuth,

    Thanks for the advice! I will look into this.

    Cheers,
    Bo

  • Quality Assurance Survey 2024

    1
    0 Votes
    1 Posts
    136 Views
    No one has replied
  • 0 Votes
    3 Posts
    447 Views
    C

    To test the effect, you need to add synchronization and verification. For example, if a button X appears (and is enabled and ready for interaction) after clicking button A, then, after letting the script click on button A, you could use waitForObject() to verify that button X exists and is "ready". However, this kind of object verification is implicit when you record a click on button A, then on button X, because Squish records waitForObject() (and the like) calls for mouse clicks automatically.

  • How to perform gui tesing in armv7?

    Solved
    2
    0 Votes
    2 Posts
    191 Views
    C

    Currently you need to compile or cross-compile Squish's Qt support on/for/to the desired target architecture. (In the future there will be Squish for Qt binary packages for some Linux variants for ARM based systems.)

    For compiling you need the Squish for Qt sources. These need to be enabled in the Squish GUI Tester subscription license that you are using. Please contact Squish technical support for this.

    For cross-compiling you need the Squish for Qt sources for cross-compilation. To enable these, the respective license option needs to be enabled in your Squish GUI Tester subscription license. If you do not see respective downloads in the download area at the Customer Portal (https://account.qt.io), then please contact your account manager at the Qt Group regarding this.

  • problem with a parent object

    Unsolved
    7
    0 Votes
    7 Posts
    469 Views
    C

    The readiness check in Squish for Qt for QML objects determines that the object is not ready for interaction, because it is not visible/accessible on the screen, because its parent clipped it away. What this means, and what to do, probably depends a lot on the situation, which I cannot derive from the information that you have provided.

    The script code that you provided should not result in this error, because it does not contain a waitForObject() call.

    If you only want to look up an object for something else than interaction, you can consider using the findObject() function, which does a one-time search for the object, and it does not perform the "readiness" check. It will throw an error if no matching object can be found, or return the reference to the found object.