Blog

  • External Resources for BDD Through Data Tables

    By on November 19, 2019

    You can use so-called data tables to execute a specific Behavior-Driven Development (BDD) GUI test scenario in a data-driven way. Create tables to define test data and use this data to drive your test. Since Squish 6.5.0, it is possible to refer an external file for such data. Data...

    Read more
    froglogic
  • Control of Sub-processes During GUI Testing

    By on November 14, 2019

    Testing GUI software can often start sub-processes. These can be either background services which are not directly visible to the user, or they can show an additional UI. The Squish GUI Tester allows the user to control which of the sub-processes will be hooked and which are to be...

    Read more
    froglogic
  • Detecting Problematic Object Names Automatically

    By on November 7, 2019

    Not all object names are equal. Some are “less good” than others, for various reasons. To avoid proceeding to use problematic object names, it can be useful to make the test script developers aware of them automatically, as early as possible. In our Knowledge Base article Example – Custom...

    Read more
    froglogic
  • GUI Testing Through Optical Character Recognition in the Cloud

    By on October 29, 2019

    Robust and reliable GUI tests are essential for the continuous deployment of today’s software projects. The Squish GUI Tester supports you in achieving this goal through dedicated Squish editions, which are aware of various GUI toolkits and technologies. Image-based Testing is included as a complementary feature for dynamically rendered visualizations....

    Read more
    froglogic
  • Screenshots in Squish Reports: Simplifying Result Analysis

    By on October 23, 2019

    The Squish GUI Tester excels at verifying an application’s user interface. But comprehensive verifications can come at a cost: the resulting test reports become huge and daunting to analyze. Take advantage of additional screenshots in Squish reports to get a better understanding of what happened.

    Read more
    froglogic
  • Finding Table Cells by Header Text in Java Applications

    By on October 15, 2019

    In another article, we demonstrated how to find table cells by header text in Qt applications. Here, we will show how to do the same thing in a Java AUT (Application Under Test). Motivation Finding table cells by header text leads to more readable tests. Furthermore, this is useful if...

    Read more
    froglogic
  • Disable Logging of All But Some Messages

    By on October 8, 2019

    Motivation Logging is a useful tool for testing. It can be used for different purposes throughout a test: outputting properties of a GUI object, tracking the current executed step, debugging which particular code path is being followed, and why, and much more. However, tests tend to grow either in...

    Read more
    froglogic
  • Webinar Q&A: How to Get Faster, More Reliable Automated Testing Results Using Continuous Integration

    By on October 2, 2019

    With our friends from QASource, we recently hosted a webinar, “How to Get Faster, More Reliable Automated Testing Results Using Continuous Integration,” where we showed you how to integrate your Squish tests with the Jenkins Continuous Integration server for automatic execution of your GUI tests in a CI pipeline....

    Read more
    froglogic
  • Running GUI Tests on Each Commit in GitLab CI/CD

    By on October 2, 2019

    In a recent article, we wrote about running Squish tests on merge requests in GitLab. In this article, we present a solution to run Squish tests on each commit. Overview We invoke the squishrunner command to execute tests and generate JUnit and web reports. Additionally, squishrunner is called with...

    Read more
    froglogic
  • Measuring Code Coverage on Devices with Limited Memory

    By on September 24, 2019

    In this article, we would like to explore the possibilities that are available to a Squish Coco user if he or she wants to use the tool on devices with limited memory. It is relatively clear that things don’t get better if we have less memory. Therefore, the whole...

    Read more
    froglogic
  • Verifying the Visual Order of GUI Elements

    By on September 17, 2019

    This tip demonstrates how to verify that GUI elements are properly arranged from left to right and top to bottom. Verifications in Squish The Squish GUI Tester has several ways to do functional tests of Graphical User Interfaces. One recurring scenario is verifying the layout of GUI elements. A...

    Read more
    froglogic
  • Testing .NET Core Applications

    By on September 10, 2019

    Testing Windows Forms and WPF application which run on .NET Core with Squish

    Read more
    froglogic
  • Using the Squish Function ‘attachFile’ to Your Advantage

    By on September 3, 2019

    Copying test results in the form of files to your test result directory can be automated. Imagine the following scenario: your application interacts with certain files, and those files change from test to test. For logging purposes, you want to export the files to your test directory. Additionally, the...

    Read more
    froglogic
  • Code Coverage of Multi-Platform Applications

    By on August 27, 2019

    Many applications are now targeting several operating systems. In most cases, the code is similar for each of them and only the toolchain is different (i.e., Visual Studio for Windows, XCode for OS X, gcc for Linux, …) and the library which permits the portability of the code (i.e.,...

    Read more
    froglogic
  • Starting Your AUT Using Absolute Paths in startApplication()

    By on August 20, 2019

    To start an application in a Squish test script using startApplication(), (where name refers to an entry in the server.ini file), one registers the AUT with its absolute path in the file server.ini, as opposed to hard-coding the path in the test script, and modifying the paths in your...

    Read more
    froglogic
  • Verifying the Identity of JSON Texts

    By on August 13, 2019

    Test data might not always be present in the form of line-based file formats, like Comma-separated Values or Tab-separated Values. The JavaScript Object Notation (JSON) format — a lightweight subset of the JavaScript language — gained a lot of popularity as an exchange format when communicating with Web Services...

    Read more
    froglogic
  • Accessing QQmlContext Properties in Squish Test Scripts

    By on August 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++ method on the embedded object, or use a C++ object instance...

    Read more
    froglogic
  • Improved Syntax Highlighting for the Script-based Object Map

    By on July 30, 2019

    Introduction With the release of the Script-based Object Map, we also added some syntax highlighting options to the Squish IDE. As references to the Script-based Object Map will make up a big part of your test scripts, it’s important to be able to see at first glance which scripted...

    Read more
    froglogic
  • Hooking Into Java Applications Launched Via Third Party/Custom Launcher Applications.

    By on July 23, 2019

    Sometimes, while trying to automate a Java AUT the hooking fails and the following error is shown: In such cases it is possible that the AUT executable or binary is actually a custom launcher application. The launcher applications are small executable programs which load and start a Java Application....

    Read more
    froglogic
  • Multi-User, Blackbox Testing with Squish Coco

    By on July 16, 2019

    Software development success is often achieved in a team of engineers, and part of this success is achieved through thorough, comprehensive testing. In some settings, source code is shared among all involved on a given team, but in many cases, the source code is secured, and only parts of...

    Read more
    froglogic