Typing “sys.”, “log.” or even “aq” correctly displays the Code Completion popup with items as expected. However for JavaScript classes defined in the same file the Code Completion popup opens briefly and disappears.
This should be working, yes? (see images attached)
TestComplete uses an older version of the JavaScript engine, and doesn’t support modern ES6 class syntax. It’s how TestComplete’s script engine and IntelliSense work!
Originally posted by Hassan_Ballan on August 06, 2025
TestComplete’s JavaScript engine, which is powered by the V8 engine (version 5.8), offers IntelliSense capabilities within its Code Editor.
**Limitations with Custom Objects and External Packages:**While IntelliSense works well for built-in TestComplete objects and standard JavaScript features, it may have limitations with custom-defined objects, classes, or external JavaScript packages, requiring manual reference to documentation or other workarounds.
**Script Extensions:**TestComplete allows for the creation of script extensions, which can be used to provide IntelliSense for custom objects or functionalities, enhancing the coding experience for specific project needs.
AI-assisted response
Found the answer helpful? Give it a Kudos by clicking Like! Got your issue resolved? Click Mark as Solution so others can find it quickly.
Thanks for your reply, it’s greatly appreciated. Perhaps instead you would share with me an example of JavaScript code that DOES work (code completion shows) with the JavaScript engine that comes with TestComplete. Specifically, a class with 2 properties and if possible a function too. You can copy my code and adjust to whatever syntax you know DOES work with the JavaScript engine that comes with TestComplete.
Thanks in advance!
Thank you again for your time.
I thought from your previous post if the code implemented adhered to the version of JavaScript that TestComplete uses that it would work.
Are you saying that it does not work for JavaScript at all?
No problems. I should have been clearer as opposed to giving a technical answer.
The JavaScript engine built into TestComplete cannot be changed by end users. A future version of TestComplete may include an updated JavaScript engine that supports IntelliSense features. However, this largely depends on the capabilities of the code editor being used - such as providing intelligent code completion, quick information, and parameter hints while writing code.