Tip of the Week

  • Unit tests for Qt-based applications with Catch

    By on April 10, 2018

    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 tests are one central piece of testing this backend code.

    Weiterlesen
    froglogic
  • What exactly is cyclomatic complexity?

    By on April 3, 2018

    The cyclomatic complexity is a measurement of the code complexity proposed by Thomas J. 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...

    Weiterlesen
    froglogic
  • New Property for Identification of WPF Images

    By on März 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.

    Weiterlesen
    froglogic
  • Run Squish IDE with custom preferences

    By on März 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...

    Weiterlesen
    froglogic
  • Iterating over Tables in a Qt GUI Test

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

    Weiterlesen
    froglogic
  • How to modify the waitForObject() timeout

    By on Juli 6, 2016

    Troubleshooting a script can be long and exhausting especially if there are objects which can not be found. Fortunately, we can adjust the timeout duration for waitForObject to save us some time. By default the duration of waitForObject is 20000 milliseconds (20 seconds), which looks like this:   During...

    Weiterlesen
    froglogic
  • Squish tip of the week: Create cross-platform tests automatically

    By on Mai 21, 2014

    Did you know cross-platform and cross-browser apps can be automated using the same Squish tests?

    Weiterlesen
    froglogic