Ask a Question

Syntax check shall discover undeclared variables

Syntax check shall discover undeclared variables

In VBS, with Option Explicit a runtime error is thrown if the interpreter executes a statement containing an undeclared variable.

The shortfall is: this is done at runtime, at execution time. It can take TC very long to get there, just to stop with a runtime error.


TC shall check VBS modules for undeclared/misspelled variable names and inhibit the test run, as it does for syntax errors.

I'm aware that it will probably not be possible to catch all of the typos like this, misspelled members of classes may be impossible to find. But: finding undeclared variables would help.

Welcome to the TestComplete Feature Requests board!

Here you can review submitted feature requests and vote up the ones you like! If you can't find the feature you want - go ahead and suggest your own idea. Ideas with the highest rating can be implemented in the product.

Check out the Create a Feature Request guide for more information.
New Here?
Join us and watch the welcome video: