Forum Discussion
Definately slower. I sent in a report to SmartBear about this on 9/15/2016. Still no improvements in the latest version 12. Here is an excerpt of results from the report.
AVG time to iterate through 16 XML elements: Jscript 18.6ms, JavaScript 71.6ms, Python 77.9ms
AVG time to make 16 log messages: Jscript 48.4ms, JavaScript 354.2ms, Python 76.5ms
AVG time per log: Jscript 3ms, JavaScript 22.1ms, Python 4.8ms
AVG time to read the XML file into an object: Jscript ~8ms, JavaScript 28ms, Python 43.8ms
I also noticed issues with using TestComplete UserForms with javascript. In addition, Sys.OleObject used to create a DOM object seems to have a lower limit of the number of child elements that can be read as compared to using ActiveXObject with jscript.
We would like to use javascript as it follows a newer ECMAscript standard but will need to stay with jscript until SmartBear makes some improvements in using javascript.
Related Content
Recent Discussions
- 4 hours agoSubhraDas