Posts tagged with ‘Tip of Week’

  • 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
  • Tip: Setting up Squish to attach to running applications in a distributed environment

    By on November 2, 2017

    There may be occasions when you want to keep your application running across multiple tests. For these cases, Squish provides the « startaut » tool. While its name has the word ‘start’ in it, this tool is very powerful, and, in the case of  « startwinaut »,  can also be used...

    Read more
    froglogic
  • Synchronized batch execution of Squish

    By on October 24, 2017

    Squish test execution involves multiple processes which may even run on different machines. Ensuring that all parts are up and running before actual test execution can be challenging sometimes. The following shows a little trick how automated setups can wait for a local or remote squishserver to become available...

    Read more
    froglogic
  • Parallel execution in Squish

    By on October 2, 2017

    With the help of virtual machines one can perform parallel executions in Squish as a time saving strategy. As an application grows, it’s features increase and so do the number of testcases in the corresponding testuite. A testsuite containing a large number of testcases becomes a problem. It takes...

    Read more
    froglogic
  • Automating alternate menus with Squish for Mac

    By on September 19, 2017

    The menus on macOS allow for a menu item to have an alternate version: if you press the “Option” key with an open menu, you see the alternate versions and can select them. For example the Squish addressbook example app has a menu item “Bring All to Front” in...

    Read more
    froglogic
  • Overview of the new file comparison functions in Squish 6.3

    By on September 12, 2017

    With Squish 6.3 we added two new file comparison functions. The objective is to make it easier to verify not just the application state but also the output an application might generate. Squish now offers a general comparison function test.compareTextFiles. This function can be used to compare any type...

    Read more
    froglogic
  • Enabling Squish to hook into Sub-Processes started by the AUT

    By on September 5, 2017

    Often more complex application do not consist of just a single executable. Instead the main application launches sub-processes which also open a user interface. Squish is designed in a way to also hook into sub-processes started by the main application under test (AUT). But depending on the platform and...

    Read more
    froglogic
  • Benefiting from combined usage of Squish and Coco

    By on August 29, 2017

    It is sometimes a good idea to use Squish GUI Tester and Coco in the same project. Squish runs the GUI tests, and Coco measures how much code they cover. A problem that often occurs is however that the instrumented AUT does not write any coverage results.

    Read more
    froglogic