Posts tagged with ‘JavaScript’

  • Use of script language closures

    By on January 30, 2018

    All supported script languages in the automated GUI Testing Tool Squish support closures. In this blog I’ll write up a simple example how closures can be used to unify function calls that seem to have different set of arguments. Assume a test snippet that tests two ways to open a settings dialog,...

    Read more
    froglogic
  • Squish tip of the week: Ensuring that functions are always called pairwise

    By on March 9, 2016

    Some functions in Squish need to be called in pairs to work correctly. For example fixateResultContext and restoreResultContext should go always together just like startsection and endSection. This is crucial in order to prevent any malfunctioning script behavior and misleading test results.

    Read more
    froglogic
  • Measuring QML Coverage

    By on October 2, 2014

    Last year we started receiving the first requests for QML coverage. “Sure. We’ll look into it.”, we replied. It seemed like a logical extension of our cross-language coverage tool Squish Coco. At least on first sight. At this year’s Qt Contributors’ Summit the question came up independently in one...

    Read more
    froglogic