Blog

  • Squish tip of the week: Object Not Found Dialog

    By on October 5, 2016

    When does the Object Not Found Dialog appear? The object not found dialog automatically shows up during the execution of tests in the Squish IDE if a “waitForObject” command runs into a specified (or default) timeout. Furthermore, the dialog will show the error message generated for the lookup error and the object name for which the lookup was executed.

    Read more
    froglogic
  • Advantages of Automated GUI Testing

    By on September 28, 2016

    Manual vs. Automated Testing has always been a point of debate among software professionals but what are really the benefits of Automated Software Testing you may ask. What exactly is Automated Testing? Essentially, Test Automation is using code to create a program that performs automated tests for your software. The difference to manual testing is instead of actually performing the test one creates an automated testing scenario and is supervising it. Test automation is, therefore, most commonly used for regression testing, which seeks out new bugs in a program and separates them. (Regression tests are very tedious and time-consuming) One other area of code-driven testing is user simulation to replicate typical user interaction using automated keystrokes and mouse clicks where the software GUI response is recorded and analyzed. Keys to Automated GUI Testing and Continuous Integration There are certain factors and keys to successful automated GUI testing and continuous...

    Read more
    froglogic
  • Open source C++ execution trace framework

    By on September 15, 2016

    At froglogic, we’re big fans of open source software. A large part of our engineering (and management!) staff contributed or contributes to open source projects, and everyone visiting our offices for a job interview certainly gets a big +1 in case she can show off some open source work! We also use a lot of open source software for our daily work, ranging from obvious projects like Git or the Linux kernel to individual libraries serving very specific purposes; the Acknowledgements Chapter of the Squish manual gives an impression of how tall the giants are upon whose shoulders we’re standing. Over the last couple of years we contributed back various bug fixes and improvements to different projects we’re using, but we’d like to step things up a little bit. Hence, we now open-sourced an internally developed C++ framework called ‘TraceTool’ and made it available under the LGPL v3 license...

    Read more
    froglogic
  • Squish 6.1 Release with Visual Verification Points

    By on September 13, 2016

    About twelve months after the release of Squish 6.0, we are proud and excited to make available Squish 6.1 which delivers several new features including: * Visual Verification Points * Window and Screen API * QtWebEngine support * Improved Squish installer

    Read more
    froglogic
  • Squish tip of the week: Automating Multiple Applications with Multiple Squish Installations or Editions

    By on September 7, 2016

    Did you know that it is possible to use multiple Squish editions in a single test script? The following example describes the setup and workflow for such scenario utilizing Squish for Qt and Squish for Web. Install Squish for Qt. Install Squish for Web. Create a Squish for Qt test suite with the Squish for Qt IDE. Create a Squish for Web test suite with the Squish for Web IDE.

    Read more
    froglogic
  • Squish tip of the week: Automation Setup on Windows

    By on August 24, 2016

    There are situations in which test scripts will hang and time out on Windows while executing. Most of this cases involve the lack of drawing/painting the application on the “screen”. The underlying problem is that if the GUI of the application cannot be rendered, its objects do not have coordinates on the screen and testing software, like Squish, cannot find out where to perform a mouse click. “The AUT did not respond to network communication” would be one indication of a test script execution problem in the error log.

    Read more
    froglogic
  • QtCon: Squish for Qt Training in Berlin

    By on August 23, 2016

    On September 1st, as part of the QtCon conference, our partner KDAB hosts a day of training. This training day allows you to gain knowledge in several Qt-related topics, including automated Qt GUI testing with Squish for Qt. froglogic‘s ISTQB-certified Senior Software Trainer Florian Turck will conduct the full-day Squish for Qt training and share his in-depth experience of effectively using Squish. Seats for the training are still available. Register for QtCon here: https://conf.qtcon.org/en/session/new?conference_acronym=qtcon

    Read more
    froglogic
  • Bug Location with Squish Coco 3.4

    By on August 17, 2016

    Locating a software failure can be a tenuous and a time intensive operation due to the fact of the explosion of the source code size and their test suite. Also the complexity of some software imposes an organization in which the test team is separated from the development teams. In this condition, it is generally difficult to find with a simple test report the code parts responsible for a bug. A common way to facilitate the correction is to provide additional information like code dumps, execution traces, screen shots… Code coverage metrics can also be provided. This metrics consists of recording if a source code item was executed or not. This is less precise that execution traces, but it has the advantage that this information is always available for the project on which it is also used to measure the quality of the code. One way to use this...

    Read more
    froglogic
  • Squish tip of the week: Automated Qt and QML GUI testing with Squish (Webinar)

    By on August 17, 2016

    View a full recording of the webinar* about automated Qt and QML GUI testing with Squish. During the Webinar, several questions were answered which can be found below the video. View more Webinars and Tutorials in our Video Library.

    Read more
    froglogic
  • Visual Testing of elements and controls with Visual Verification Points

    By on August 10, 2016

    What is Visual Testing? Visual testing is a testing activity that aims to verify the presentation properties of a GUI object under various conditions. Testing of GUI based systems and software consists of the validation of both the GUI visual layout and its functionality. Visual testing provides developers with the ability to monitor what was happening at the point of software failure by presenting the data in such a way that the developer can efficiently find this information. For example, checking that a given object has the correct font size can be handled in isolation, while verifying that two objects are appropriately aligned will require comparing the position properties of both of them.

    Read more
    froglogic
  • Squish tip of the week: How to setup a Jenkins slave to run Squish tests

    By on August 3, 2016

    Did you know that you can use Jenkins to run Squish tests? Jenkins, previously known as Hudson, is an open source tool for continuous integration* written in Java. Many companies use Jenkins to deploy and automate projects for their software life circle.

    Read more
    froglogic
  • Improved Management Of Object Names – Part 2

    By on July 25, 2016

    In a previous blog entry, we introduced an alternative, script-based, approach to maintaining a mapping of symbolic names (variables) to the actual object names (strings). By using script variables instead of free-form strings, the mapping was no longer stored in a separate text file but instead it was brought into the domain of the programming language, thus enabling a lot of tooling support e.g. for renaming symbolic names or finding references of a symbolic name in the test code. However, there are still some annoyances related to managing object names like this, most notably caused by the fact that the actual object names are still plain strings: Object Names As Strings Cause Trouble Composing object names is awkward and error-prone. For instance, assume that there are two object names for an imaginary Add User dialog and an OK button in the objectsmap.js file we introduced in the previous blog...

    Read more
    froglogic
  • Improved Management Of Object Names

    By on July 19, 2016

    TL;DR: Using plain script language variables over the standard objects.map file simplifies refactoring and maintenance at the expense of losing the ability to generate (or reuse) the names when recording. NOTE: Throughout this blog article, we will use the JavaScript language for code samples. Everything shown here can be expressed in any of the programming languages shipped by Squish though, usually with only minor syntactic changes. Object Names To reference controls in a user interface, Squish uses so-called ‘multi property names’ in test scripts. Such names are basically strings using a dictionary-like notation to express a set of constraints which any matching object has to satisfy. For instance, the name matches the first found object for which the type property has the value Button and the text property has the value OK. Object names can also be nested to express relationships between objects. For instance, the name would match...

    Read more
    froglogic
  • Squish tip of the week: How to modify the WaitForObject timeout

    By on July 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 the given time Squish will check if the object can be located, is visible and enabled. If this is the case, the script continues otherwise returns an error and stops.

    Read more
    froglogic
  • Squish 6.1 Beta with Visual Verification Points

    By on July 5, 2016

    About ten months after the release of Squish 6.0, we are proud and excited to make available a BETA of Squish 6.1 to you. The main new features of this release is an innovative approach to visual verifications; convenient application window and screen control as well as general improvements to Squish. You can read the full announcement at https://www.froglogic.com/news-events/index.php?id=squish-6.1-beta-released.html We are looking forward to your feedback which we happily accept at squish@froglogic.com.

    Read more
    froglogic
  • Squish tip of the week: How to Automate a Modern UI Windows Store App

    By on June 29, 2016

    Did you know that Squish supports automating Modern UI/Windows Store apps (also called Metro applications) when used on the Windows desktop*? If an application offers information about its GUI objects via UI Automation, it is possible to automate the application with Squish and the supported Microsoft’s UI Automation API. How to inspect an Application or GUI Control for UI Automation Support With the Microsoft Inspect tool (direct download) it is possible to check whether an application (or a particular GUI control in an application) exposes/supports UI Automation.

    Read more
    froglogic
  • Squish tip of the week: How to look up Windows control class names

    By on June 22, 2016

    When a window is created, an application defines a window class, which is registered with the system. This class defines various properties of the window like the window title, background color, cursor and the window class name itself. But how to get a Windows control class name? Class names of Windows controls can be looked up with tools like Spy++ or AU3_Spy.

    Read more
    froglogic
  • Squish tip of the week: Changing the Web Browser used for Automation

    By on June 15, 2016

    Did you know that Squish for Web supports test automation scripts that run your test suite several times, each time using a different browser? There are two ways to configure web browser in Squish: 1. Squish IDE Go to Edit > Server Settings > Manage AUTs…

    Read more
    froglogic
  • froglogic enters partnership with E.S.L. to expand into Israel

    By on June 14, 2016

    Hamburg, Germany (2016-06-14) E.S.L. and froglogic GmbH today announced a strategic partnership to distribute and support froglogic’s Squish GUI Tester and Squish Coco products in the market of Israel. E.S.L. will promote and resell Squish GUI Tester and Squish Coco in Israel and provide local, technical support services to their customers. Squish GUI Tester is the market leading, functional test automation tool for cross-platform and cross-device GUI testing on desktop, embedded, mobile platforms and web browsers. Squish Coco is the professional, cross-platform C, C++, C# and Tcl code coverage analysis tool. Both tools are used in more than 3,500 QA and development organizations around the world.

    Read more
    froglogic
  • Squish tip of the week: Show View Action

    By on June 8, 2016

    Squish provides various views which are not shown all the time to unclutter and tidy up the Squish interface. However, sometimes specific views are needed. So how do you access them? The easiest way is the so-called “Show View action” which is useful to open a view that isn’t already open. One way to open a new view is by clicking Window > Show View and to choose from the listed submenu. If the wanted view is not visible, click the “Other…” option to pop up the Show View dialog.

    Read more
    froglogic
Load More