JavaScript Reference

Applies to TestComplete 14.80, last modified on April 15, 2021

For a complete JavaScript reference, please visit Mozilla Developers Network:

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference

Besides standard JavaScript functions, TestComplete provides several additional functions to overcome limitations of the JavaScript engine:

Method/Function Description
$call Calls the specified method of an object.
$get Gets the value of the specified property of an object.
$set Assigns a new value to the specified property of an object.
equal Performs an equality comparison (==).
strictEqual Performs a strict equality comparison (===).
getActiveXObject References an OLE object.

Related Topics of Interest

JavaScript - Specifics of Usage

JavaScript - Working With Date Values

JavaScript - Working With Time Values

JavaScript - Working With Numeric Values

JavaScript - Working With Strings

See Also

Language Reference
Script Tests
Script Tests
Handling Exceptions in Scripts

Highlight search results