Blog

  • Starting Your AUT Using Absolute Paths in startApplication()

    By on août 20, 2019

    To start an application in a Squish test script using startApplication(), (where name refers to an entry in the server.ini file), one registers the AUT with its absolute path in the file server.ini, as opposed to hard-coding the path in the test script, and modifying the paths in your...

    En savoir plus
    froglogic
  • Verifying the Identity of JSON Texts

    By on août 13, 2019

    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 of the JavaScript language — gained a lot of popularity as an exchange format when communicating with Web Services...

    En savoir plus
    froglogic
  • Accessing QQmlContext Properties in Squish Test Scripts

    By on août 6, 2019

    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++ method on the embedded object, or use a C++ object instance...

    En savoir plus
    froglogic
  • Improved Syntax Highlighting for the Script-based Object Map

    By on juillet 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...

    En savoir plus
    froglogic
  • Hooking Into Java Applications Launched Via Third Party/Custom Launcher Applications.

    By on juillet 23, 2019

    Sometimes, while trying to automate a Java AUT the hooking fails and the following error is shown: In such cases it is possible that the AUT executable or binary is actually a custom launcher application. The launcher applications are small executable programs which load and start a Java Application....

    En savoir plus
    froglogic
  • Multi-User, Blackbox Testing with Squish Coco

    By on juillet 16, 2019

    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 involved on a given team, but in many cases, the source code is secured, and only parts of...

    En savoir plus
    froglogic
  • Coco and System Header Files

    By on juillet 9, 2019

    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 explains why this happens, when this happens, and what to do about it.

    En savoir plus
    froglogic
  • QASource: How Squish Simplifies Cross-Platform Testing

    By on juillet 8, 2019

    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 it’s safe to say we’ve seen our fair share of software testing tools. Today’s trends in automated testing...

    En savoir plus
    froglogic
  • GUI Test Configuration Through Script Arguments

    By on juillet 3, 2019

    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 Application Under Test itself has to be executed with a variation of program arguments. While...

    En savoir plus
    froglogic
  • « Squish is a powerful tool. » Students at Collegium Balticum Get Their First Training on the Squish GUI Tester

    By on juillet 1, 2019

    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 time learning the basic Squish functions, including creating test suites and test cases and recording their first test...

    En savoir plus
    froglogic
  • Setting Up a Python Virtual Environment with Squish

    By on juin 25, 2019

    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 packages and make changes that aid your testing efforts without compromising your existing Python installation(s). Here we will show you how...

    En savoir plus
    froglogic
  • Testing Multiple Instances of the Same Application

    By on juin 20, 2019

    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 such scenarios from within one test script. We will demonstrate how to write a test...

    En savoir plus
    froglogic
  • Upcoming Squish Feature: Remote Control of Test Devices

    By on juin 12, 2019

    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 interaction with both the Squish IDE and the AUT. Debugging a faulty test script also usually requires preview of...

    En savoir plus
    froglogic
  • Rebooting a Remote Test Environment From a Test Script

    By on juin 4, 2019

    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 attach to the AUT at the beginning of each test. At the same time,...

    En savoir plus
    froglogic
  • Creating Safer Skies: How skyguide Uses the Squish GUI Tester to Improve Safety and Efficiency of the Swiss Airspace

    By on juin 4, 2019

    Skyguide, headquartered in Geneva, Switzerland, is a company with a longstanding history of contribution to the development of Swiss aviation. Today, skyguide provides air navigation services for Switzerland and its adjacent countries to ensure safety of civil and military air navigation through management and monitoring of the Swiss airspace....

    En savoir plus
    froglogic
  • Case Insensitive Matching of Real Name String Properties in froglogic’s Squish

    By on mai 28, 2019

    Motivation In Squish, a symbolic name contains multiple constraints on an object search. These constraints can apply to properties of an object, and compare to object references, strings or numerics. When comparing strings, it is possible for Squish to perform inexact comparisons, using wildcards or regular expressions. Case insensitive...

    En savoir plus
    froglogic
  • Visual Verification Points – Using the VisualVP Editor

    By on mai 22, 2019

    Today we will demonstrate some tips and tricks to using the Squish ‘Visual Verification Point Editor’

    En savoir plus
    froglogic
  • TEST Magazine: Squish for Automation of HMI Tests on Embedded Devices

    By on mai 21, 2019

    Embedded HMIs have seen tremendous growth in their application within the automotive technology sector, a market valued in 2015 at roughly $16 billion (£12.3). In-vehicle infotainment (IVI) systems and human-machine interfaces (HMIs) are technologies in almost all modern consumer cars, providing capabilities for navigation, multi-media playback and safety-critical systems....

    En savoir plus
    froglogic
  • Video: Using pip to Install External Python Modules

    By on mai 15, 2019

    Learn how to use the pip package manager to install additional modules to the Python interpreter that is included in Squish. Add features to the default Python feature set and avoid manual installations. Bootstrap pip: https://bootstrap.pypa.io/get-pip.py Example Requests Library: https://realpython.com/python-requests/

    En savoir plus
    froglogic
  • Using Linux uinput From a Test Script

    By on mai 14, 2019

    With UI testing, one may need the Squish API for so-called native functions. The Squish native functions, as well as the mouse* and keyboard* functions, use the by the windowing system provided methods. Toolkit specific APIs, like mouseClick, may also use native functions but might as well post events...

    En savoir plus
    froglogic