Tip of the Week

  • Using Squish for Windows and Image-Based Object Lookup for Automation via VNC

    By on Februar 11, 2019

    If you are unable to install Squish on the device you want to test, and you are using a GUI toolkit not supported by Squish so that using the Built-In Hook is not an option, you might still be able to test your application using Squish for Windows and...

    Weiterlesen
    froglogic
  • Transitioning from Recorded Tests to Written Tests

    By on Februar 5, 2019

    New Squish users often begin their testing journey by record and playback of GUI tests. Recording a test script captures high-level interactions with your Application Under Test (AUT) instead of low-level events, like moving the mouse across the screen. The returned script is displayed in your preferred scripting language...

    Weiterlesen
    froglogic
  • Code Coverage for C# Programs With Visual Studio

    By on Januar 22, 2019

    Squish Coco is mostly used for programs written in C++, but it also supports code coverage for C# programs. The preparation of a C# program for code coverage is rather simple, thanks to a Visual Studio add-in that is part of Coco. This post is a short tutorial about...

    Weiterlesen
    froglogic
  • Squish 6.5 Upcoming Feature: OCR Support

    By on Dezember 18, 2018

    The Squish 6.3 release introduced Image-based recognition, allowing users to identify and automate application components that were not otherwise recognized by Squish’s object-recognition capabilities. While Image-based recognition is useful, one difficulty arises in creating platform-independent tests. Visual appearance of a component can vary across platforms for a number of...

    Weiterlesen
    froglogic
  • Making Use of JavaScript Modules

    By on Dezember 4, 2018

    Squish 6.4 has added support for the JavaScript import and export statements from ECMAScript 2015 (ECMA-262). Here we list some advantages to using JavaScript modules over Squish’s  source() utility: Namespaces With source(), the imported script is evaluated in the global namespace. This may result in unwanted name collisions and may...

    Weiterlesen
    froglogic
  • Identifying Poor Object Names – And How To Improve Them

    By on November 27, 2018

    A stable method to address GUI controls is crucial for a maintainable test project. But how does Squish go about generating object names? What makes a good object name? How can you identify poor object names? How can you configure Squish to generate (or reuse) better names? We will...

    Weiterlesen
    froglogic
  • Measure code coverage on ARM Cortex-M microcontrollers

    By on November 20, 2018

    ARM Cortex-M microcontrollers are becoming more and more popular. This article will show you how to use Squish Coco to get code coverage from one of such microcontrollers.

    Weiterlesen
    froglogic
  • Automating Qt applications packaged as AppImages

    By on November 6, 2018

    Squish for Qt allows automated GUI testing of Qt applications. Typically automating Qt applications with Squish works out of the box. If it doesn’t, then this may be because the application has been packaged in a special way, for example as an „AppImage“ which overwrites some environment variables (LD_PRELOAD...

    Weiterlesen
    froglogic
  • View Squish Test results of merge requests in GitLab

    By on Oktober 16, 2018

    Introduction It’s very important to make automated GUI tests a part of a Continuous Integration (CI) process. Squish offers add-ons for many popular CI tools like Jenkins, Bamboo and TeamCity. The full list is here. If your tool is not on the list, it can be still integrated as...

    Weiterlesen
    froglogic
  • Code Coverage with QTest

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

    Weiterlesen
    froglogic