Beiträge markiert mit ‘script’

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

    Weiterlesen
    froglogic
  • Overriding Squish functions

    By on Februar 1, 2017

    Motivation There may be cases where one wants to change the behavior of the functions provided by Squish. For example, even though the default timeout of waitForObject() is 20 seconds (which usually is enough for a GUI control to be „visible and enabled“), in some rare cases one may...

    Weiterlesen
    froglogic
  • Upcoming feature „script-based object map“

    By on Januar 18, 2017

    Upcoming feature: Script-Based Object Map In July 2016 two blog articles presented an alternative script-based Object Map approach for advanced management of object names. The idea is to use script language variables instead of string-based Symbolic Names for object look-up and interaction functions. As shown in the examples below,...

    Weiterlesen
    froglogic
  • Improved Management Of Object Names – Part 2

    By on Juli 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...

    Weiterlesen
    froglogic
  • Improved Management Of Object Names

    By on Juli 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...

    Weiterlesen
    froglogic
  • Squish tip of the week: How to Record after a Breakpoint

    By on Mai 25, 2016

    In some cases it is necessary to extend an existing test case with further actions. However, it would be tedious to have to re-record the entire test from scratch. For example just to click an additional icon or button in the test. One solution it to edit the test...

    Weiterlesen
    froglogic