Skip to content

Squish

This is where all questions related to Squish belong

62 Topics 164 Posts
  • 0 Votes
    3 Posts
    111 Views
    U

    @jagadish Thank you

  • 1 Votes
    2 Posts
    88 Views
    J

    Hi @MRosiek

    best way to see your remote screen is using the "Remote Control" in Squish IDE. from where you can use all other features of squish like the record video etc..

    In your case its simple just open the VNC display on which ever your already using the TightVNC over 5900 port and run your test case,
    You will see the application being launched by Squish and tested by Squish on this display.

    I have used this in past and it works fine, this should solve your situation.
    Let me know if this helps.

    You can always raise support tickets directly from SquishIDE
    https://doc.qt.io/squish/collect-information-for-squish-support-dialog.html

  • Animation testing in Squish: Cup filling animation

    Unsolved
    2
    0 Votes
    2 Posts
    162 Views
    J

    @Pritha-Suresh you can modify the path where the video is getting saved by passing the path to the "test.startVideoCapture(/path)"
    to do animation testing you will need external tools like opencv or someting similar.
    It will be easier to test any internal property corresponding to the animation rather than attempting to test the filling animation.

  • Verification Points and Global Scripted Object Map

    Unsolved
    2
    0 Votes
    2 Posts
    234 Views
    JakubTopolskiJ

    Hi there!
    How about using text.vpWithObject? You should be able to pass a realname from your custom global object map as the second parameter.

  • 0 Votes
    2 Posts
    289 Views
    JakubTopolskiJ

    Hi Mike,
    I guess you are defining this function in a python module other than test.py. In general you have at least to ways to include such module in your test:

    source it - https://doc.qt.io/squish/source-function.html#source-function use native python imports

    The first approach lets you use your function as it is. However, in most of the cases I recommend using native python import, even though it may require some extra work from you. Your custom Python modules won't have any knowledge of the Squish API until you import the required modules—like the test module you mentioned.

    import test def addMessageToLog(self, message): test.log(message)

    You can learn more about it in the https://qatools.knowledgebase.qt.io/squish/howto/using-squish-functions-python-modules-packages/ knowledge base article.

  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    9 Views
    No one has replied
  • Modify picker tool to ignore certain objects

    Solved
    2
    0 Votes
    2 Posts
    223 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
    329 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
    353 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
    226 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
    616 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
    582 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
    357 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/

  • 0 Votes
    3 Posts
    352 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
    331 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
    504 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
    170 Views
    No one has replied
  • Linux 9.4 'type' issue

    Unsolved
    1
    0 Votes
    1 Posts
    275 Views
    No one has replied