Tip of the Week

  • Find unused functions in C/C++ code with coverage analysis

    By on September 18, 2018

    Unused functions impact maintenance Unused functions in a software project can cause code bloat, but they also create more work for the developers of tests, especially in the situation where code coverage (the quality) of tests is being measured. If a function is not used, then removing it from...

    Read more
    froglogic
  • Lesser known tips on BDD testing using Squish

    By on September 4, 2018

    Behavior-Driven Development (BDD) is an extension of the Test-Driven Development approach which puts the definition of acceptance criteria at the beginning of the development process as opposed to writing tests after the software has been developed. With possible cycles of code changes done after testing. Behavior Driven Tests are...

    Read more
    froglogic
  • Live update of Python code during debugging, using builtin reload()

    By on August 28, 2018

    Introduction When debugging a Test Script, one can use Python’s built-in reload() from the Squish Script Console to get recent changes to module functions in the currently running Test Execution. Debugging Python Test Scripts While debugging your Test Scripts in the Squish IDE, the Script Console might come in...

    Read more
    froglogic
  • Finding and editing dead code with Coco

    By on August 21, 2018

    As part of the coverage report, Coco generates a list of lines with dead code. One would often like to remove these lines, but when they are spread over a large project, it requires some effort to navigate the editor to them. This can be made easier with a...

    Read more
    froglogic
  • Use XPath in Squish for Web as Alternative to Object Names

    By on August 7, 2018

    The object names in Squish are a powerful feature, not only with the ability to look up objects, but also to synchronize on them. In Squish 6.4 this became even more flexible with the introduction of the script-based object map. But there are some situations left where the Squish...

    Read more
    froglogic
  • Convert Text-Based Object Maps to Script-Based Object Maps

    By on August 1, 2018

    With Squish 6.4 we introduced script-based object maps, which provide a more powerful way to manage object names. Script-based object maps will enable you to use native script language concepts to organize the object map, to reduce redundancy and to help with dynamic object lookup. In this article I...

    Read more
    froglogic
  • Broadcasting test steps to multiple target systems

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

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

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

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

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

    Read more
    froglogic
  • Migration of image based test suites

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

    Read more
    froglogic