Forum Discussion
To see what programming language was selected for the Project Suite when it was created,
* Right Click on the Project Suite name in the Project Workspace
* Select Source Control and then Configure
* Select General and then Project. The default language for the Project Suite is listed under Default Language
dmiscannon wrote:
To see what programming language was selected for the Project Suite when it was created,
* Right Click on the Project Suite name in the Project Workspace
* Select Source Control and then Configure
* Select General and then Project. The default language for the Project Suite is listed under Default Language
That will give the default language for creating new projects... but it does not guarentee that the project you are working in is that language. I could set my default language to JavaScript (which I have) but still can create projects in JScript or VBScript (which I have).
- dmiscannon8 years agoFrequent Contributor
I think the original question was how do you determine what programming language was selected for old tests. What I posted was a method that can be used to try to determine that. As you state, since the default language can be changed, it does not guarantee that is the language for the project you are working in. But if the test is old and you want an indication of what language might have been used, it at least can possible assist you in making that determination.
- heidi_n8 years agoRegular Contributor
Yes, that was my original question.
- tristaanogre8 years agoEsteemed Contributor
While that setting that dmiscannon mentions will show you what you currently have configured as your default script language, this will not reflect any history as to what might have been selected in the past. It's a configuration option for the TestComplete installation and is not stored in any project file or included in any source file. So, as mentioned, you could have your default right now set to JavaScript... but in your past, you might have your default set to Delphi... or VBScript... but there's no way of correlating what your keyword test was originally created under with the setting as it is configured now.
However, that is rather moot since, so long as you are not using code expressions or code snippets in your keyword tests, they are portable to any project regardless of how they were originally created.
Related Content
- 4 months ago
- 4 years ago
Recent Discussions
- 12 hours ago