Tip of the Week

  • Broadcasting test steps to multiple target systems

    By on Juli 24, 2018

    Creating tests for projects which target several different platforms at once can be quite challenging, even if the different versions of tested software and devices have the „same“ GUI. I will describe an approach to conveniently tackle such scenarios. Using this approach, test steps are automatically broadcast to each...

    Weiterlesen
    froglogic
  • Automate UI Testing of Windows applications under Wine on Linux

    By on Juli 17, 2018

    If your Windows application runs fine under Wine, you can automate the GUI tests of your application using Squish for Windows running under Wine on Linux too. One reason to try Wine is to get a broader variation of Windows OS’es for finding hard to trigger bugs. Also, compared...

    Weiterlesen
    froglogic
  • Documentation Screenshots: Using GUI Test Automation Tool Squish Creatively

    By on Juli 10, 2018

    Primarily, Squish is a tool to automate GUI tests. However, given the ability to automatically interact with an application, there is a whole lot more we can do with Squish. For example keeping documentation screenshots in the user’s manual up to date has proven to be an annoying and...

    Weiterlesen
    froglogic
  • Migration of image based test suites

    By on Juli 3, 2018

    Squish 6.3 has introduced the concept of image-based testing. It allows to find and interact with the AUT controls without any knowledge about its internal structure. Unlike the object based testing – which is mostly independent of the visual appearance of the GUIs – the image based tests will...

    Weiterlesen
    froglogic
  • Taking a parent object snapshot for better results analysis

    By on Juni 26, 2018

    From the Application Objects context menu, or from the Squish API, Squish can save an object snapshot. The snapshot contains detailed information about object state from the moment when the snapshot was taken. The snapshot lists object structure, all properties and their values, not only for the selected object...

    Weiterlesen
    froglogic
  • Replay Squish tests using the ’squishtest‘ module

    By on Juni 19, 2018

    Why? Since 5.1, Squish offers a squishtest Python module. It lets you use Squish as a module in Python scripts without involving the squishrunner. If using the squishtest module helps you improve your testing efforts but you already have a lot of existing testcases (written in Python), this might...

    Weiterlesen
    froglogic
  • BDD Test Cases in Squish: Clean Up After Your Scenarios!

    By on Juni 12, 2018

    Squish allows creating functional tests for user interfaces in a behaviour-driven (BDD) style, enabling the tester to concentrate on what the user does („enter user name, confirm login dialog“) instead of how it is done („enter this, click there“). Leveraging the scripting languages supported, a very elegant scheme for…

    Weiterlesen
    froglogic
  • Optimizing Data-driven Tests through Equivalence Partitioning and Boundary Value Analysis

    By on Juni 5, 2018

    Introduction Automated GUI tests can be designed with configurability in mind, to offer the ability to execute tests with variant input data sets. In this article, I will present the concepts of equivalence partitioning and boundary value analysis. These concepts help to create data-driven tests that lead to rather...

    Weiterlesen
    froglogic
  • What is ‚Regression Testing‘?

    By on Mai 29, 2018

    A regression in behavior means an undesirable behavior that was present and fixed once before, or a previous feature that worked before and is now broken. During the process of developing the fix, there should also be an automated test developed, that would fail before and pass after the...

    Weiterlesen
    froglogic
  • Difference between „Object not found“ and „Object not ready“ errors

    By on Mai 22, 2018

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

    Weiterlesen
    froglogic