Ask a Question

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

SOLVED
DanH
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 2
tristaanogre
Esteemed Contributor

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
[Hall of Fame]
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
Vegas Thrill Rider
Extensions available
KSQian
Contributor

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. 

cancel
Showing results for 
Search instead for 
Did you mean: