Your comments

Added Unit tests & Coded UI Tests for Sorting Recordsets + Recordset fields

Added Unit Test (Sort_ScalarCollection) and Coded Ui test (Sort_Variable_List_Aphalbetivally)

Steps performed testing the Escape Charecters Functionality
Using JavaScript

  1. Test1
    Assign [[Value1]] = "C:\test" (including the quotation marks)
    On the Script tool's Escape sequence in variables the CheckBox is ticked
    On the Script tool's _Script Syntax _ I typed return "the path is : " + [[Value1]]
    Execution result is "the path is : C:\test"
  1. Test2
    Untick Escape sequence in variables
    Execution result is "the path is : C: est"
  1. Test3
    Change the script content to include more escape sequences
    Tick Escape sequence in variables
    I typed return "the path is \n " + [[Value1]]
    Execution result is "the path is
    C:\test"
  1. Test4
    Change the script content to include more escape sequences
    UnTick Escape sequence in variables
    I typed return "the path is \n " + [[Value1]]
    Execution result is "the path is
    C: est"

Please check the attached (Scritps used to test the Include functionality)
rubySource.rb pythonFile.py endsWith.js startsWith.js

Steps performed:
Using JavaScript

  1. Test1
  • On the Script tool's _Script Syntax _ I typed return "testString".endsWith("g");
  • Execution results to an Error
  • I clicked include file and included (endsWith.js)
  • Execution result returns "True"

You can also attach multiple scripts
Repeat #Test1
now, type: return "testString".startWith("t");

  • Execution results to an Error
  • I clicked include file and included (startWith.js)
  • Execution result returns "True"
    --------------------------------------------------------------------------------------------

Same procedure applied when testing the rest of the script types (The other script types I used Numbers to test a GreaterThan function)