Skip to content

Squish

This is where all questions related to Squish belong

38 Topics 101 Posts
  • Does Squish support WinUI 3?

    Unsolved
    1
    0 Votes
    1 Posts
    19 Views
    No one has replied
  • Getting AUT's host address from test script?

    Unsolved
    3
    0 Votes
    3 Posts
    347 Views
    B

    Hi @TomaszPawlowski ,

    Sorry for the late answer!
    Well, in my case the squish server runs on my laptop - and not on the device where the AUT is running - so I would get the laptop's IP address if I queried the SQUISH_SERVERADDRESS... Do you know what I could do in my setup?

    Thanks!
    Bo

  • Failing to run and record AUT

    Unsolved
    2
    0 Votes
    2 Posts
    154 Views
    JakubTopolskiJ

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

  • 0 Votes
    1 Posts
    155 Views
    No one has replied
  • [Squish for Mac] setHookSubprocesses breaks AUT

    Solved
    2
    0 Votes
    2 Posts
    267 Views
    C

    @squisher, one can inject the Squish for Mac support into a running application (may require removing or adjusting the Hardened Runtime, if set for the application), via...

    squish_for_mac_dir/examples/mac/injection/injectMacWrapper.py

    It requires XCode to be installed on that computer.

    Usage:

    injectMacWrapper.py [--squish-dir=the_dir] --port=the_port aut_name_without_.app_postfix

    aut_name_without_.app_postfix can be an absolute or relative path to an app bundle. The app must already be running.

    Example (which explicitly launches SquishAddressBook.app beforehand):

    cd "/Users/myuser/Squish for Mac/examples/mac/injection" open ../addressbook/SquishAddressBook.app ./injectMacWrapper.py --port=4444 ../addressbook/SquishAddressBook

    The --squish-dir option has be left out; injectMacWrapper.py cycles through the parent directory, trying to find the Squish installation folder. This will not work when moving the .py file out of the Squish folder.

    Best regards,
    Clemens Anhuth

  • Coding squish python with PyCharm

    Unsolved
    3
    0 Votes
    3 Posts
    417 Views
    S

    @khreichel, this article should help
    https://kb.froglogic.com/squish/howto/using-squish-module-python-scripts-applications/
    But there are a lot of issues to resolve. But for sure, it is possible.

  • test.ocrTextPresent how to use Regular Expressions

    Solved
    2
    0 Votes
    2 Posts
    1k Views
    C

    @Danil-Sh-rf said in test.ocrTextPresent how to use Regular Expressions:

    Squish returned boolean False, it means that could not found word in text.
    How can to set regexp for this method?
    Description:
    https://doc.qt.io/squish/squish-api.html#test-ocrtextpresent-function

    Hi,

    This function is for verifying a single, hardcoded piece of text.

    You can implement this yourself by having it fetch all text (ideally from the smallest area/region/scope possible, for example just a single window, instead of all windows/the complete desktop), and then perform any kind of search you desired in the string returned by the OCR functionality.

    Best regards,
    Clemens Anhuth

  • 0 Votes
    2 Posts
    173 Views
    C

    @Gil-Novak said in Can Squish for Java applications interact with a Tauri UI app?:

    Can Squish for Java applications interact with a Tauri UI app?

    Hi,

    It seems that Tauri apps are based on JavaScript, etc. so probably compiled into web view based executables for the target systems?

    If so, Squish for Java would not seem like the right edition for it.

    If the compiled application is based on a web view, and Chromium in particular, then Squish for Web may be usable, to achieve automation on GUI object/element level.

    Otherwise image based automation could be done (depending on target operating system). For example Squish for Windows could likely be used to automate the application on Windows, to automate black box key presses, mouse interactions and perform synchronization and verification via image search. In addition, if Tauri apps offer accessibility information about the GUI controls on Windows, Squish for Windows may see these, and could use them for object look up, synchronization and verification, too.

    Best regards,
    Clemens Anhuth

  • Cross-compilation of Squish 7.2.0 for arm64

    Unsolved
    2
    0 Votes
    2 Posts
    216 Views
    C

    @KKolton said in Cross-compilation of Squish 7.2.0 for arm64:

    I am running into some issues while trying to do configuration.
    [...]

    For cross-compilation the respective license and Squish source package must be used.

    I recommend to contact the Squish technical support (ideally via the customer portal https://account.qt.io) to file a support request there.

    Best regards,
    Clemens Anhuth

  • Squish compatibility with LVGL based embedded system

    Solved
    2
    0 Votes
    2 Posts
    265 Views
    C

    @Aman_Kumar_Rishi said in Squish compatibility with LVGL based embedded system:

    Is Squish compatible with embedded GUI developed in LVGL library?

    Hi,

    Not that I am aware of.

    If the system can be reached via VNC one can use Squish for VNC, to perform blackbox keyboard and mouse/touch based automation, and image search for verification and synchronization.

    Best regards,
    Clemens Anhuth

  • Squish License - validating during install

    Solved
    2
    0 Votes
    2 Posts
    129 Views
    C

    @Nuno-Mendes said in Squish License - validating during install:

    Is it possible to install Squish without needing to validate the license?

    Hi,

    Not that I am aware of. You can install on a system which can reach the license server, then copy that Squish installation to the desired systems.

    Best regards,
    Clemens Anhuth

  • 0 Votes
    3 Posts
    255 Views
    C

    @Nuno-Mendes, @SquishHammer, I advise against this, and instead suggest to create separate Python functions that do the needful, and calling those instead as desired.

  • 0 Votes
    6 Posts
    685 Views
    JoeCFDJ

    @SquishHammer What is the Android version of tablet? Is Java 1.8 = 8 is good enough for the Android version of your tablet. Did you turn on the debug mode of Android tablet?

  • Squish support STM's TouchGFX HMI GUI Test

    Solved
    2
    0 Votes
    2 Posts
    232 Views
    C

    @Shivanand Squish has no support for STM TouchGFX. The lack of TCP/IP connection to the device would pose a problem for Squish, too.

    The only way to involve Squish is via Squish for VNC, which would allow for blackbox and image based automation (key presses, mouse clicks, possibly touches). However, a VNC connection tends to require TCP/IP, too.

    Usually one would shy away from image based automation, but if options are limited, and if one can accept to redo the automation parts that are affected by layout changes and rendering (pixel) differences, then it may be feasible - for a given use case.

  • Create screenshot and verify it on the fly as BDD steps

    Unsolved
    1
    0 Votes
    1 Posts
    180 Views
    No one has replied
  • Is it possible to have more option for color theme?

    Unsolved
    7
    0 Votes
    7 Posts
    251 Views
    S

    @JonB Thank you!

  • 0 Votes
    2 Posts
    177 Views
    M

    @SquishHammer
    I think by now you realised you talk to other users

  • "Background" syntax from Gherkin is not supported

    Unsolved
    2
    0 Votes
    2 Posts
    293 Views
    S

    Sorry, it actually works. I was stuck somewhere else before and didnt' realize it. Thank you!

  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    14 Views
    No one has replied
  • 0 Votes
    1 Posts
    186 Views
    No one has replied