Forum Discussion

mgroen2's avatar
mgroen2
Super Contributor
9 years ago

How can I see which script language is used?

In TestComplete, how can I see which scripting language(s) is/are used in the scripts? I am not a developer. And I want to know which scripting language is used in the scripts. I can't find it on the project's property screens.

 

Mathijs

  • Hi Mathijs,

     

    You can see a project's language as follows:

    • Go to View > Select Panel and add the Properties panel.
    • Select the project in the Project Explorer – you will see its language in Properties.

     

    You can also record an empty script and see what the recorded code looks like.

     

    VBScript:

    Sub Test1
    End Sub

    JScript, C++Script or C#Script:

    function Test()
    {
    }

    Python:

    def Test1():
      pass

    DelphiScript:

    procedure Test1;
    begin
    end;

     

  • HKosova's avatar
    HKosova
    SmartBear Alumni (Retired)

    Hi Mathijs,

     

    You can see a project's language as follows:

    • Go to View > Select Panel and add the Properties panel.
    • Select the project in the Project Explorer – you will see its language in Properties.

     

    You can also record an empty script and see what the recorded code looks like.

     

    VBScript:

    Sub Test1
    End Sub

    JScript, C++Script or C#Script:

    function Test()
    {
    }

    Python:

    def Test1():
      pass

    DelphiScript:

    procedure Test1;
    begin
    end;

     

    • mgroen2's avatar
      mgroen2
      Super Contributor

      Since the project explorer properties are hidden by default, I wonder if the script language setting could be transferred to the Properties window as displayed here:

       

      • HKosova's avatar
        HKosova
        SmartBear Alumni (Retired)

        From a design standpoint, I'm not sure the language belongs there. The project properties are configuration parameters that you can change, but the scripting language cannot be changed in existing projects.