I Run Error!
I run this code in QTP:
Set WshShell = WScript.CreateObject("WScript.Shell")
Set WshSysEnv = WshShell.Environment("SYSTEM")
but after run then Error messager "Object required 'WScript'".
Can you help me.
Re: I Run Error!
If you see there is no other place where WScript is present...now how can you suddenly use WScript, it needs to be set to a object somewhere...