Posts tagged with ‘Tip of Week’

  • Improved Syntax Highlighting for the Script-based Object Map

    By on July 30, 2019

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

    Read more
    froglogic
  • Integrating Java Code Coverage Tools With Squish Tests

    By on April 16, 2019

    In test-driven development, a common challenge is to decide which tests to write and how many are necessary. Ideally, one would have as many tests as there are possible deviations in a program’s behavior. This is often very hard to achieve though, so it is necessary to determine how...

    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
  • 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
  • Monitoring long-running tests by intermediary logging of results

    By on October 2, 2018

    Motivation The set of tests being run on an application tends to grow as more features are added, or more bugs are fixed. This comes at the cost of execution times: for example, a test suite that took 30 min could now take 2 hours. Since normal logging info/test results...

    Read more
    froglogic
  • Retrieve code coverage data via a remote debugger connection

    By on September 25, 2018

    Introduction By default, the code coverage tool Squish Coco creates a file with the extension .csexe upon the application exit with the code coverage information of the current execution. When working on an embedded device, this is not convenient because: Some embedded OSes do not have a file system...

    Read more
    froglogic
  • Lesser known tips on BDD testing using Squish

    By on September 4, 2018

    Behavior-Driven Development (BDD) is an extension of the Test-Driven Development approach which puts the definition of acceptance criteria at the beginning of the development process as opposed to writing tests after the software has been developed. With possible cycles of code changes done after testing. Behavior Driven Tests are...

    Read more
    froglogic
  • Automating Java Web Start applications

    By on August 14, 2018

    The Squish for Java edition not only supports testing Java Swing/AWT, SWT/Eclipse RCP or JavaFX based applications but also Java Web Start applications. There are two ways to automate an application started via Java Web Start: 1. Start via web browser 2. Start via the tool javaws 1. Start...

    Read more
    froglogic
  • Difference between “Object not found” and “Object not ready” errors

    By on May 22, 2018

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

    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