Test Script Runner Changelog

What's new in Test Script Runner 5.0

Sep 26, 2013
  • Added Test Result Summary to Batch Queue Results view.
  • Added Started and Finished times for each iteration of a batch of tests.
  • Allow running of a batch inside a batch.
  • Allow assignment of Test Result to variable.
  • Added ISerialComms interface and SerialComms co-class to allow third party software to use Test Script Runner encrypted serial communications.
  • Added IEncryption interface and Encryption co-class to provide Test Script Runner encryption services to third party software.
  • Assignment of a conditional statement assigns the bool and not the result if the conditional result is passed.
  • Added deleteFile, createdir and removedir to ftp tester

New in Test Script Runner 4.0p (May 14, 2013)

  • New Features:
  • Added action compareFiles to file tester (V2.0).
  • Added .net inter-operability DLL TestScriptRunnerLib.dll to install directory.
  • Added waitforconnected and waitfordisconnected actions to serial tester (V6.0) and allow double timeout on all actions.
  • Added *IDN? Query to script proxy in SCPI mode and allow \r end of line terminator.
  • Added Toggle, SetToggleState and ToggleState to UIAutomationTester.
  • Allow assignment to array index i.e. a[1][1] = 10
  • Added XML Tester that allows you to read XML files.
  • Bug Fixes:
  • Allow action call in condition statement i.e. if a.action() …
  • Allow scanf in array declaration i.e. a = [scanf(…)].

New in Test Script Runner 4.0o (Feb 9, 2013)

  • New Features:
  • Added UIAutomationTester that uses UI Automation to control a windows application. The windows tester has now been deprecated as this new tester is far more powerful. See http://msdn.microsoft.com/en-us/library/ms747327.aspx for an overview of UI Automation.
  • Added ability to open registry for KEY_READ, KEY_WRITE or KEY_ALLACCESS rights via the open action of the Registry tester plugin. This allows the HKEY_LOCAL_MACHINE to be read on a Windows VISTA, 7 or 8 PC without administrator rights.
  • Added a SCPI interface to the ScriptProxy document. Tick the Use SCPI check box when creating or modifying the serial parameters for a Script Proxy document (.tsp)
  • Added string getenv(string name) built in function to return the value of an environment variable.
  • Bug Fixes:
  • Fixed passing of arrays to functions.
  • Fixed creation of arrays via assignment so that any value can be part of the comma separated list.
  • Allow Tester Plugin to return a Boolean.
  • Fixed crash on script termination.
  • Fixed loading of serial parameters in the GUI.

New in Test Script Runner 4.0m (Jan 9, 2012)

  • New Features:
  • Allow assert statement in an assignment [a = assert(false)]
  • Added “Process” serial type to Serial Tester Plug-in to provide command line support.
  • s = new Serial("Process")
  • s.open()
  • s.send("dir\n")
  • s.waitfor("free")
  • s.close()
  • delete s
  • Bug Fixes:
  • Fixed installation of Batch Queue Item Creators on new PC due to missing registry key.
  • Allow currently selected entry in Batch Queue to be deleted.
  • Fixed crash on use of save in Batch Queue when results xml has been loaded.

New in Test Script Runner 4.0l (Sep 26, 2011)

  • New Features:
  • Windows 64 bit support added.
  • Bug Fixes:
  • Corrected parsing of double with exponent.

New in Test Script Runner 4.0k (Sep 26, 2011)

  • New Features:
  • Added Text mode to ”startLoggingToFile” action on Serial Tester Plug-in.
  • Added right justify ‘-‘ option to printf format specification.
  • Added Abort function format Abort(“A Reason String”) to allow script to be aborted due to incorrect test configuration etc.
  • Bug Fixes:
  • Fixed crash in Serial Tester Plug-in when using the tpcpkt or rs232pkt interface.
  • Ensure that failures are logged for local statements.

New in Test Script Runner 4.0j (Sep 26, 2011)

  • New Features:
  • Added %c format to scanf. This returns a single character string or multiple single character strings if width is specified.
  • Added non-printable characters to variable view of strings.
  • Speeded up loading of batch queues.
  • Bug Fixes:
  • Fixed failure to create tester after large number of tests have been run.
  • Fixed %s to use width qualifier.
  • Fixed %[]s to remove leading white space.
  • Fixed status of tcppkt and rs232pkt serial connections.
  • Corrected Serial Tester plug-in documentation for tcppkt and rs232pkt
  • Corrected Boolean operations and assignments.
  • Fixed crash in scanf if no values are returned
  • Fixed crash on termination when /exit is used

New in Test Script Runner 4.0i (Nov 21, 2010)

  • New Features:
  • Changed Serial TCP connection to restart winsock on error
  • Added connection debug to serial plug-in
  • Added tcppkt and serialpkt serial types to provide a simple packet interface
  • on the serial line
  • Added command line options /start to auto start a batch job and /exit to auto exit when complete.
  • Added variable details view – double click on a variable in the variable view window to open the details view.
  • Bug Fixes:-
  • Fixed Proxy Tester ExecuteScriptFile action – please note you are advised to use tcppkt or serialpkt serial type when using a proxy.

New in Test Script Runner 4.0h (Nov 7, 2010)

  • New Features:
  • Added printf and strlen function
  • Added diagnostics trace to TCP connections to determine why a connection has failed.

New in Test Script Runner 4.0g (Oct 31, 2010)

  • New Features:
  • Added check for modified batch results file.
  • Added ScriptDirStr and ScriptDirectoryStr built in variables which provide the script directory without double slashes as per ScriptDir and ScriptDirectory variables.
  • Allow array index access into strings to obtain individual characters.
  • More error information is provided when a Tester Plug-in is declared invalid when being added.
  • Bug Fixes:
  • Closing the application while a batch job is running no longer causes a crash.

New in Test Script Runner 4.0f (Oct 9, 2010)

  • New Features:
  • Added action to send a script file to a proxy.
  • Bug Fixes:
  • Corrected script XSL style sheet to prevent excessive load times for results viewing.
  • Corrected typos in action names for AutoIt3 tester plug-in.
  • Fixed layout of script results for if and while statements.

New in Test Script Runner 4.0e (Oct 1, 2010)

  • New Features:
  • Allow use of the keyword Error as a for test result comparison.
  • Add Step to Batch Queue to run next item and stop.
  • Bug Fixes:
  • Trace log files now get copied along with the test results.
  • Prevent case sensitivity when entering system/user persistent variables.

New in Test Script Runner 4.0c (Oct 1, 2010)

  • New Features:
  • Allow arithmetic expression in a sleep statement e.g. sleep(X *2).
  • Bug Fixes:
  • Minor parsing fix for sscanf statement

New in Test Script Runner 4.0b (Oct 1, 2010)

  • New Features:
  • Addition of AutoIt3 Tester Plug-in which interfaces with AutoIt3 COM API to control windows applications. To use this plug-in you will need to install AutoIt3 from http://www.autoitscript.com/autoit3/downloads.shtml.
  • Addition of script name and line number to trace in order to help in debugging run time script errors.

New in Test Script Runner 4.0a (Oct 1, 2010)

  • New Features:
  • Allow notes to be added to PC Name in License Check program.
  • Allow for zero length arrays.
  • Bug Fixes:
  • Fixed crash on loading script containing syntax errors.
  • Fixed loading of multiple scripts at the same time.

New in Test Script Runner 4.0 (Oct 1, 2010)

  • New Features:
  • Allow entry of version of unit under test and include this in the results file. This is entered via the execution menu.
  • Allow batch results file to be loaded to enable post run comments to be added to results file without need to hand edit XML file.
  • Allow white space between identifier and array index.
  • Changed to use : after a function call rather than – when wising to avoid logging of results to as this is the same operator used in actions e.g. a = X():.
  • Allow actions to be called on actions that return a tester such as x.y().z().
  • Many places where arrays etc were not allowed are now allowed.
  • Set script state to error if any load error occurs.
  • Set script as failed in batch queue at load time if script state is error.
  • Added save as option to script. This allows the fully loaded formatted script to be saved. Please note all include files are discarded and a standalone script saved.
  • Added file types .tsp (Test Script Runner Script Proxy) and .tst (Test Script Runner Terminal) to installer to allow double click load from explorer.
  • Addition of Find via CTRL-F for scripts.
  • Addition of the File Tester Plug-in to provide file/directory utilities.
  • The License Check utility now saves all keys you have entered for easy access and provides a save text option.
  • In Set/Clear Variables dialog added option to save changes when Save and Exit is pressed without pressing Add.
  • Added option to view/hide script comments.
  • String concatenation is now supported e.g. “Hello” “ “ “World” equates to “Hello World”. This allows strings to be split over multiple lines within the script.
  • Bug Fixes:
  • Fixed crash in Serial Tester Plug-in regarding the reception of % chars.
  • General speed improvements.
  • Fixed memory leak in batch queue script loading.
  • If a Script Proxy fails to open its serial port it no longer crashes setting encryption.
  • Remove non-printable characters from results comments.

New in Test Script Runner 3.1i (Jun 17, 2010)

  • Bug Fixes:
  • Fixed crash on failure to create a valid tester object.

New in Test Script Runner 3.1h (Jun 15, 2010)

  • New Features:
  • Serial Tester Plugin V3.0 now accepts \0 and \x break character sequence to allow control codes to be sent.
  • sprintf now accepts \0 and \x break character sequence to allow control codes to be added to a string.
  • Add a - in front of a function call to prevent logging of pass results. Use this to prevent utility functions from cluttering up the results file.
  • Bug Fixes:
  • If a non-printable character is sent/received on a serial connection the end of the character string is not truncated in the log.

New in Test Script Runner 3.1g (Jun 14, 2010)

  • New Features:
  • New script parse allows more complex script commands such as the use of maths within a parameter list. This change makes future script enhancements easier to implement.
  • Tester actions can return ITester objects and document the internal objects via the ITester3 interface.
  • Bug Fixes:
  • The main window will resize if the screen resolution is lower than expected.
  • The system/user variable entry dialog has been modified to fit on a smaller screen.
  • The auto scroll feature of the script view does not scroll the horizontal scroll bar just the vertical to make it easier to view where in the script you are.
  • The use of forward slashes in move and copy logfile commands work.

New in Test Script Runner 3.1f (May 27, 2010)

  • New Features:
  • In auto scroll mode the script shows the caller of a function rather than the internals of the function in order to allow easier knowledge of where in the script is executing.
  • Bug Fixes:
  • GUI no longer crashes after long test runs.

New in Test Script Runner 3.1e (May 27, 2010)

  • Bug Fixes:
  • local tester variables no longer cause a crash.
  • 5 second wait on unloading tester has been removed resulting in less retry messages from windows and faster access to menu features.
  • Serial plug-in V2.3 no longer locks system when close is called.

New in Test Script Runner 3.1d (May 13, 2010)

  • New Features:
  • Added local variables. Simply add the keyword local before a variable assignment and it will only exist within the current script context.
  • Bug Fixes:
  • Activating and releasing a license while having a batch queue or script loaded no longer results in an invalid license.

New in Test Script Runner 3.1c (Apr 2, 2010)

  • New Features:
  • Added number of passed, total number of scripts run and % pass rate to top of batch queue results.
  • Improved reporting of script load errors giving filename and line number of error location.
  • Added built-in function saveuservar which allows the script to store variables in the user variables persistent store. The function can take an array of variable names and will store them all.
  • Bug Fixes:
  • Fixed LicenseCheck.exe to correctly display user name and email address with applicable PC.
  • Fixed leak of windows thread handles in TCP, UDP and RS-232 serial communication software.
  • Fixed crash in GUI script view.

New in Test Script Runner 3.1b (Mar 2, 2010)

  • Addition of user name and email address to license activation data.
  • Addition of LicenseCheck program to check where licenses are installed. This will include the user name and email address if the license was activated with V3.1b installed.

New in Test Script Runner 3.0b (Dec 3, 2009)

  • New Features:
  • Addition of Internet tester plug-in to perform web server requests.
  • Addition of constructor documentation for all plug-in tester modules
  • Addition of RecurseDeleteKey action to Registry tester plug-in
  • Output of statistics from checkLoss action of RTSP Tester plug-in
  • Addition of Selenium Tester plug-in to automate web site validation
  • Addition of encryption on serial lines to protect systems when using a proxy tester
  • Addition of user comments to batch queue results. Use lower batch queue window to add a comment.
  • Addition of return statement for functions format return [,[...]]
  • Allow read only view of script when license is not valid.
  • Addition of optional encryption key to Proxy Tester plug-in.
  • Addition of optional encryption key to Serial Proxy.
  • Addition of WaitForEnabledWindow,GetTabCount,GetCurrentlySelectedTab,SelectTab and CaptureScreenShot actions to the WindowsTester plug-in.
  • Bug Fixes:
  • Fixed logData action of serial tester
  • If an action returns values these are added to the results even if not assigned to a var.
  • Fixed use of movelogfile and copy log file for network shared drives.
  • Changed AddTesters dialog so all tester versions can be viewed.
  • Use send with timeout in press action of Windows Tester plug-in.

New in Test Script Runner 3.0a (Nov 12, 2009)

  • New Features:
  • Addition of Internet Tester pluging to perform web requests
  • View results of script or batch queue from the View menu
  • Addition of new built in variables for randome number generation (randomratio,randommax and random)
  • Added arithmetic operators to boolean statements
  • Improved error message from sscanf to indicate where error occured
  • Windows Tester updated to V3.3b see Tester Documentation for new actions which include List Box manipulation.
  • Bug Fixes:
  • UDP transmit on same port as receive works
  • Batch Queue autoReset only occurs if retryCount is 0
  • BatchQueueItem.cpp now compiles on MS Visual Studio C++ 6.0
  • Stop on Error will not pause in an ignore result section
  • Use of colon operator when in assignment statement corrected
  • Use of AUTORUN corrected

New in Test Script Runner 3.0 (Sep 28, 2009)

  • New Features:
  • Addition of ScriptProxy tester to the SerialTesterPlugin along with a new ScriptProxy to allow
  • control of a remote PC via a serial link. A ScriptProxy document is created on the remote PC using any of the
  • serial comunication types (TCP, UDP or RS-232) and a Proxy Tester is created on the PC running the script
  • using the same serial comunications type. Script commands are sent to the remote PC via the Proxy Tester execute
  • action and the result recorded. Variables can be read from the remote PC via the variableValue action.
  • Batch Queues can be reordered via drag and drop.
  • Addition of BatchQueue option to automatically reset an item before running. In the case of a script this
  • means each time it is run in continuous mode the results only include the current iteration not all iterations.
  • Addition of BatchQueue option to retry failed scripts N times.
  • Addition of aborted method to BatchQueueItem class
  • Addition of script overall result to email subject to allow failed scripts to be seen without opening the email.
  • Windows Tester Plugin V3.2 adds waitForChild and waitAndActivateMDIChild actions. The
  • waitAndActivateMDIChild allows the correct document within an MDI application to be
  • selected prior to reading/writing to it.
  • Calling an action using : instead of . causes results for passed actions to not be logged. This can be used
  • to reduce the size of the results file for actions that have no significance to the script result. Please note
  • actions that do not pass are always logged.
  • Batch Queue plug-in items now show trace output and can provide result files.
  • Testers now log their version numbers to the log file.
  • Batch queues create thier results file on pressing run.
  • Bug Fixes:
  • Serial TCP connection is correctly terminated if socket is closed on remote end.
  • System variables are parsed correctly for multi-dimensional arrays.
  • Batch Queue items are loaded at load time to ensure all log entries are recorded.
  • System variables with uppercase characters are correctly read preventing multiple
  • variables having the same names.
  • The online/offline status of TCP links is correctly reported.

New in Test Script Runner 2.4i (Aug 7, 2009)

  • Tester objects are deleted when a script ends to release resources
  • Array indexing parsing has been improved
  • BatchQueue now checks for valid license
  • If a script contains an error the error is shown at script load

New in Test Script Runner 2.4h (Jul 19, 2009)

  • The licensing software has been upgraded to enable software activation keys and trial license key requests.
  • Addition of stop after current item in batch queue.
  • Moved loading of batch queues into a thread to avoid retry message.
  • Fixed crash due to incorrect use of _vsnprintf_s.
  • Added script record file, extension tsrrec, to allow playback of script to aid in debugging crashes.
  • Added Test Script Runner version to results file.
  • Stopped updating script and variable views when view is hidden to prevent excessive CPU usage.
  • Only update variable view once per second to avoid excessive CPU usage.
  • Added proxy server dialog.
  • Reduced handle leak by calling CloseHandle when creating threads.
  • WindowsTester plugin V3.0. Use SendMessageTimeout instead of SendMessage in case of no response leading to infinite time in action hanging script.

New in Test Script Runner 2.4g (Jun 5, 2009)

  • Email does not include results summary if script does not contain any result commands
  • The Script view window now contains the log details and the separate window has been removed
  • When a script is run from a batch queue its window location is fixed
  • Removing items from a batch queue removes all selected items first time.
  • The variable view does not keep getting cleared making it easier to view.
  • Windows tester V2.7 adds action checkWindowDoesNotExist and change count to action waitForChange

New in Test Script Runner 2.4f (Jun 1, 2009)

  • Serial Plugin updated to V2.2. This version adds support for UDP data and new actions startLoggingToFile and stopLoggingToFile.
  • Fixed BatchQueueItem.cpp for compilation via VC++ 6.0.
  • Link to log file added to results XML and XSL.
  • Fix for use of bool type in scripts.
  • Enabled stop on error for Batch Queues.

New in Test Script Runner 2.4e (May 21, 2009)

  • Added results xml file for batch queue runs.
  • Added built in variables to provide date and time values. Variable names are:-
  • year 4 digit year
  • month 1 - 12
  • shortmonth "Jan" - "Dec"
  • longmonth "January" - "December"
  • day 1 - 31
  • hour 0 - 23
  • minute 0 - 59
  • second 0 - 59
  • Each of these can be preceded by load (to obtain the script load time), current (to get the current time) and run (to obtain the script run time). If the value is not preceded by anything then you get the current time.
  • Added movelogfile(string) and copylogfile(string) functions. These allow log files to be added to the results directory.
  • CSV results file format has been removed as the XML format contains all data and can be loaded into Excel 2007.
  • Added width and precision to format specification for sprintf etc. Also allow integer to be used with %g.
  • Added values to results dialog, changed it into a floating window and allow multiple results windows to be displayed.
  • Stopped flicker on variable view
  • Do not scroll to current item in script view unless current item remains the same for a short period to prevent jitter.
  • Windows tester V2.6 adds waitForChange action.

New in Test Script Runner 2.4d (May 5, 2009)

  • Fixed crash in sprintf if variable parameter does not exist

New in Test Script Runner 2.4c (Mar 13, 2009)

  • Added the ability to add text label to assert statement e.g. assert(x == 0,"Test 1")

New in Test Script Runner 2.2 (Jan 24, 2009)

  • Fixed GUI crash when Batch Queue is running for a long period.
  • RTSP Tester V2.1a detects a missing mount point and declares a failure.
  • Added default keyword to script language to define script defaults should a system variable not be defined e.g. default x = 10 to assign 10 to x if x is not found.
  • Parsing of system variables no longer uses a temporary file speeding up the script.
  • Improved script handling of arithmetic on variables

New in Test Script Runner 2.1b (Jan 16, 2009)

  • XSL style sheet updated to ensure Values heading is displayed even if some iterations do not have values due to error

New in Test Script Runner 2.1 (Jan 14, 2009)

  • SScanf command added to the script language to allow extraction of data from read strings.
  • scriptdirectory variable added to the script language to provide the script directory to the script.
  • All values returned from actions are included in the XML file.
  • XSL style sheet displays values for the actions if available.
  • XSD data description includes the values from actions.
  • WindowsTester V2.2 adds boxcheck and boxuncheck actions for check box manipulation.
  • RTSPTester V2.1 adds statistics action

New in Test Script Runner 1.3 (Mar 15, 2008)

  • All plug-in testers run in the context of the PlugInRunner.exe process in order to prevent crashes in plug-in modules from crashing the Test Script Runner core.
  • The serial terminal works on Windows 2000.
  • The test iteration count is included in the results XML file.
  • Pressing F1 for help should find the correct context sensitive help.
  • The Tester Documentation is a none-modal dialog.
  • Version numbers can be added to Plug-in Tester modules � follow help for details.

New in Test Script Runner 1.2a (Feb 1, 2008)

  • The serial plugin is now at V1.6 which adds format types %x (lowercase hex), %X (uppercase hex) and %o (signed octal) to the send command along with width and precision qualifiers to send format. Also Added * qualifier and use of ^ with [] in scanf action.
  • Fixed the timout when closing a script.
  • Added blank line removal to the serial terminal.