Tip of the Week

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

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

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

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

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

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

    Weiterlesen
    froglogic
  • Multi-User, Blackbox Testing with Squish Coco

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

    Weiterlesen
    froglogic
  • Coco and System Header Files

    By on Juli 9, 2019

    A C or C++ program always includes header files that are provided by the compiler or the operating system. When they are instrumented by Coco, sometimes unexpected error messages occur. This post explains why this happens, when this happens, and what to do about it.

    Weiterlesen
    froglogic
  • GUI Test Configuration Through Script Arguments

    By on Juli 3, 2019

    GUI test exeutions have to be configured for various purposes. Test engineers might want to configure a test in order to use specific test data as input to the Application Under Test. Or the Application Under Test itself has to be executed with a variation of program arguments. While...

    Weiterlesen
    froglogic
  • Setting Up a Python Virtual Environment with Squish

    By on Juni 25, 2019

    Python Virtual Environments are great tools for separating different Python configurations on the same machine. Configuring Squish to use a virtual environment gives you the freedom to install packages and make changes that aid your testing efforts without compromising your existing Python installation(s). Here we will show you how...

    Weiterlesen
    froglogic
  • Testing Multiple Instances of the Same Application

    By on Juni 20, 2019

    In some scenarios, you might need to test multiple instances of your application at the same time, for example if multiple desktop clients access a server. The Squish GUI Tester is capable of handling such scenarios from within one test script. We will demonstrate how to write a test...

    Weiterlesen
    froglogic
  • Rebooting a Remote Test Environment From a Test Script

    By on Juni 4, 2019

    Sometimes we can’t launch our application from our test case, which is often the case if we perform tests on embedded devices, where the AUT is launched during device startup. In such cases, we simply attach to the AUT at the beginning of each test. At the same time,...

    Weiterlesen
    froglogic