Tip of the Week

  • To Instrument Or Not To Instrument, That Is One of The Questions: Handling File Includes In Coco

    By on March 19, 2019

    Instrumenting only the relevant things saves time and resources. Here is a little intro which should help you to select the files you want to instrument. Backlisting and Whitelisting Before diving into the topic, there is one important question to ask yourself: Are there more files that you want...

    Read more
    froglogic
  • Code Coverage for VxWorks Applications

    By on March 12, 2019

    VxWorks is an embedded operating system provided by Wind River and is widely used for building safety systems. The development environment is based on Eclipse and uses a GCC compiler. This article will present how to integrate Squish Coco with VxWorks. It is based on a video embedded into...

    Read more
    froglogic
  • Retrieving Code Coverage from ARM Cortex-M Microcontrollers

    By on March 5, 2019

    How to retrieve code coverage data from ARM Cortex-M microcontrollers using GDB.

    Read more
    froglogic
  • Collecting and Analyzing Execution Times of Squish Tests Written in Python

    By on February 19, 2019

    In the lifecycle of your Squish tests, there may be situations where you wonder why your test is taking more time than you would expect. You might also wonder why a well-running suite of tests is taking a significantly higher amount of time when running on a new version...

    Read more
    froglogic
  • Refactoring in the Squish IDE

    By on February 19, 2019

    A simple way to get started with testing your application with Squish is to record interactions with your application which correspond to the functionality you want to exercise. Once the recording is complete, Squish generates a test script in your preferred scripting language, containing those actions you performed on...

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

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

    Read more
    froglogic
  • Transitioning from Recorded Tests to Written Tests

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

    Read more
    froglogic
  • Code Coverage for C# Programs With Visual Studio

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

    Read more
    froglogic
  • Squish 6.5 Upcoming Feature: OCR Support

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

    Read more
    froglogic
  • Making Use of JavaScript Modules

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

    Read more
    froglogic