What is the most valuable scripting language, VBScript or JScript?
+2
A:
The answer depends on
- Target platform
- Language features
- Personal preference/existing knowledge
Check out what MSDN says about differences to see when to use which of the two:
0xA3
2010-08-04 17:23:40
That article is from 1998!
Jeff V
2010-08-04 17:27:22
Thanks. Thousands of installed windows platforms ranging from windows NT to windows server 2008.
João
2010-08-05 15:18:55
many do not touch is working cases... but then new automation is an objective...
João
2010-08-05 15:19:18
+1
A:
I use VBScript for working with QTP (QuickTestPro). For extra 'meat', I can call C# dlls from within VBScript, so I don't really have any limitations (from QTP test automation perspective). In my circles, I don't hear much about JScript.
Edward Leno
2010-08-04 17:27:51
Error handling in QTP with vbscript is a bit ugly. Unfortunately I am stuck with vbscript when working with QTP. This was part of my motivation to move a lot of the processing to a c# dll. I am now curious about JScript, so I will be taking a look ... thanks!
Edward Leno
2010-08-05 15:52:17