Forum Discussion
Hi,
I am absolutely with Robert.
C#Script is actually, JScript language decorized so it can be processed by C# compiler. This was done many years ago in order to be able to create self-tested applications. Self-tested applications are now deprecated in TestComplete in favor of TestLeft. So absolutely no real benefit and unusual syntax. In fact, source code written in JScript, C#Script and C++Script can be used inerchangeably in TestComplete.
You may read comparison between JScript and JavaScript in TestComplete documentation to get an idea of their differences.
One more time - C#Script has absolutely nothing in common with C#.
P.S.
"Totally team decision" - popular reason of nowadays that sounds absolutely strange to me... Why the team should make a decision that is irrelevant for Development and matters to test automation only? Is the whole team ready to take the whole responsibility for the wrong decision? Shouldn't it be the decision of the relevant person who is then responsible for its implementation and takes the whole responsibility for this his/her decision?
Thank you for the updates
Can we use this thread to see what limitations TestComplete will have in Csharp as compared to Javascript? I am already seeing it .
- AlexKaras5 years agoChampion Level 3
> what limitations TestComplete will have in Csharp as compared to Javascript?
Primarily I meant this help topic: https://support.smartbear.com/testcomplete/docs/scripting/specifics/javascript-for-jscript-users.html
Also https://support.smartbear.com/testcomplete/docs/scripting/specifics/javascript.html and https://support.smartbear.com/testcomplete/docs/scripting/specifics/jscript.html ones. (Note, that the latter has JScript, C#Script and C++Script in the title.)
- nisgupta5 years agoValued Contributor
here is one major drawback
- No code completion is there in TestCome IDE.
For e.g. in JavaScript when we type Log. after we get the drop down showing lot of properties or methods but in case of C sharp When we type Log[" Nothing appears
- tristaanogre5 years agoEsteemed Contributor
nisgupta wrote:
here is one major drawback
- No code completion is there in TestCome IDE.
For e.g. in JavaScript when we type Log. after we get the drop down showing lot of properties or methods but in case of C sharp When we type Log[" Nothing appears
As noted in the articles, C#Script is just JScript wearing different clothes. So, you technically can still type Log. and get the methods from there.
Related Content
Recent Discussions
- 5 hours agoSvetaG