Tip: Setting up Squish to attach to running applications in a distributed...
There may be occasions when you want to keep your application running across multiple tests. For these cases, Squish provides the « startaut » tool. While its name has the word ‘start’ in it, this tool...
View ArticleSquish Tip: Good use of the waitFor() function
The Squish script API features a useful function called waitFor; what’s less known is the fact that this function not only supports being called with a script statement but also with an arbitrary...
View ArticleRestarting an Attachable AUT after a failure
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...
View ArticleUpcoming Squish GUI Tester 6.4 Feature: Fuzzy Image Lookup
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...
View ArticleHow to test ‘.msi’ installer packages with Squish for Windows
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...
View ArticleUse of script language closures
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...
View ArticleHow to automate GUI tests for macOS ‘.dmg’ installer images
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...
View ArticleFreeRTOS and code coverage on embedded systems
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...
View ArticleIterating over Tables in a Qt GUI Test
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...
View ArticleUsing the Remote System API to start an AUT on Windows
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...
View ArticleIterating over Tables in a native Mac (Cocoa) GUI Test
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...
View ArticleRun Squish IDE with custom preferences
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...
View ArticleNew Property for Identification of WPF Images
New Property Some WPF Image objects have the property Source in their nativeObject which has ToString() representation that is a path to some local image or image in a resource file. For example, for...
View ArticleUpcoming Feature: Squish TestRail Integration
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...
View ArticleWhat exactly is cyclomatic complexity?
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...
View ArticleUnit tests for Qt-based applications with Catch
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...
View ArticleSquish & Python
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...
View ArticleCoco – How to measure code coverage on embedded systems via CAN Bus
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...
View ArticleNavigate and overlook test script code efficiently
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...
View ArticleScreenshot Verification Points for Menus & other volatile Objects
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...
View Article