Skip to content

Squish

This is where all questions related to Squish belong

57 Topics 153 Posts
  • Modify picker tool to ignore certain objects

    Solved
    2
    0 Votes
    2 Posts
    158 Views
    H

    You can modify ControlsExt.qml to do this: https://doc.qt.io/squish/how-to-use-the-qml-extension-api.html#qml-extension-api

    Modify the isIgnored function in the qml file.

  • Coding squish python with PyCharm

    Unsolved
    4
    0 Votes
    4 Posts
    2k Views
    R

    @papers, please To code and test Squish Python scripts with PyCharm, first ensure Squish is installed and properly configured on your system. Add the Squish binary path to the environment variables so PyCharm can access Squish commands. In PyCharm, set up a new Python project and configure the interpreter to include Squish libraries. You can now write and test Squish scripts directly within PyCharm's editor.

  • 如何在pycharm中运行squish生成的代码?

    Unsolved
    3
    0 Votes
    3 Posts
    265 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
    244 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
    158 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
    542 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
    497 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
    278 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
    127 Views
    No one has replied
  • 0 Votes
    3 Posts
    277 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
    253 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
    420 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
    130 Views
    No one has replied
  • Linux 9.4 'type' issue

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

    Unsolved
    2
    0 Votes
    2 Posts
    346 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
    678 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
    914 Views
    B

    Hi @clanhuth,

    Thanks for the advice! I will look into this.

    Cheers,
    Bo

  • Quality Assurance Survey 2024

    1
    0 Votes
    1 Posts
    159 Views
    No one has replied
  • 0 Votes
    3 Posts
    500 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.