Posts tagged with ‘Qt’

  • Accessing QQmlContext Properties in Squish Test Scripts

    By on 八月 6, 2019

    When loading a QML object into a C++ application, it can be useful to embed some C++ data directly that can be used from within the QML code. This makes it possible, for example, to invoke a C++ metho

    Read more
    froglogic
  • Finding Table Cells by Header Text

    By on 一月 15, 2019

    Surely you have seen (screenshots of) huge Excel spreadsheets before. If not, just imagine a wall of numbers. Now imagine such a table in the application you need to test. Verifying a table cell by lo

    Read more
    froglogic
  • Using Image-based lookups without running an AUT

    By on 十二月 11, 2018

    The following article is prepared for the Qt toolkit, however, a similar approach can be applied to other toolkits supported by Squish. Introducing Image-based lookups in Squish 6.3 allowed users to i

    Read more
    froglogic
  • Code Coverage with QTest

    By on 十月 9, 2018

    Today’s tip will show how to measure code coverage for unit tests written using the Qt Test framework (or short QTest). The example A simple example for code that uses Qt which is tested via the

    Read more
    froglogic
  • Using Squish to automate Qt Installer Framework UI Tests

    By on 九月 11, 2018

    The Qt Installer Framework got recently support for Squish. In this article you can see how to add Squish support to your installers which are based on this framework.

    Read more
    froglogic
  • Coco – How to measure code coverage on embedded systems via CAN Bus

    By on 四月 24, 2018

    Introduction Squish Coco generates the code execution measurement using streams and by default, the output of these streams is piped to a file on the file system. For embedded devices without a file s

    Read more
    froglogic
  • Unit tests for Qt-based applications with Catch

    By on 四月 10, 2018

    Unit tests for Qt-based applications with Catch Squish for Qt is a perfect fit for testing Qt based user interfaces, however an application always consists of quite some backend code as well. Unit tes

    Read more
    froglogic
  • Iterating over Tables in a Qt GUI Test

    By on 二月 20, 2018

    The Automated GUI Testing Tool Squish makes it possible to verify entire tables using a table verification point, but there are times when the requirements of a test case make it necessary to iterate

    Read more
    froglogic
  • Debug Qt application while running Squish GUI tests

    By on 十一月 10, 2017

    Some issues with Application Under Tests (AUT) appear only when a test is executed with Squish. For some cases, it’s easier run our test scenario with Squish than repeating it manually. To get a detai

    Read more
    froglogic
  • Enabling Squish to hook into Sub-Processes started by the AUT

    By on 九月 5, 2017

    Often more complex application do not consist of just a single executable. Instead the main application launches sub-processes which also open a user interface. Squish is designed in a way to also hoo

    Read more
    froglogic