Tip of the Week

  • BDD Test Cases in Squish: Clean Up After Your Scenarios!

    By on juin 12, 2018

    Squish allows creating functional tests for user interfaces in a behaviour-driven (BDD) style, enabling the tester to concentrate on what the user does (« enter user name, confirm login dialog ») instead of how it is done (« enter this, click there »). Leveraging the scripting languages supported, a very elegant scheme for…

    En savoir plus
    froglogic
  • Optimizing Data-driven Tests through Equivalence Partitioning and Boundary Value Analysis

    By on juin 5, 2018

    Introduction Automated GUI tests can be designed with configurability in mind, to offer the ability to execute tests with variant input data sets. In this article, I will present the concepts of equivalence partitioning and boundary value analysis. These concepts help to create data-driven tests that lead to rather...

    En savoir plus
    froglogic
  • What is ‘Regression Testing’?

    By on mai 29, 2018

    A regression in behavior means an undesirable behavior that was present and fixed once before, or a previous feature that worked before and is now broken. During the process of developing the fix, there should also be an automated test developed, that would fail before and pass after the...

    En savoir plus
    froglogic
  • 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
  • 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
  • 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