Blog

  • Register an application through a testscript

    By on November 13, 2018

    Motivation I am asked fairly frequently, “The path to my application changes on a daily basis. How can I automatically update the path to the squishserver?” This article will show how to change the path to the Application Under Test via a test script. I will use Squish for...

    Read more
    froglogic
  • Happy Diwali!

    By on November 7, 2018

    To our customers in India and elsewhere celebrating the festival of lights Diwali, we at froglogic wish you a celebratory and safe holiday filled with loving family, plentiful feasts, and brightly-lit diyas.  We wish you all a prosperous year, one in which we can continue to provide you with...

    Read more
    froglogic
  • Automating Qt applications packaged as AppImages

    By on November 6, 2018

    Squish for Qt allows automated GUI testing of Qt applications. Typically automating Qt applications with Squish works out of the box. If it doesn’t, then this may be because the application has been packaged in a special way, for example as an “AppImage” which overwrites some environment variables (LD_PRELOAD...

    Read more
    froglogic
  • Squish Day Cambridge October 23rd, 2018

    By on November 2, 2018

    On October 23rd, another successful ‘Squish Day’ took place with more than twenty-five people joining us in the lovely Quy Mill Hotel & Spa, Cambridge.   During a full day filled with talks, presentations, and plenty of opportunities to network, the participants learned from our experts Frerich Raabe and...

    Read more
    froglogic
  • Analyse test reports from automated executions in the Squish IDE

    By on October 30, 2018

    Executing Squish tests regularly in an automated fashion (like in a CI system) is key to a successful test effort. These tests will occassionally fail and then a tester needs to analyze what has caused the failure and possibly adapt the expected values for verifications. The Squish IDE provides...

    Read more
    froglogic
  • Using multiple Firefox profiles from Squish for Web

    By on October 23, 2018

    Introduction All web browsers, when running, store data in a ‘profile’ directory, which contains things like bookmarks, cache, cookies, and offline data. When developing automated regression tests with Squish for Web, the data in the profile can change the behavior of the browser, and sometimes even cause some passing...

    Read more
    froglogic
  • View Squish Test results of merge requests in GitLab

    By on October 16, 2018

    Introduction It’s very important to make automated GUI tests a part of a Continuous Integration (CI) process. Squish offers add-ons for many popular CI tools like Jenkins, Bamboo and TeamCity. The full list is here. If your tool is not on the list, it can be still integrated as...

    Read more
    froglogic
  • Code Coverage with QTest

    By on October 9, 2018

    Today’s tip will show how to measure code coverage for unit tests written using the Qt Test framework (or short QTest). The example A simple example for code that uses Qt which is tested via the Qt Test framework can look like the following. To keep it short the...

    Read more
    froglogic
  • Monitoring long-running tests by intermediary logging of results

    By on October 2, 2018

    Motivation The set of tests being run on an application tends to grow as more features are added, or more bugs are fixed. This comes at the cost of execution times: for example, a test suite that took 30 min could now take 2 hours. Since normal logging info/test results...

    Read more
    froglogic
  • Retrieve code coverage data via a remote debugger connection

    By on September 25, 2018

    Introduction By default, the code coverage tool Squish Coco creates a file with the extension .csexe upon the application exit with the code coverage information of the current execution. When working on an embedded device, this is not convenient because: Some embedded OSes do not have a file system...

    Read more
    froglogic
  • 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
  • Using Squish to automate Qt Installer Framework UI Tests

    By on September 11, 2018

    The Qt Installer Framework got recently support for Squish. In this article you can see how to add Squish support to your installers which are based on this framework.

    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
  • All froglogic employees ISTQB® certified

    By on August 24, 2018

    In accordance to our total quality management philosophy, our company is ISO 9001 certified since 2010. In order to be successful, we want to continuously improve our quality. This includes the constant review of our software tools Squish and Squish Coco and the continuous development of our employees. We...

    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
  • Automating Java Web Start applications

    By on August 14, 2018

    The Squish for Java edition not only supports testing Java Swing/AWT, SWT/Eclipse RCP or JavaFX based applications but also Java Web Start applications. There are two ways to automate an application started via Java Web Start: 1. Start via web browser 2. Start via the tool javaws 1. Start...

    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
Load More