Enhancements to TestSmith in version 1.3

08 November 2004, 30 May 2005, 16 June 2005


FEATURES: additional functionality, GUI improvements
  1. New-style Variable Declarations

    The DECLARE directive has been deprecated in favour of the two more specific directives DECLARE_INT and DECLARE_STR. These directives will declare the variable and set both its type and its default value.

  2. In-Out Parameters

    Seventeen parameters now have in-out behaviour and can be used in the same way that user-defined variables can be used. See the Implicit Variables section of the TestSmith Variables page of the User Guide for more information on the use of these parameters/variables.

  3. String Manipulation

    Three parameters have been added which allow for manipulation of string values when assigning to variables. See String Manipulation for more information.

  4. Special System Values

    A set of constant names representing system values are now available. See the Special System Values section of the TestSmith Variables page of the User Guide for details.

  5. New Commands

    valWindowText
    htmlWriteMsg
    sendAlert
    _exitsub

  6. New Parameters

    vpixelhash
    vseektype
    stroffset
    strlength
    strtrim
    wwidth
    wheight
    elapsed
    const

  7. New Directives

    DECLARE_INT
    DECLARE_STR
[return to top]




CHANGES: redesign of existing functionality, fine-tuning
  1. Object parameters used in bitmap validation

    valBitmap & valSeekItem now include the Windows object params (wnum, wtitle, wclass, wcid, wpclass) when appropriate.

  2. Multiple values for bitmap validations

    The new vpixelhash parameter can accept multiple values. This allows the same command to work on different screen resolutions and color depths. The use of this new parameter deprecates vchecksum, vseekkey and vvariation.

  3. Comparison of binary files

    The fCompare command now works with binary files as well as text files. This allows the comparison of, for example, two image files.

  4. SET commands in sub-scripts

    Previously all SET directives had to be defined in the main script. Now special sub-scripts can also define SET directives.

  5. Readable key names recorded

    The kkey parameter is now recorded with readable in key names in the most common cases.

  6. PlaySmith command-line output updated

    PlaySmith command-line output now includes the '!' character to represent an error.

[return to top]




BUG FIXES: the following bugs have been resolved [return to top]




UPDATE v1.3.1 (05-05-30)
  1. Added the htmlSaveImg command.
  2. Added the grabfocus parameter for ms and kb commands.
  3. Added the voutline parameter for valBitmap command.
  4. Fixed the following bugs:
    [# 022] Yahoo! login script fails with new My Yahoo! page
    [# 023] Variable replacements fail for time parameters
UPDATE v1.3.2 (05-06-16)
  1. Added the valHtmlTitle command and associated htitle and htitle~ parameters.
  2. Added the valHtmlUrl command and associated url~ parameter.
  3. Fixed the following bugs:
    [# 024] TextPad® syntax file not updated with v1.3.1 changes
    [# 025] Selecting an item from the Windows "Start" sub-menu may fail
  4. The User Guide has been redesigned and updated.
  5. The source code for TSCAPI is now included with the installation.  It is intended as a reference implementation for designing your own language-specific API.  The source is contained in the tscapi_src.zip archive in the \QualityForge\TestSmith\TSCAPI\src directory.
[return to top]