Tip of the Week

  • Screenshots in Squish Reports: Simplifying Result Analysis

    By on Oktober 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.

    Weiterlesen
    froglogic
  • Finding Table Cells by Header Text in Java Applications

    By on Oktober 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...

    Weiterlesen
    froglogic
  • Disable Logging of All But Some Messages

    By on Oktober 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...

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

    By on Oktober 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...

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

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

    Weiterlesen
    froglogic
  • Testing .NET Core Applications

    By on September 10, 2019

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

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

    Weiterlesen
    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.,...

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

    Weiterlesen
    froglogic