Forum Discussion
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
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.
- tristaanogre5 years agoEsteemed Contributor
Just an FYI... I typed in Log. and selected from the completion window... when it returned, it had it formatted for C#
- Marsha_R5 years agoChampion Level 3
https://support.smartbear.com/testcomplete/docs/scripting/selecting-the-scripting-language.html
Will my project be limited in functionality if I select this or that language?
No, it will not. The vast majority of TestComplete features is equally oriented on each of the supported languages. So, you can choose the language that is closer to your developer skills.
Note however that the syntax of C#Script and C++Script differs from that of C# and C++. So, selecting these scripting languages makes sense only if you plan to create a Connected or Self-Testing C++ or C# application. If you want to select C#Script or C++Script only due to that the C# or C++ syntax is closer to your skills, we recommend that you rather use JavaScript as its syntax is more similar to C# and C++ than the C#Script and C++Script syntax is.
- nisgupta5 years agoValued Contributor
Seem like I have to first type Log. and select the method from completion window. After that Remove the . after Log and put square brackets around the messgae .. This is how we have to do .
I am not sure how it had got it formatted in C sharp
- tristaanogre5 years agoEsteemed Contributor
I didn't have to do anything other than Log., select method... all the formatting happens automagically... the dot is removed and it's all pretty now.
- nisgupta5 years agoValued Contributor
Oh great... That happens on my side as well.
- tristaanogre5 years agoEsteemed Contributor
Is your project actually a C#Script project? It sounds like you're still running a JavaScript project.
- nisgupta5 years agoValued Contributor
yes it is . While creating new project I select the Language C#Script .
- nisgupta5 years agoValued Contributor
While coding in C# Script I realized that the syntax of C# Script is not similar to C# programming language . Which scripting language syntax is very much similar to C# programming lanaguage ?
Thanks
Nishchal
- tristaanogre5 years agoEsteemed Contributor
nisgupta wrote:
While coding in C# Script I realized that the syntax of C# Script is not similar to C# programming language . Which scripting language syntax is very much similar to C# programming lanaguage ?
Thanks
Nishchal
There isn't one, really. As Marsha_R indicated, the only reason for C # Script being provided as a language is for connected or self-testing applications. With those features having been deprecated in TestComplete, C# Script is provided simply for backwards compatibility for users who may already have projects in that language.
Related Content
Recent Discussions
- 2 days agovladd1