Forum Discussion
With regards to keyword tests, only if you are using Code Expressions in parameters or if you have Code Snippets in your keyword test does the original language make a difference. Within the keyword test, for an operation that contains a code expression parameter or for a code snippet, there is a segment of the XML that looks like this:
LangId="{9E432E59-33EF-4EAA-95C6-63FC35AF69EE}
This is the indicator of what language the code is used for. It's not clear, just from this, what language this is. So... while you can tell that there is a language originally used for these, I'm not certain how easy it is to determine the specifics of the language.
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
- tristaanogre8 years agoEsteemed Contributor
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.
Related Content
- 4 months ago
- 5 years ago
Recent Discussions
- 4 hours ago