cancel
Showing results for 
Search instead for 
Did you mean: 

Does better debugging make JScript a better choice of scripting language than JavaScript?

SOLVED
Occasional Contributor

Does better debugging make JScript a better choice of scripting language than JavaScript?

I'm fairly new to TestComplete, and have been creating a number of test scripts using JavaScript (which seems to be the default language when creating a project).  I am finding it a bit annoying at times that the debugging it a bit limited for JavaScript:  e.g.breakpoints can be set and work fine, but I can't do anything as simple as 'Set Next Statement'.  Is there anyway of getting the debugging to be a bit more flexible, or would it  be worth maybe switching to JScript as the scripting language? 

2 REPLIES
Community Hero

Re: Does better debugging make JScript a better choice of scripting language than JavaScript?

Honestly, I wouldn't switch to JScript.  While I would love to see "Set Next Statement" and other such things work in JavaScript, the tradeoff is worth it. Classes, default parameter values, and so many other things make using JavaScript so much better.

 

IIRC, there's some product roadmap/feature requests to improve the debugging in JavaScript so it will come some day.  Personally, I'd stick with JavaScript as JScript is no longer being developed/enhanced by Microsoft while JavaScript is still being used and improved on heavily.


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.


I’ll be talking about “Hidden Treasures – TestComplete Script Extensions” at #SBConnect in October! Who’s joining me? Click here for tickets
Extensions available
Highlighted
Contributor

Re: Does better debugging make JScript a better choice of scripting language than JavaScript?

I did the opposite and went from Jscript to JavaScript.

 

The V8 engine behind Javascript is cutting edge. It's probably the best engine in TestComplete imo.

 

Not to mention it supports es6. 

Watch a Video Interview
Top Kudoed Authors
Are You In?

Meet the Community Leaders!

SmartBear Connect is an excellent opportunity for training, in-person support, and networking.

GET YOUR TICKET WITH $100 OFF