Blog

  • 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
  • Use XPath in Squish for Web as Alternative to Object Names

    By on August 7, 2018

    The object names in Squish are a powerful feature, not only with the ability to look up objects, but also to synchronize on them. In Squish 6.4 this became even more flexible with the introduction of the script-based object map. But there are some situations left where the Squish...

    Read more
    froglogic
  • Convert Text-Based Object Maps to Script-Based Object Maps

    By on August 1, 2018

    With Squish 6.4 we introduced script-based object maps, which provide a more powerful way to manage object names. Script-based object maps will enable you to use native script language concepts to organize the object map, to reduce redundancy and to help with dynamic object lookup. In this article I...

    Read more
    froglogic
  • Broadcasting test steps to multiple target systems

    By on July 24, 2018

    Creating tests for projects which target several different platforms at once can be quite challenging, even if the different versions of tested software and devices have the “same” GUI. I will describe an approach to conveniently tackle such scenarios. Using this approach, test steps are automatically broadcast to each...

    Read more
    froglogic
  • Automate UI Testing of Windows applications under Wine on Linux

    By on July 17, 2018

    If your Windows application runs fine under Wine, you can automate the GUI tests of your application using Squish for Windows running under Wine on Linux too. One reason to try Wine is to get a broader variation of Windows OS’es for finding hard to trigger bugs. Also, compared...

    Read more
    froglogic
  • Documentation Screenshots: Using GUI Test Automation Tool Squish Creatively

    By on July 10, 2018

    Primarily, Squish is a tool to automate GUI tests. However, given the ability to automatically interact with an application, there is a whole lot more we can do with Squish. For example keeping documentation screenshots in the user’s manual up to date has proven to be an annoying and...

    Read more
    froglogic
  • Migration of image based test suites

    By on July 3, 2018

    Squish 6.3 has introduced the concept of image-based testing. It allows to find and interact with the AUT controls without any knowledge about its internal structure. Unlike the object based testing – which is mostly independent of the visual appearance of the GUIs – the image based tests will...

    Read more
    froglogic
  • Taking a parent object snapshot for better results analysis

    By on June 26, 2018

    From the Application Objects context menu, or from the Squish API, Squish can save an object snapshot. The snapshot contains detailed information about object state from the moment when the snapshot was taken. The snapshot lists object structure, all properties and their values, not only for the selected object...

    Read more
    froglogic
  • Replay Squish tests using the ‘squishtest’ module

    By on June 19, 2018

    Why? Since 5.1, Squish offers a squishtest Python module. It lets you use Squish as a module in Python scripts without involving the squishrunner. If using the squishtest module helps you improve your testing efforts but you already have a lot of existing testcases (written in Python), this might...

    Read more
    froglogic
  • BDD Test Cases in Squish: Clean Up After Your Scenarios!

    By on June 12, 2018

    Squish allows creating functional tests for user interfaces in a behaviour-driven (BDD) style, enabling the tester to concentrate on what the user does (“enter user name, confirm login dialog”) instead of how it is done (“enter this, click there”). Leveraging the scripting languages supported, a very elegant scheme for…

    Read more
    froglogic
  • Optimizing Data-driven Tests through Equivalence Partitioning and Boundary Value Analysis

    By on June 5, 2018

    Introduction Automated GUI tests can be designed with configurability in mind, to offer the ability to execute tests with variant input data sets. In this article, I will present the concepts of equivalence partitioning and boundary value analysis. These concepts help to create data-driven tests that lead to rather...

    Read more
    froglogic
  • What is ‘Regression Testing’?

    By on May 29, 2018

    A regression in behavior means an undesirable behavior that was present and fixed once before, or a previous feature that worked before and is now broken. During the process of developing the fix, there should also be an automated test developed, that would fail before and pass after the...

    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
  • 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
Load More