Archiver pour 2018

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

    En savoir plus
    froglogic
  • SQLite driven testing using Javascript

    By on mai 16, 2018

    Data Driven Testing (DDT) is a method to structure tests. It is recommended for a huge set of data which may grow in the future. Code has to be written only once and new data can be fed into the test without touching the code at all which is...

    En savoir plus
    froglogic
  • Screenshot Verification Points for Menus & other volatile Objects

    By on mai 8, 2018

    Creating a screenshot verification point (VP) usually consists of these steps: Bring the AUT into the desired state. Pick the desired object. In Application Objects view check the checkbox besides the object. However, if the object is a volatile object, for example a menu, then picking it may be...

    En savoir plus
    froglogic
  • Navigate and overlook test script code efficiently

    By on avril 30, 2018

    Creating and maintaining Squish tests requires a fair bit of editing the test scripts. It can become very tedious to navigate in bigger script files with arrow keys or by searching. In this article I present means to navigate directly to script functions and types. The navigation also provides...

    En savoir plus
    froglogic
  • Coco – How to measure code coverage on embedded systems via CAN Bus

    By on avril 24, 2018

    Introduction Squish Coco generates the code execution measurement using streams and by default, the output of these streams is piped to a file on the file system. For embedded devices without a file system, this leads to problems. Squish Coco allows you to redirect the measurements stream via Custom...

    En savoir plus
    froglogic
  • Squish & Python

    By on avril 17, 2018

    Squish is shipped with different scripting languages allowing to start recording or writing tests cases in any of them without lengthily setup. The list is: Ruby, JavaScript, Perl, Tcl and the one of interest in this article Python. The intent of this article is to provide information that might...

    En savoir plus
    froglogic
  • Unit tests for Qt-based applications with Catch

    By on avril 10, 2018

    Unit tests for Qt-based applications with Catch Squish for Qt is a perfect fit for testing Qt based user interfaces, however an application always consists of quite some backend code as well. Unit tests are one central piece of testing this backend code.

    En savoir plus
    froglogic
  • What exactly is cyclomatic complexity?

    By on avril 3, 2018

    The cyclomatic complexity is a measurement of the code complexity proposed by Thomas J. McCabe which is often considered as a magic number which allows us to measure the complexity of a program. It is common to say that a function with a cyclomatic complexity higher than 10 is...

    En savoir plus
    froglogic
  • Upcoming Feature: Squish TestRail Integration

    By on mars 27, 2018

    If your team is working with many different testing frameworks, you might have already adopted a test management tool to organize and get an overview of your testing efforts. One such tool is TestRail from Gurock. To make things easier for you, we are working on automating the synchronization...

    En savoir plus
    froglogic
  • New Property for Identification of WPF Images

    By on mars 20, 2018

    Some WPF Image objects have a string representation of the nativeObject.Source property which can be used for their identification. This property will be exposed as the ‘source’ property of Image objects in the new Squish release 6.4.

    En savoir plus
    froglogic