Posts tagged with ‘tip of the week’

  • 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
  • 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
  • New Property for Identification of WPF Images

    By on March 20, 2018

    Some WPF Image objects have a string representation of the nativeObject.Source property which can be used for their identification. This property will be exposed as the ‘source’ property of Image objects in the new Squish release 6.4.

    Read more
    froglogic
  • Run Squish IDE with custom preferences

    By on March 14, 2018

    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 same preference settings. To avoid configuration errors, and to help in deploying changes to everyone, the testers...

    Read more
    froglogic
  • Using the Remote System API to start an AUT on Windows

    By on February 27, 2018

    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 interact with the filesystem and to start processes on the system the Squishserver...

    Read more
    froglogic
  • Iterating over Tables in a Qt GUI Test

    By on February 20, 2018

    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 over the items of the table in a GUI test. For example in cases where...

    Read more
    froglogic
  • Use of script language closures

    By on January 30, 2018

    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 different set of arguments. Assume a test snippet that tests two ways to open a settings dialog,...

    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
  • Squish Tip: Good use of the waitFor() function

    By on December 12, 2017

    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 callable value.

    Read more
    froglogic
  • Connect an Oracle database via ODBC to Squish using JavaScript

    By on December 5, 2017

    Squish is able to connect to different databases and excecute all known SQL statements. Most of the databases need to be accessed by the ODBC driver because the database vendor’s license does not permit redistributing their client libraries without owning a license for their product. The creation of a...

    Read more
    froglogic