Rebooting a Remote Test Environment From a Test Script
Sometimes we can’t launch our application from our test case, which is often the case if we perform tests on embedded devices, where the AUT is launched during device startup. In such cases, we simply...
View ArticleUpcoming Squish Feature: Remote Control of Test Devices
The ability to work with remote devices is one of Squish’s core features. While extremely powerful, it does not come without its disadvantages. During interactive test script recording it requires...
View ArticleTesting Multiple Instances of the Same Application
In some scenarios, you might need to test multiple instances of your application at the same time, for example if multiple desktop clients access a server. The Squish GUI Tester is capable of handling...
View ArticleSetting Up a Python Virtual Environment with Squish
Python Virtual Environments are great tools for separating different Python configurations on the same machine. Configuring Squish to use a virtual environment gives you the freedom to install...
View Article“Squish is a powerful tool.” Students at Collegium Balticum Get Their First...
Students at Collegium Balticum in Poland participated in a two-day intensive course on the Squish GUI Tester, led by Dr. Marcin Caryk of infinIT Codelab. During the lectures, students initially spent...
View ArticleGUI Test Configuration Through Script Arguments
GUI test exeutions have to be configured for various purposes. Test engineers might want to configure a test in order to use specific test data as input to the Application Under Test. Or the...
View ArticleQASource: How Squish Simplifies Cross-Platform Testing
Here at QASource, our 700+ engineers work with a variety of tools daily to test various software applications in diverse industries for different businesses, from startups to Fortune 500 companies. So...
View ArticleCoco and System Header Files
A C or C++ program always includes header files that are provided by the compiler or the operating system. When they are instrumented by Coco, sometimes unexpected error messages occur. This post...
View ArticleMulti-User, Blackbox Testing with Squish Coco
Software development success is often achieved in a team of engineers, and part of this success is achieved through thorough, comprehensive testing. In some settings, source code is shared among all...
View ArticleHooking Into Java Applications Launched Via Third Party/Custom Launcher...
Sometimes, while trying to automate a Java AUT the hooking fails and the following error is shown: Either the application could not be started or it was started but Squish failed to hook into it. In...
View ArticleImproved Syntax Highlighting for the Script-based Object Map
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...
View ArticleAccessing QQmlContext Properties in Squish Test Scripts
When loading a QML object into a C++ application, it can be useful to embed some C++ data directly that can be used from within the QML code. This makes it possible, for example, to invoke a C++...
View ArticleVerifying the Identity of JSON Texts
Test data might not always be present in the form of line-based file formats, like Comma-separated Values or Tab-separated Values. The JavaScript Object Notation (JSON) format — a lightweight subset...
View ArticleStarting Your AUT Using Absolute Paths in startApplication()
To start an application in a Squish test script using startApplication(), startApplication(name) (where name refers to an entry in the server.ini file), one registers the AUT with its absolute path in...
View ArticleCode Coverage of Multi-Platform Applications
Many applications are now targeting several operating systems. In most cases, the code is similar for each of them and only the toolchain is different (i.e., Visual Studio for Windows, XCode for OS X,...
View ArticleUsing the Squish Function ‘attachFile’ to Your Advantage
Copying test results in the form of files to your test result directory can be automated. Imagine the following scenario: your application interacts with certain files, and those files change from...
View ArticleTesting .NET Core Applications
Recently, Microsoft announced that .NET Core 3.0 will become .NET 5. The majority of .NET Framework libraries, including the GUI toolkits Windows Forms and WPF, are already ported. Since this seems to...
View ArticleVerifying the Visual Order of GUI Elements
This tip demonstrates how to verify that GUI elements are properly arranged from left to right and top to bottom. Verifications in Squish The Squish GUI Tester has several ways to do functional tests...
View ArticleMeasuring Code Coverage on Devices with Limited Memory
In this article, we would like to explore the possibilities that are available to a Squish Coco user if he or she wants to use the tool on devices with limited memory. It is relatively clear that...
View ArticleRunning GUI Tests on Each Commit in GitLab CI/CD
In a recent article, we wrote about running Squish tests on merge requests in GitLab. In this article, we present a solution to run Squish tests on each commit. Overview We invoke the squishrunner...
View Article