cancel
Showing results for 
Search instead for 
Did you mean: 

Migration of testcomplete scripting language from java Script to C sharp .

Community Hero

Re: Migration of testcomplete scripting language from java Script to C sharp .

Just an FYI... I typed in Log. and selected from the completion window... when it returned, it had it formatted for C#


Robert Martin
[Community Expert Group]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Extensions available
Super Contributor

Re: Migration of testcomplete scripting language from java Script to C sharp .

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 

Community Hero

Re: Migration of testcomplete scripting language from java Script to C sharp .

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.

 

 


Robert Martin
[Community Expert Group]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Extensions available
Super Contributor

Re: Migration of testcomplete scripting language from java Script to C sharp .

@tristaanogre 

Oh great... That happens on my side as well. 

Community Hero

Re: Migration of testcomplete scripting language from java Script to C sharp .

Is your project actually a C#Script project?  It sounds like you're still running a JavaScript project.

 

Csharpproject.png


Robert Martin
[Community Expert Group]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Extensions available
Super Contributor

Re: Migration of testcomplete scripting language from java Script to C sharp .

yes it is . While creating new project I select the Language C#Script .

Super Contributor

Re: Migration of testcomplete scripting language from java Script to C sharp .

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

Highlighted
Community Hero

Re: Migration of testcomplete scripting language from java Script to C sharp .

 

 

 

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.

Community Hero

Re: Migration of testcomplete scripting language from java Script to C sharp .


@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.


Robert Martin
[Community Expert Group]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Extensions available
New Here?
Join us and watch the welcome video:
Watch the new Interview