Forum Discussion
C# may be a .NET language... but that makes no impact on the automation. These are "scripting" languages, not full application level languages so there is no technological reason to move to C# except personal preference.
As noted at https://support.smartbear.com/testcomplete/docs/reference/language/csscript.html, C#Script is basically just JScript with C# syntax. There's nothing really different in it.
My personal opinion: A lot of trouble to convert to C# script with no actual benefit.
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?
- nisgupta5 years agoValued Contributor
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.)