Posts tagged with ‘Tech Article’

  • Difference between “Object not found” and “Object not ready” errors

    By on May 22, 2018

    Unsuccessful 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...

    Read more
    froglogic
  • Upcoming Squish GUI Tester 6.4 Feature: Fuzzy Image Lookup

    By on January 16, 2018

    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 and interaction by clicking or tapping at the found position. It is the only way to...

    Read more
    froglogic
  • Verify objects that appear only for short durations

    By on November 21, 2017

    Many applications that carry out a long-running task in the background display a dialog indicating the progress of the task. The dialog may block access to the application too if other actions do not make sense while the task is running. These dialogs usually appear and disappear by themselves,...

    Read more
    froglogic
  • Squish Tip: Synchronization with waitUntilObjectReady()

    By on November 14, 2017

    waitUntilObjectReady() is a callback function that by default, does nothing, but it can be defined in your test scripts to do anything you want. The method is called just before waitForObject() returns, and gets as an argument, the object that Squish thinks is now ready to get events. It...

    Read more
    froglogic
  • Debug Qt application while running Squish GUI tests

    By on November 10, 2017

    Some issues with Application Under Tests (AUT) appear only when a test is executed with Squish. For some cases, it’s easier run our test scenario with Squish than repeating it manually. To get a detailed information about the state of our AUT during a test execution, you can attach...

    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
  • Define your own Symbolic Names

    By on February 21, 2017

    Usually when Squish adds an object to the Object Map, Symbolic Name is created as a combination of its properties (e.g. caption and type of the selected object). Thanks to that, most of the time it’s easy to identify objects behind these names. However, there are cases where it...

    Read more
    froglogic
  • Overriding Squish functions

    By on February 1, 2017

    Motivation There may be cases where one wants to change the behavior of the functions provided by Squish. For example, even though the default timeout of waitForObject() is 20 seconds (which usually is enough for a GUI control to be “visible and enabled”), in some rare cases one may...

    Read more
    froglogic
  • Improved Management Of Object Names – Part 2

    By on July 25, 2016

    In a previous blog entry, we introduced an alternative, script-based, approach to maintaining a mapping of symbolic names (variables) to the actual object names (strings). By using script variables instead of free-form strings, the mapping was no longer stored in a separate text file but instead it was brought...

    Read more
    froglogic
  • Improved Management Of Object Names

    By on July 19, 2016

    TL;DR: Using plain script language variables over the standard objects.map file simplifies refactoring and maintenance at the expense of losing the ability to generate (or reuse) the names when recording. NOTE: Throughout this blog article, we will use the JavaScript language for code samples. Everything shown here can be...

    Read more
    froglogic