Create New Project Wizard - Project Scripting Language Page

Applies to TestComplete 12.60, last modified on September 17, 2018

When creating a test project, you need to select a scripting language for the project. You can choose from the following languages:

  • JavaScript
  • Python
  • VBScript
  • DelphiScript
  • JScript (legacy)
Note: By default, the wizard shows only two languages. To view the complete list, click More languages.

A project’s language cannot be changed later, so choose wisely. (But JScript projects can be converted to JavaScript).

Which language should I choose?

Choose the language you like or have the most experience with. If you are not sure, choose JavaScript or Python - they are popular modern languages with lots of information available on the Internet.

For some tips and language usage specifics, see:

Selecting the Scripting Language

Supported Scripting Languages - Specifics of Usage

I am testing a Delphi (Java, Visual Basic) application, should I use DelphiScript (JavaScript, VBScript)?

No. The development language of your tested application does not limit your choice of the scripting language. You can use Python to test Delphi applications, or JavaScript to test C# applications.

Will I have to write tests in code? What about keyword tests?

You can create tests as keyword tests, scripts, or a combination of both - whatever suits your needs best. You can use keyword tests alone if you wish. The language you select will be used for scripted tests and for code snippets inside keyword tests.

What is the difference between JavaScript and JScript?

JScript is Microsoft’s version of JavaScript that is provided by Windows Script Host. The JScript engine is outdated and does not have the latest features of JavaScript. We recommend that you use JavaScript instead of JScript for new projects. Existing JScript projects can be converted to JavaScript.

Other languages

TestComplete also supports C#Script and C++Script, which are not listed in the Project Wizard. These are legacy languages used to create test code that can be imported into Connected and Self-Testing applications.

To create a project that uses legacy C#Script or C++Script, use the TestComplete menu command File | New | New Project.

Note: Despite the name, C#Script and C++Script are not the same as C# and C++, they are based on legacy JScript. If you want to write tests in C#, use TestLeft. In TestComplete, the scripting language closest to C# and C++ in terms of syntax is JavaScript.

See Also

Create New Project Wizard
Selecting the Scripting Language
Supported Scripting Languages - Specifics of Usage
Writing Scripts - Overview
Creating Projects and Project Suites

Highlight search results