DelphiScript has the following specifics:
In TestComplete script units can refer to each other, so you can call routines and variables defined in one unit from another unit. DelphiScript supports circular references between units.
In Object Pascal, the body of a function or a procedure can contain declarations of other functions and procedures, for example:
Nested routine declarations are not allowed in DelphiScript scripts that are run from TestComplete.
ExceptionMessagefunction cannot be evaluated in the TestComplete Watch List panel and Evaluate dialog.
If you have recursive code in the
tryblock, after TestComplete exits the recursive loop, it will run the code in the
exceptblock regardless of whether any errors have occurred in the
tryblock or not.
Specifics of Usage Common for All Languages
About Script Tests
Selecting the Scripting Language