Blog

  • Difference between “Object not found” and “Object not ready” errors

    By on May 22, 2018

    Unsuccessful object synchronization functions such as waitForObject() or waitForObjectItem may return various error messages. Fully understanding these messages is important to debug a test script. Squish recognizes GUI objects by a subset of their properties and values. In the example below, we would like to click on an object...

    Read more
    froglogic
  • SQLite driven testing using Javascript

    By on May 16, 2018

    Data Driven Testing (DDT) is a method to structure tests. It is recommended for a huge set of data which may grow in the future. Code has to be written only once and new data can be fed into the test without touching the code at all which is...

    Read more
    froglogic
  • Screenshot Verification Points for Menus & other volatile Objects

    By on May 8, 2018

    Creating a screenshot verification point (VP) usually consists of these steps: Bring the AUT into the desired state. Pick the desired object. In Application Objects view check the checkbox besides the object. However, if the object is a volatile object, for example a menu, then picking it may be...

    Read more
    froglogic
  • Navigate and overlook test script code efficiently

    By on April 30, 2018

    Creating and maintaining Squish tests requires a fair bit of editing the test scripts. It can become very tedious to navigate in bigger script files with arrow keys or by searching. In this article I present means to navigate directly to script functions and types. The navigation also provides...

    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
  • Squish & Python

    By on April 17, 2018

    Squish is shipped with different scripting languages allowing to start recording or writing tests cases in any of them without lengthily setup. The list is: Ruby, JavaScript, Perl, Tcl and the one of interest in this article Python. The intent of this article is to provide information that might...

    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
  • What exactly is cyclomatic complexity?

    By on April 3, 2018

    The cyclomatic complexity is a measurement of the code complexity proposed by McCabe which is often considered as a magic number which allows us to measure the complexity of a program. It is common to say that a function with a cyclomatic complexity higher than 10 is difficult to...

    Read more
    froglogic
  • Upcoming Feature: Squish TestRail Integration

    By on March 27, 2018

    If your team is working with many different testing frameworks, you might have already adopted a test management tool to organize and get an overview of your testing efforts. One such tool is TestRail from Gurock. To make things easier for you, we are working on automating the synchronization...

    Read more
    froglogic
  • New Property for Identification of WPF Images

    By on March 20, 2018

    Some WPF Image objects have a string representation of the nativeObject.Source property which can be used for their identification. This property will be exposed as the ‘source’ property of Image objects in the new Squish release 6.4.

    Read more
    froglogic
  • Run Squish IDE with custom preferences

    By on March 14, 2018

    Motivation Sometimes, it may be desirable to start the Squish IDE with a non-default set of preference settings. Let’s consider a corporate environment where every tester is supposed to work with the same preference settings. To avoid configuration errors, and to help in deploying changes to everyone, the testers...

    Read more
    froglogic
  • Iterating over Tables in a native Mac (Cocoa) GUI Test

    By on March 6, 2018

    Neha wrote a blog article about Iterating over Tables in a Qt GUI Test a couple of weeks ago. I want to do the same in this blog article with the Squish for Mac and a Cocoa application. The application uses the NSTableView class for displaying tables. Motivation As Neha pointed out, there...

    Read more
    froglogic
  • Using the Remote System API to start an AUT on Windows

    By on February 27, 2018

    The Remote System API can be used to start applications on a remote system. As you can see in the picture below the Remote System API is centered around the Squishserver. This makes it possible to interact with the filesystem and to start processes on the system the Squishserver...

    Read more
    froglogic
  • Iterating over Tables in a Qt GUI Test

    By on February 20, 2018

    The Automated GUI Testing Tool Squish makes it possible to verify entire tables using a table verification point, but there are times when the requirements of a test case make it necessary to iterate over the items of the table in a GUI test. For example in cases where...

    Read more
    froglogic
  • FreeRTOS and code coverage on embedded systems

    By on February 13, 2018

    Code coverage for embedded systems poses some questions that do not occur with desktop applications. In this post I will show the first steps on how to measure code coverage with Squish Coco on an embedded system. We will use the FreeRTOS Kernel as our example.

    Read more
    froglogic
  • How to automate GUI tests for macOS ‘.dmg’ installer images

    By on February 6, 2018

    If you have used Squish before, you probably already test your application thoroughly. However for a new user, there are a few steps to take until they even run the application in the first place: they need to install it. That procedure is part of the first impression you...

    Read more
    froglogic
  • Use of script language closures

    By on January 30, 2018

    All supported script languages in the automated GUI Testing Tool Squish support closures. In this blog I’ll write up a simple example how closures can be used to unify function calls that seem to have different set of arguments. Assume a test snippet that tests two ways to open a settings dialog,...

    Read more
    froglogic
  • How to test ‘.msi’ installer packages with Squish for Windows

    By on January 26, 2018

    For a user who is evaluating new software, the installation process is usually the first interaction he’ll make with that product. During this process, any error or misbehavior which makes the installation of the software difficult could lead the user to switch to a competitor’s product. . .  

    Read more
    froglogic
  • Upcoming Squish GUI Tester 6.4 Feature: Fuzzy Image Lookup

    By on January 16, 2018

    Squish 6.3 introduced the image lookup feature. It allows capturing an image of an AUT control during test case recording. During test replay it allows finding the screen position of the specific image and interaction by clicking or tapping at the found position. It is the only way to...

    Read more
    froglogic
  • Restarting an Attachable AUT after a failure

    By on December 19, 2017

    With Squish, attaching to the already running application might be beneficial in many cases. E.g. this approach might be worth considering if the application startup time is long. A problem occurs when one of the test cases fails and leaves the AUT in an unknown state. This might cause...

    Read more
    froglogic
Load More