Posts taggés avec ‘Tip of Week’

  • How to log exact mouse click positions within screenshot results

    By on août 10, 2017

    With screenshot verifications, a failed test run shows us the differences between the expected vs actual images, but in some cases, the actual image is missing, or is missing important information. . .  

    En savoir plus
    froglogic
  • Testing Qt Application Manager applications with Squish.

    By on août 3, 2017

    Qt Application Manager (or appman) is a Qt module targeted for embedded devices. It allows you to create rich, Qt Quick-based user interfaces. The module exports an API that allows the Qt Quick GUI to act as a compositing display manager. It supports installing, removing, and life-cycle management of...

    En savoir plus
    froglogic
  • Finding & Fixing Dependencies Between Test Cases

    By on juillet 18, 2017

    Works for me! Did you ever hear yourself uttering those words, or maybe you heard them from a colleague? Tests which work on one system may fail on another. This can happen for many reasons: the application under test (AUT) depends on the operating system on which it is...

    En savoir plus
    froglogic
  • Using HTML5 data attributes in Squish/Web object names

    By on juin 27, 2017

    One of the more challenging aspects of creating Squish tests is the generation of stable object names. The name to identify an object should ideally never match any other object on the screen. And using a name for identifying an object should not include data that is to be...

    En savoir plus
    froglogic
  • Squish Tip: Silent verifications

    By on mai 30, 2017

    Motivation The verification functions provided by Squish have built-in logging that can be augmented or customized, one of this customizations allows to silence the logging of test.vp() calls. In Squish the synchronization between the test script and the application is mostly done via the use of the waitForObject() functions. This means...

    En savoir plus
    froglogic
  • Squish Tip: Customizing QtQuick support

    By on mai 23, 2017

    Motivation Squish supports automating QtQuick 2.x based applications out of the box. One frequently asked question is about custom QML components or custom QtQuick controls and how Squish supports these. Testing QtQuick with Squish is very similar to Web testing in this regard. By default, Squish will record on...

    En savoir plus
    froglogic
  • Squish Tip: Testing Tooltips on Windows

    By on mai 16, 2017

    For many Windows controls (i.e. GUI components) Squish exposes the tooltip property. That property can be checked during a test execution using standard Property Verifications. But how can you check whether the tootlip is really displayed to the end users? You first have to trigger (i.e. display) the tooltip by...

    En savoir plus
    froglogic
  • Squish adds support for web testing with Microsoft Edge

    By on avril 11, 2017

    So far Squish for Web, which supports a wide range of web browsers for automated Web testing, didn’t support Microsoft Edge. The Edge browser was introduced with the release of Windows 10 and is replacing Internet Explorer as the default browser on Windows. With the upcoming release of Squish 6.3 we...

    En savoir plus
    froglogic
  • Debugging Coco with the verbose build mode

    By on mars 28, 2017

    When an application is instrumented with Squish Coco and problems arise, it is often helpful to run the compilation in the verbose build mode. This is especially useful when some of the program files are excluded from the instrumentation. With the verbose build enabled, one can see which files are...

    En savoir plus
    froglogic
  • Define your own Symbolic Names

    By on février 21, 2017

    Usually when Squish adds an object to the Object Map, Symbolic Name is created as a combination of its properties (e.g. caption and type of the selected object). Thanks to that, most of the time it’s easy to identify objects behind these names. However, there are cases where it...

    En savoir plus
    froglogic