Blog

  • Global initialization and cleanup functions

    By on July 25, 2017

    Squish offers a great way to separate the main body of your test case, initialization and cleanup parts. It can be useful in many cases, simplifies complexity and improves test case readability. In combination with some scripting it can reduce one of the worst enemies of maintainability – code...

    Read more
    froglogic
  • Finding & Fixing Dependencies Between Test Cases

    By on July 18, 2017

    Works for me! Did you ever hear yourself uttering those words, or maybe you heard them from a colleague? Tests which work on one system may fail on another. This can happen for many reasons: the application under test (AUT) depends on the operating system on which it is...

    Read more
    froglogic
  • Squish GUI Testing Case Study: Topcon Agriculture Group replaces manual testing with Squish Automated Tests

    By on July 12, 2017

    Topcon Agriculture Group makes a line of Console Displays, GPS systems running embedded Linux and software written in Qt. For 5 years, Topcon has been using froglogic Squish to develop and run almost 1000 automated tests against these devices saving their field testers a lot of time: “Within the first year...

    Read more
    froglogic
  • Keyboard shortcuts in the Squish IDE

    By on July 4, 2017

    Keyboard shortcuts Since the Squish IDE is based on Eclipse it has a lot in common with it, for example the keyboard shortcuts functionality. For me keyboard shortcuts are very important, because they are a way to… boost my productivity (perceived as well as actual – at least I...

    Read more
    froglogic
  • Using HTML5 data attributes in Squish/Web object names

    By on June 27, 2017

    One of the more challenging aspects of creating Squish tests is the generation of stable object names. The name to identify an object should ideally never match any other object on the screen. And using a name for identifying an object should not include data that is to be...

    Read more
    froglogic
  • Accessing a SQL database from your JavaScript Test

    By on June 19, 2017

    A common task in GUI tests is to automate entering some data into forms. To properly test and verify such scenarios, it is often necessary to interact with the database backend from the test. As an example, let’s take the evaluation form on our website and assume we’d like...

    Read more
    froglogic
  • Squish Tip: Using startSection/endSection to improve test result readability

    By on June 13, 2017

    Sections are especially useful for marking groups of related results in data-driven testing, and also for describing a hierarchy of test results, where simple log messages will simply not suffice.

    Read more
    froglogic
  • Approaches to creating BDD Scenarios

    By on June 6, 2017

    Behavior Driven Development uses conversations around concrete examples of system behavior to get a common understanding of features that are going to be implemented. This is the heart of BDD, as the quality of those examples affects the whole development process. How to organize this conversation in practice? There...

    Read more
    froglogic
  • Squish Tip: Silent verifications

    By on May 30, 2017

    Motivation The verification functions provided by Squish have built-in logging that can be augmented or customized, one of this customizations allows to silence the logging of test.vp() calls. In Squish the synchronization between the test script and the application is mostly done via the use of the waitForObject() functions. This means...

    Read more
    froglogic
  • Squish Tip: Customizing QtQuick support

    By on May 23, 2017

    Motivation Squish supports automating QtQuick 2.x based applications out of the box. One frequently asked question is about custom QML components or custom QtQuick controls and how Squish supports these. Testing QtQuick with Squish is very similar to Web testing in this regard. By default, Squish will record on...

    Read more
    froglogic
  • Squish Tip: Testing Tooltips on Windows

    By on May 16, 2017

    For many Windows controls (i.e. GUI components) Squish exposes the tooltip property. That property can be checked during a test execution using standard Property Verifications. But how can you check whether the tootlip is really displayed to the end users? You first have to trigger (i.e. display) the tooltip by...

    Read more
    froglogic
  • Squish Coco: MC/DC Coverage and Short Circuit Explained

    By on May 9, 2017

    Modified Condition/Decision Coverage (MC/DC) is a code coverage metric that is referred to in many safety standards as the highest level of quality. It was first defined to provide an intermediate metric between condition and multiple-condition coverage for integrated circuits. Whereas plain condition coverage was considered too simple, the...

    Read more
    froglogic
  • Testing same named AUTs in Squish

    By on May 2, 2017

    We often get asked what is the best approach for testing two AUTs with same name in Squish. Consider an example where a user wants to test two different versions of an AUT located at two different paths and both AUTs are calledfoo.exe. The information about the registered AUTs...

    Read more
    froglogic
  • Support for testing Chromium-based desktop applications with Squish for Web

    By on April 25, 2017

    Motivation Adding HTML/Web support to a desktop application, or even providing a desktop application that’s almost completely built with Web technologies, is quite a popular way of providing modern and fast-evolving user interfaces and applications. There are some projects that embed an almost complete web browser into the application,...

    Read more
    froglogic
  • How to design good BDD steps

    By on April 18, 2017

    Some time ago I started to work on a new product and we decided to do the tests with BDD. I learned some lessons from the experience of doing real world BDD tests. Designing good BDD steps is especially an ongoing process. In this blog article I want to...

    Read more
    froglogic
  • Squish adds support for web testing with Microsoft Edge

    By on April 11, 2017

    So far Squish for Web, which supports a wide range of web browsers for automated Web testing, didn’t support Microsoft Edge. The Edge browser was introduced with the release of Windows 10 and is replacing Internet Explorer as the default browser on Windows. With the upcoming release of Squish 6.3 we...

    Read more
    froglogic
  • How to execute only desired BDD scenarios

    By on April 4, 2017

    When doing BDD testing sometimes there is a need to execute only certain scenarios instead of all the scenarios of the feature file. Tags are a great way to organize/group your Scenarios. One can use squishrunner’s  --tags option to execute just those BDD secnarios which match a given tag...

    Read more
    froglogic
  • Debugging Coco with the verbose build mode

    By on March 28, 2017

    When an application is instrumented with Squish Coco and problems arise, it is often helpful to run the compilation in the verbose build mode. This is especially useful when some of the program files are excluded from the instrumentation. With the verbose build enabled, one can see which files are...

    Read more
    froglogic
  • Verifying Custom Properties of a QObject in Squish

    By on March 23, 2017

    If you’re testing a Qt-based application with Squish, you probably know the problem: one of your classes has custom properties you would really like to verify, but you cannot seem to get hold of it from a test script. First the bad news: making it available requires changing your...

    Read more
    froglogic
  • Code Coverage Case Study: Learn How InnovMetric Software Benefits from Squish Coco

    By on March 21, 2017

    InnovMetric Software Inc., the leading provider of universal 3D metrology software solutions, started to use froglogic’s Code Coverage Tool Squish Coco in 2015. The main objective was to understand how much of their applications’ code is properly tested by their 15,000+ tests. After some time InnovMetric’s engineers concluded: “Coco...

    Read more
    froglogic
Load More