Posts tagged with ‘Qt’

  • Finding Table Cells by Header Text

    By on January 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 looking for the correct number? Not so easy. What would be better than looking...

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

    By on December 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 interact not only with complex graphical objects in the Application Under Test (AUT), but with other elements displayed...

    Read more
    froglogic
  • Code Coverage with QTest

    By on October 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 Qt Test framework can look like the following. To keep it short the...

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

    By on September 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 April 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 system, this leads to problems. Squish Coco allows you to redirect the measurements stream via Custom...

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

    By on April 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 tests are one central piece of testing this backend code.

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

    By on November 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 detailed information about the state of our AUT during a test execution, you can attach...

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

    By on September 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 hook into sub-processes started by the main application under test (AUT). But depending on the platform and...

    Read more
    froglogic
  • Testing Qt Application Manager applications with Squish.

    By on August 3, 2017

    Qt Application Manager (or appman) is a Qt module targeted for embedded devices. It allows you to create rich, Qt Quick-based user interfaces. The module exports an API that allows the Qt Quick GUI to act as a compositing display manager. It supports installing, removing, and life-cycle management of...

    Read more
    froglogic
  • Squish Tip: Customizing QtQuick support

    By on May 23, 2017

    Motivation Squish supports automating QtQuick 2.x based applications out of the box. One frequently asked question is about custom QML components or custom QtQuick controls and how Squish supports these. Testing QtQuick with Squish is very similar to Web testing in this regard. By default, Squish will record on...

    Read more
    froglogic