Skip to content

Squish

This is where all questions related to Squish belong

76 Topics 189 Posts
  • How to change prefix for test suite / test case directory name?

    Unsolved
    1
    0 Votes
    1 Posts
    6 Views
    No one has replied
  • Question about ignored panes in Preferences / PyDev

    Solved python preferences
    2
    0 Votes
    2 Posts
    113 Views
    M
    I got this answer from support: SquishIDE is based on Eclipse, and PyDev is the Python IDE plugin Squish uses. As noted in the documentation, the Debug and Interpreters panes preferences in PyDev are ignored because Squish uses either the Python installation shipped with it or an external one configured via squishconfig. Therefore, any settings you apply in those panes will not take effect.
  • How to use Python virtual environments with Squish IDE 9.1.1?

    Solved squish python
    3
    0 Votes
    3 Posts
    131 Views
    M
    Ah, perfect. Will try this on Monday. Thanks for the link and have a nice weekend!
  • I want Connect AUT with Java Squish.

    Unsolved
    1
    0 Votes
    1 Posts
    144 Views
    No one has replied
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    60 Views
    No one has replied
  • Easy identification of objects?

    Unsolved
    2
    0 Votes
    2 Posts
    561 Views
    B
    I have had a problem when editing the names.py manually in that Squish no longer recognises the object. I now delete the object and re-enter it after using the picker tool then add to object map. Not sure if this is what you meant, but hopefully this helps
  • License server api /v1/statistics behavior

    Unsolved license
    1
    0 Votes
    1 Posts
    85 Views
    No one has replied
  • 0 Votes
    2 Posts
    6k Views
    H
    @IamSumit can you reproduce the issue and share the Support Information logs. Please refer to the following Knowledge Base Article regarding how to obtain the Support Information is https://qatools.knowledgebase.qt.io/misc/collecting-support-info/collecting-support-information-linux-mac-windows/
  • Connecting to desktop application from Squish IDE

    Unsolved
    2
    0 Votes
    2 Posts
    1k Views
    H
    @merve In case you are requirement is to use VNC, it is necessary to use Squish for VNC package. For more information regarding this, please refer to the following documentation. https://doc.qt.io/squish/squish-for-vnc-tutorials.html By the way, what is the GUI Toolkit of the application which you are interested in automating the GUI test? Is it Qt?
  • Squish WinCC OA custom widget detection

    Unsolved
    1
    0 Votes
    1 Posts
    460 Views
    No one has replied
  • Squish TeamCity integration: export JUnit XML

    Unsolved
    1
    0 Votes
    1 Posts
    466 Views
    No one has replied
  • Invalid metadata

    Unsolved
    2
    0 Votes
    2 Posts
    1k Views
    H
    @HarryGoddardTech said in Invalid metadata: I'm getting the following error when I run "Squish for Qt 9.0.0" Please clarify what you mean by this. For example, Do you get the error when launching the Squish IDE? or During the execution of the already existing test suite? It might be worth checking the "System Level" and/or "User Level" PATH environment variable to confirm no Qt related path is included.
  • Squish for Qt 9.0.0 looking for startwinaut.exe

    Solved
    2
    0 Votes
    2 Posts
    429 Views
    H
    Solved! the suit.conf file has a setting "WRAPPERS" which needs to be set to "Qt" (case sensitive). If set to "Windows" then Squish will attempt to start the AUT in a "Windows" manner (startwinaut)
  • Check CSS pseudo elements with squish web API

    Unsolved
    2
    0 Votes
    2 Posts
    935 Views
    H
    You can execute JavaScript code with "evalJS" function. Following is an example, if you want to get the content of the element created by "::after" CSS pseudo element, ~ Squish script in Python ~ tmp = evalJS(f'let tmp = window.getComputedStyle(document.getElementsByClassName("ribbon")[0], "::after").content; tmp') test.log(f'{tmp}') ~ Squish script in Python ~ ~ Associated HTML code ~ <html> <head> <title>Test</title> <style> .ribbon::after { content: "This is a content added by ::after of CSS pseudo element."; background-color: #ffba10; border-color: black; border-style: dotted; } </style> </head> <body> <p class="ribbon">Look at the orange box after this text. </p> </body> </html> ~ Associated HTML code ~ NOTE : For more information regarding "evalJS" function and its usage, please refer to our following documentation. https://doc.qt.io/squish/web-evaljs-function.html#web-evaljs-function https://doc.qt.io/squish/how-to-use-the-web-api.html#how-to-use-evaljs
  • 1 Votes
    3 Posts
    869 Views
    MRosiekM
    Hi @jagadish , thank you for your answer. Using Squish IDE when I run automatic tests is not an option. Im only using squishtest module from python code. Well that suggestion about using TightVNC as another process controlled from python was the best option for me. I just run TightVNC client via subprocess module and later when tests finished i just killed it.
  • Issue Performing Right-Click with Mouse Click Function Using Only Two Coordinates

    Unsolved
    3
    0 Votes
    3 Posts
    1k Views
    U
    @jagadish Thank you
  • Animation testing in Squish: Cup filling animation

    Unsolved
    2
    0 Votes
    2 Posts
    676 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
    759 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
    1k 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