Does ayone know whether HP are planning to move away from Windows Script?
For the last few months I have been using Python and it very powerful compared to VBScript, WScript, WSH, WMI. I have yet to come across something I can do in Windows script that I cannot in Python and I'm pretty much a newbie to Python.
You can even create an IE instance and drive it using its internal methods.
No I'm talking about Python. It's a very powerful scripting language as far as I can see (along with Perl according to a colleague). Replacing Windows script as QTPs supported scripting language would open up a whole new capability.
I started using it as my log files were too big to process with Excel 2007. My Excel macro took 9 minutes to process a 1 million line log file. I wrote something similar in Python and it processed a 19 million line log file in 2 minutes (I ran it against the same file on a Linux server and it took 18 seconds but that's for another 'discussion'
Once I had picked up the basics I realised how powerful it was compared to VBScript or WScript (I remember a quote from long ago made by Corey G where he said VBScript wasn't a real scripting language, I'm starting to realise what he meant)
I have even played with it to drive IE (launch a Browser, click a button etc.)
Rather than Python and Perl, if HP is moving to support RUBY then its awesome. Really RUBY is powerful language though I am a newbie to ruby. But I have seen features like
-- Returning multiple values from a function
-- Assigning multiple values in same line i.e.Parallel assignments
-- Extra arguments.Really better idea.(VBScript don't have even optional arguments)
-- Normal speaking like scripting, etc