Can we execute Shell scripts ?
When i execute the below lines of code, inside QTP, it gives 'Object Required WScript'. To my knowledge 'WScript' need not be initialized as it is already available to scripting language.
Then why is that i'm getting the error, is there any workaround
Set WshShell = WScript.CreateObject("WScript.Shell")
strDesktop = WshShell.SpecialFolders("Desktop")
Re: Can we execute Shell scripts ?
sorry ! i resolved the prob...
Set WshShell = CreateObject("WScript.Shell")